v2.1.1 Released
Bug Fix
- fix shadow pass in VR
Details
I found a shdaow problem in VR when I tried to publish my first world* to VRChat.
The shadow in the right eye looked strange. This was caused because _WorldSpaceCameraPos
indicated the position in the left eye. So to solve the problem, I've used UNITY_MATRIX_I_V._m03_m13_m23
instead of the built-in variable.
* The demo: https://twitter.com/i/status/1287778228296282116
* The link to the VRChat world: https://www.vrchat.com/home/launch?worldId=wrld_0572ac92-5a4b-403c-803b-aa88d3852f20