mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-06 14:00:39 +00:00
Basic fix for stereo rendering without a display device
This commit is contained in:
parent
8a55feebef
commit
efc47ed757
6 changed files with 104 additions and 30 deletions
|
|
@ -606,7 +606,7 @@ void PlaneReflector::updateReflection( const ReflectParams ¶ms )
|
|||
RectI originalVP = GFX->getViewport();
|
||||
|
||||
Point2F projOffset = GFX->getCurrentProjectionOffset();
|
||||
const FovPort *currentFovPort = GFX->getSteroFovPort();
|
||||
const FovPort *currentFovPort = GFX->getStereoFovPort();
|
||||
MatrixF inverseEyeTransforms[2];
|
||||
|
||||
// Calculate world transforms for eyes
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue