PlaneReflector
Engine/source/scene/reflector.h
Private Types
Parent
Public Attributes
bool
< Textures we actually render to
Public Functions
calcScore(const ReflectParams & params)
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)
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