|
DIE Engine
|
Sun lighting properties. More...
#include <env.h>
Public Attributes | |
| float | hour |
| sun azimuth, in hours (0 .. 24) | |
| float | angle |
| sun tilt, in hours (0 .. 24) | |
| uint32_t | ambientColor |
| packed RGB ambient color | |
| uint32_t | rayColor |
| packed RGB direct ray color | |
| float | ambientStrength |
| ambient intensity (0.0 .. 1.0) | |
| float | rayStrength |
| ray intensity (0.0 .. 1.0) | |
Sun lighting properties.
DIE ENGINE Depth Integration Engine / A modern ray-caster (c) Fred's Lab 2024-2026 Frédéric Meslin / info@.nosp@m.fred.nosp@m.slab..nosp@m.net SPDX-License-Identifier: MIT If used commercially, contributions, donations are highly appreciated.
environment properties
| uint32_t Sun::ambientColor |
packed RGB ambient color
| float Sun::ambientStrength |
ambient intensity (0.0 .. 1.0)
| float Sun::angle |
sun tilt, in hours (0 .. 24)
| float Sun::hour |
sun azimuth, in hours (0 .. 24)
| uint32_t Sun::rayColor |
packed RGB direct ray color
| float Sun::rayStrength |
ray intensity (0.0 .. 1.0)