|
Kohi Game Engine
|
#include <core_render_types.h>
Data Fields | |
| colour4 | colour |
| The light colour. More... | |
| vec4 | direction |
| The direction of the light. The w component is ignored. More... | |
| f32 | shadow_distance |
| f32 | shadow_fade_distance |
| f32 | shadow_split_mult |
| f32 | padding |
Directional light data formatted for direct shader use.
| colour4 colour |
The light colour.
| vec4 direction |
The direction of the light. The w component is ignored.
| f32 padding |
| f32 shadow_distance |
| f32 shadow_fade_distance |
| f32 shadow_split_mult |