2022-01-08 17:46:58 +11:00
|
|
|
/*
|
|
|
|
|
* Copyright (c) 2022, Jesse Buhagiar <jooster669@gmail.com>
|
|
|
|
|
*
|
|
|
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include <LibGfx/Vector4.h>
|
|
|
|
|
|
2022-03-27 15:07:53 +02:00
|
|
|
namespace GPU {
|
2022-01-08 17:46:58 +11:00
|
|
|
|
|
|
|
|
struct Material {
|
2022-01-13 02:57:27 +01:00
|
|
|
FloatVector4 ambient { 0.2f, 0.2f, 0.2f, 1.0f };
|
|
|
|
|
FloatVector4 diffuse { 0.8f, 0.8f, 0.8f, 1.0f };
|
|
|
|
|
FloatVector4 specular { 0.0f, 0.0f, 0.0f, 1.0f };
|
|
|
|
|
FloatVector4 emissive { 0.0f, 0.0f, 0.0f, 1.0f };
|
2022-01-08 17:46:58 +11:00
|
|
|
float shininess { 0.0f };
|
|
|
|
|
float ambient_color_index { 0.0f };
|
2022-03-23 11:09:05 +01:00
|
|
|
float diffuse_color_index { 1.0f };
|
|
|
|
|
float specular_color_index { 1.0f };
|
2022-01-08 17:46:58 +11:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
}
|