Euphoria
eu::render::Lights Struct Reference

All lights in a world. More...

Public Attributes

Rgb ambient_color = colors::white
float ambient_strength = 0.029f
float shadow_near = 1.0f
float shadow_offset = 50.0f
float shadow_far = 200.0f
float shadow_size = 70.0f
std::vector< DirectionalLightdirectional_lights
std::vector< PointLightpoint_lights
std::vector< FrustumLightfrustum_lights

Detailed Description

All lights in a world.

Definition at line 176 of file world.h.

Member Data Documentation

◆ ambient_color

Rgb eu::render::Lights::ambient_color = colors::white

Definition at line 178 of file world.h.

◆ ambient_strength

float eu::render::Lights::ambient_strength = 0.029f

Definition at line 179 of file world.h.

◆ directional_lights

std::vector<DirectionalLight> eu::render::Lights::directional_lights

Definition at line 186 of file world.h.

◆ frustum_lights

std::vector<FrustumLight> eu::render::Lights::frustum_lights

Definition at line 188 of file world.h.

◆ point_lights

std::vector<PointLight> eu::render::Lights::point_lights

Definition at line 187 of file world.h.

◆ shadow_far

float eu::render::Lights::shadow_far = 200.0f

Definition at line 183 of file world.h.

◆ shadow_near

float eu::render::Lights::shadow_near = 1.0f

Definition at line 181 of file world.h.

◆ shadow_offset

float eu::render::Lights::shadow_offset = 50.0f

Definition at line 182 of file world.h.

◆ shadow_size

float eu::render::Lights::shadow_size = 70.0f

Definition at line 184 of file world.h.


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