Cardboard-VR-Unity-SDK
Cardboard-VR-Unity-SDK copied to clipboard
Clipping far distance objects
Hi! We using ur SDK in our app, where we have a couple of far distance objects. The matter is that in editor everyting works fine, yet on mobile devices (we tested samsung s7, s8, poco f1) objects placed further then ~110 units are invisible. It looks like a wrong value of clipping planes, but changing this value brought us no luck.
On this screens we have a brand new project with your SDK. Right behind the cube there is a plane and the result on mobile device u can see below. All parameters are in default state
we found solution here
https://github.com/mobfishgmbh/Cardboard-VR-Unity-SDK/issues/69
Thank you for the report and note.
I made a mistake on this one. Reopen this ticket for me:
Make variable for nearClip and farClip so that people can set it dynamically.
In Method CardboardLensDistortion.RefreshProjectionMatrix()
, the near and far clip are not variable, which is not good.