Quantcast
Channel: AR/VR (XR) Discussion
Viewing all articles
Browse latest Browse all 12131

Shadow Caster Count Doubles When setting StereoProjectionMatrix

$
0
0
When I use the method SetStereoProjectionMatrix on an single Oculus VR Camera, I immediately lose all shadow caster optimizations until I call ResetStereoProjectionMatrices again. Even if I simply set the stereoprojectionmatrix to itself, my shadow caster count immediately doubles:

GetComponent<Camera> ().SetStereoProjectionMatrix(Camera.StereoscopicEye.Left, GetComponent<Camera> ().GetStereoProjectionMatrix(Camera.StereoscopicEye.Left));

Is there a way to set the stereoprojectionmatrix of...

Shadow Caster Count Doubles When setting StereoProjectionMatrix

Viewing all articles
Browse latest Browse all 12131

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>