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 
Point2I mLastTexSize 

Public Attributes

GFXTexHandle depthBuff 
GFXTexHandle innerReflectTex [2]
bool objectSpace 
GFXTextureTargetRef reflectTarget 
GFXTexHandle reflectTex 

< Textures we actually render to

Last texture we rendered to

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