Ybalrid / Annwvyn

Annwvyn C++ Open Source designed-for-VR game engine and application developement framework
MIT License
41 stars 7 forks source link

Fix shadow, light and other culling problems #188

Closed Ybalrid closed 6 years ago

Ybalrid commented 6 years ago

In short setting the projection matrices directly with the "custom projection matrix" Ogre::Camera provides creates a bunch of issues. We can set the frustum geometry of each cameras by hand using the half tan angles associated with each eye.

See this : https://forums.ogre3d.org/viewtopic.php?f=25&t=94145#p541199

Many thanks to @stig-atle for pointing that out ;-)