blTerrainProxy
Engine/source/lighting/basic/blTerrainSystem.cpp
Classes:
Protected Types
Parent
Protected Attributes
The dimension of the lightmap in pixels.
The dimension of the terrain height map sample array.
Protected Functions
lightVector(LightInfo * )
bool
bool
bool
sgMarkStaticShadow(void * terrainproxy, SceneObject * sceneobject, LightInfo * light)
Public Functions
blTerrainProxy(SceneObject * obj)
addToShadowVolume(ShadowVolumeBSP * shadowVolume, LightInfo * light, S32 level)
getClipPlanes(Vector< PlaneF > & planes)
bool
bool
bool
Detailed Description
Protected Types
typedef ObjectProxy Parent
Protected Attributes
LinearColorF * mLightmap
const U32 mLightMapSize
The dimension of the lightmap in pixels.
BitVector mShadowMask
ShadowVolumeBSP * mShadowVolume
const U32 mTerrainBlockSize
The dimension of the terrain height map sample array.
LinearColorF * sgBakedLightmap
Vector< LightInfo * > sgLights
Protected Functions
_getValue(S32 row, S32 column)
lightVector(LightInfo * )
markObjectShadow(ObjectProxy * )
sgIsCorrectStaticObjectType(SceneObject * obj)
sgMarkStaticShadow(void * terrainproxy, SceneObject * sceneobject, LightInfo * light)
testSquare(const Point3F & , const Point3F & , S32 , F32 , const Vector< PlaneF > & )
Public Functions
blTerrainProxy(SceneObject * obj)
~blTerrainProxy()
addToShadowVolume(ShadowVolumeBSP * shadowVolume, LightInfo * light, S32 level)
Reimplemented from: SceneLighting::ObjectProxy
getClipPlanes(Vector< PlaneF > & planes)
Reimplemented from: SceneLighting::ObjectProxy
getObject()
getPersistInfo(PersistInfo::PersistChunk * )
Reimplemented from: SceneLighting::ObjectProxy
getResourceCRC()
Reimplemented from: SceneLighting::ObjectProxy
getShadowedSquares(const Vector< PlaneF > & , Vector< U16 > & )
init()
Reimplemented from: SceneLighting::ObjectProxy
light(LightInfo * )
Reimplemented from: SceneLighting::ObjectProxy
operator->()
preLight(LightInfo * )
Reimplemented from: SceneLighting::ObjectProxy
setPersistInfo(PersistInfo::PersistChunk * )
Reimplemented from: SceneLighting::ObjectProxy
supportsShadowVolume()
Reimplemented from: SceneLighting::ObjectProxy