PlaneReflector

Engine/source/scene/reflector.h

More...

Private Types

Public Functions

Set up camera matrix for a reflection on the plane.

Oblique frustum clipping - use near plane of zbuffer as a clip plane.

Set up the GFX matrices.

Detailed Description

Private Types

typedef ReflectorBase Parent 

Protected Attributes

VectorF mLastDir 
Point3F mLastPos 
U32 mLastTexSize 

Public Attributes

GFXTexHandle depthBuff 
bool objectSpace 
GFXTextureTargetRef reflectTarget 
GFXTexHandle reflectTex 
PlaneF refplane 

Public Functions

PlaneReflector()

~PlaneReflector()

calcScore(const ReflectParams & params)

Reimplemented from: ReflectorBase

getCameraReflection(const MatrixF & camTrans)

Set up camera matrix for a reflection on the plane.

getFrustumClipProj(MatrixF & modelview)

Oblique frustum clipping - use near plane of zbuffer as a clip plane.

registerReflector(SceneObject * inObject, ReflectorDesc * inDesc)

setGFXMatrices(const MatrixF & camTrans)

Set up the GFX matrices.

updateReflection(const ReflectParams & params)

Reimplemented from: ReflectorBase