mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-21 18:19:19 +02:00
minor refactoring, shadows colour influenced by sun/moon positions
This commit is contained in:
@@ -19,9 +19,9 @@ public:
|
||||
|
||||
TDynamicObject const *owner; // the object in world which 'carries' the light
|
||||
int index{ -1 }; // 0: front lights, 1: rear lights
|
||||
Math3D::vector3 position; // position of the light in 3d scene
|
||||
glm::dvec3 position; // position of the light in 3d scene
|
||||
glm::vec3 direction; // direction of the light in 3d scene
|
||||
float3 color{ 255.0f / 255.0f, 241.0f / 255.0f, 224.0f / 255.0f }; // color of the light, default is halogen light
|
||||
glm::vec3 color{ 255.0f / 255.0f, 241.0f / 255.0f, 224.0f / 255.0f }; // color of the light, default is halogen light
|
||||
float intensity{ 0.0f }; // (combined) intensity of the light(s)
|
||||
int count{ 0 }; // number (or pattern) of active light(s)
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user