mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-20 07:03:46 +00:00
Fix for simulated Oculus Rift
The chromatic aberration correction for the simulated Oculus Rift was wrong, producing a black screen.
This commit is contained in:
parent
d100bd918e
commit
e954906533
1 changed files with 1 additions and 1 deletions
|
|
@ -130,7 +130,7 @@ void OculusVRHMDDevice::createSimulatedPreviewRift(bool calculateDistortionScale
|
|||
mChromaticAbCorrection.x = 0.995999f;
|
||||
mChromaticAbCorrection.y = -0.004f;
|
||||
mChromaticAbCorrection.z = 1.014f;
|
||||
mChromaticAbCorrection.z = 0.0f;
|
||||
mChromaticAbCorrection.w = 0.0f;
|
||||
|
||||
calculateValues(calculateDistortionScale);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue