Torque3D Documentation / _generateds / ShadowMapParams

ShadowMapParams

Engine/source/lighting/shadowMap/lightShadowMap.h

More...

Point Lights

Exponential Shadow Map Parameters

Parallel Split Shadow Map

The number of splits in the shadow map.

At what distance do we start fading the shadows out completely.

bool

This toggles only terrain being visible in the last split of a PSSM shadow map.

Public Static Attributes

Public Attributes

Protected Functions

Detailed Description

Shadow Map

U32 texSize 
FileName cookie 

Point Lights

ShadowType shadowType 

Exponential Shadow Map Parameters

Point4F overDarkFactor 

Parallel Split Shadow Map

F32 shadowDistance 
F32 shadowSoftness 
U32 numSplits 

The number of splits in the shadow map.

F32 logWeight 
F32 fadeStartDist 

At what distance do we start fading the shadows out completely.

bool lastSplitTerrainOnly 

This toggles only terrain being visible in the last split of a PSSM shadow map.

Public Static Attributes

LightInfoExType Type 

The LightInfoEx hook type.

Protected Attributes

GFXCubemapHandle mCookieCubeTex 
GFXTexHandle mCookieTex 
LightInfo * mLight 
GFXOcclusionQuery * mQuery 
LightShadowMap * mShadowMap 

Public Attributes

Point3F attenuationRatio 

Public Functions

ShadowMapParams(LightInfo * light)

~ShadowMapParams()

_validate()

getCookieCubeTex()

getCookieTex()

getOcclusionQuery()

getOrCreateShadowMap()

getShadowMap()

getType()

Reimplemented from: LightInfoEx

hasCookieTex()

packUpdate(BitStream * stream)

Reimplemented from: LightInfoEx

set(const LightInfoEx * ex)

Reimplemented from: LightInfoEx

unpackUpdate(BitStream * stream)

Reimplemented from: LightInfoEx

Protected Functions

_initShadowMap()