Skip to content

v2.1.1 Released

Compare
Choose a tag to compare
@hecomi hecomi released this 23 Aug 13:03
· 29 commits to master since this release

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.

コメント 2020-08-01 180430

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