Kohi Game Engine
kdirectional_light_render_data Struct Reference

#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
 

Detailed Description

Directional light data formatted for direct shader use.

Field Documentation

◆ colour

colour4 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: