Rebel Fork Framework
Urho3D::CookedLightParams Struct Reference

Public Member Functions

Vector3 GetColor (bool isLinear) const
 Return light color in appropriate color space.
 

Public Attributes

Matrix4 lightShapeMatrix_
 Matrix for light shape (aka light cookie).
 
ea::array< Matrix4, MAX_CASCADE_SPLITS > lightMatrices_
 
unsigned numLightMatrices_ {}
 
ea::array< float, MAX_LIGHT_SPLITS > shadowNormalBias_
 
ea::array< float, MAX_LIGHT_SPLITS > shadowDepthBiasMultiplier_ {}
 
Texture2DshadowMap_ {}
 
TexturelightRamp_ {}
 
TexturelightShape_ {}
 
Vector3 direction_
 
Vector3 position_
 
float inverseRange_ {}
 
Vector3 effectiveColorInGammaSpace_
 
Vector3 effectiveColorInLinearSpace_
 
float effectiveSpecularIntensity_ {}
 
float spotCutoff_ {}
 
float inverseSpotCutoff_ {}
 
float volumetricRadius_ {}
 
float volumetricLength_ {}
 
Vector4 shadowCubeAdjust_
 
Vector4 shadowDepthFade_
 
Vector4 shadowIntensity_
 
Vector2 shadowMapInvSize_
 
Vector2 shadowCubeUVBias_
 
Vector4 shadowSplitDistances_
 

Member Data Documentation

◆ direction_

Vector3 Urho3D::CookedLightParams::direction_

Common light parameters

◆ lightMatrices_

ea::array<Matrix4, MAX_CASCADE_SPLITS> Urho3D::CookedLightParams::lightMatrices_

Shadow matrices for each split (for directional lights). Light matrix and shadow matrix (for spot lights). Light matrix (for point lights).

◆ shadowCubeAdjust_

Vector4 Urho3D::CookedLightParams::shadowCubeAdjust_

Shadow mapping parameters


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