Kohi Game Engine
directional_light_data Struct Reference

#include <light_system.h>

Data Fields

vec4 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
 

Field Documentation

◆ colour

vec4 colour

The light colour.

◆ direction

vec4 direction

The direction of the light. The w component is ignored.

◆ padding

f32 padding

◆ shadow_distance

f32 shadow_distance

◆ shadow_fade_distance

f32 shadow_fade_distance

◆ shadow_split_mult

f32 shadow_split_mult

The documentation for this struct was generated from the following file: