|
GREM 3.12.0
Game/Rendering Engine Modules for C++
|
Struct of shader fields representing an on-screen light source. More...
#include <GREM/graphics_3d/Renderer3D.hpp>
Public Attributes | |
| vec4 | lightDirectionAndRange |
| Direction (XYZ) vector and maximum range (W) of the light. | |
| vec4 | lightColorAndIntensity |
| Color (XYZ) and intensity factor (W) of the light. | |
| vec4 | lightPositionAndType |
| Position (XYZ) and type index (W) of the light. | |
| vec4 | lightConeCosinesAndShadowMapIndexAndShadowMatrixIndex |
| Cosine of the inner (X) and outer (Y) cone angles, as well as the shadow map index (Z) and shadow matrix index (W) of the light. | |
| vec4 | lightShadowNearAndFarPlaneDistancesAndShadowMapNormalOffsetBiasConstantAndSlopeFactors |
| Distances to the near (X) and far (Y) planes of the light shadow, as well as the constant (Z) and slope-scaled (W) normal offset bias factors to use when sampling the shadow map of the light. | |
Struct of shader fields representing an on-screen light source.
| vec4 grem::graphics::Renderer3D::ScreenLightFields::lightDirectionAndRange |
Direction (XYZ) vector and maximum range (W) of the light.
| vec4 grem::graphics::Renderer3D::ScreenLightFields::lightColorAndIntensity |
Color (XYZ) and intensity factor (W) of the light.
| vec4 grem::graphics::Renderer3D::ScreenLightFields::lightPositionAndType |
Position (XYZ) and type index (W) of the light.
| vec4 grem::graphics::Renderer3D::ScreenLightFields::lightConeCosinesAndShadowMapIndexAndShadowMatrixIndex |
Cosine of the inner (X) and outer (Y) cone angles, as well as the shadow map index (Z) and shadow matrix index (W) of the light.
| vec4 grem::graphics::Renderer3D::ScreenLightFields::lightShadowNearAndFarPlaneDistancesAndShadowMapNormalOffsetBiasConstantAndSlopeFactors |
Distances to the near (X) and far (Y) planes of the light shadow, as well as the constant (Z) and slope-scaled (W) normal offset bias factors to use when sampling the shadow map of the light.