![]() |
Lysa
0.0
Lysa 3D Engine
|
Light data in GPU memory
Public Attributes | |
| int32 | type {-1} |
| float | range {0.0f} |
| float | cutOff {0.0f} |
| float | outerCutOff {0.0f} |
| float4 | position {0.0f} |
| float4 | direction {0.0f} |
| float4 | color {1.0f, 1.0f, 1.0f, 1.0f} |
| int32 | mapIndex {-1} |
| uint32 | cascadesCount {0} |
| float4 | cascadeSplitDepth {0.0f} |
| float4x4 | lightSpace [6] |
| uint32 cascadesCount {0} |
Number of cascades for CSM directional shadows
| float4 cascadeSplitDepth {0.0f} |
CSM Cascade split depths
| float cutOff {0.0f} |
Inner cut-off angle in radians
| float4 direction {0.0f} |
Light direction
| float4x4 lightSpace[6] |
Light space matrices for shadows
| int32 mapIndex {-1} |
Shadow map index
| float outerCutOff {0.0f} |
Outer cut-off angle in radians
| float4 position {0.0f} |
Light position in world space
| float range {0.0f} |
Light range