|
Unravel Engine C++ Reference
|
Struct representing a light. More...
#include <light.h>
Classes | |
| struct | contact_shadow_params |
| Struct representing contact shadow parameters. Screen-space ray-marched shadows that add fine detail at object contact points where shadow maps lack resolution. More... | |
| struct | directional |
| Struct representing directional light specific properties. More... | |
| struct | directional_shadowmap_params |
| struct | point |
| Struct representing point light specific properties. More... | |
| struct | point_shadowmap_params |
| struct | shadowmap_params |
| Struct representing common shadow map parameters. More... | |
| struct | spot |
| Struct representing spot light specific properties. More... | |
| struct | spot_shadowmap_params |
Public Attributes | |
| light_type | type = light_type::directional |
| The type of the light. | |
| spot | spot_data |
| Data specific to spot lights. | |
| point | point_data |
| Data specific to point lights. | |
| directional | directional_data |
| Data specific to directional lights. | |
| math::color | color = math::color(255, 244, 214, 255) |
| The color of the light. | |
| float | intensity = 5.0f |
| The intensity of the light. | |
| bool | casts_shadows {true} |
| Whether the light casts shadows. | |
| struct unravel::light::shadowmap_params | shadow_params |
| struct unravel::light::directional_shadowmap_params | directional_shadow_params |
| struct unravel::light::point_shadowmap_params | point_shadow_params |
| struct unravel::light::spot_shadowmap_params | spot_shadow_params |
| struct unravel::light::contact_shadow_params | contact_shadow |
| bool unravel::light::casts_shadows {true} |
| math::color unravel::light::color = math::color(255, 244, 214, 255) |
| struct unravel::light::contact_shadow_params unravel::light::contact_shadow |
| directional unravel::light::directional_data |
| struct unravel::light::directional_shadowmap_params unravel::light::directional_shadow_params |
| float unravel::light::intensity = 5.0f |
| point unravel::light::point_data |
| struct unravel::light::point_shadowmap_params unravel::light::point_shadow_params |
| struct unravel::light::shadowmap_params unravel::light::shadow_params |
| spot unravel::light::spot_data |
| struct unravel::light::spot_shadowmap_params unravel::light::spot_shadow_params |
| light_type unravel::light::type = light_type::directional |