diff options
| author | yum <yum.food.vr@gmail.com> | 2024-09-12 09:02:27 -0700 |
|---|---|---|
| committer | yum <yum.food.vr@gmail.com> | 2024-09-12 09:02:27 -0700 |
| commit | c6705bf773143da77cb5a3bde4cd06f2679ea0f3 (patch) | |
| tree | 0242f20ed53cc42da51ec222322aa1bcb0fd1fd0 /globals.cginc | |
| parent | dfb1ece3e78cf013866d18a3a234e2f4bf8834f8 (diff) | |
Replace all instances of _WorldSpaceCameraPos with center eye pos
Fixes left/right eye mismatch in VR.
Diffstat (limited to 'globals.cginc')
| -rw-r--r-- | globals.cginc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/globals.cginc b/globals.cginc index 527f13b..99db1e7 100644 --- a/globals.cginc +++ b/globals.cginc @@ -46,6 +46,9 @@ float3 shadowedReflections; float3 _ReflShadows; float3 _ReflShadowStrength; +float _VRChatMirrorMode; +float3 _VRChatMirrorCameraPos; + #if defined(_DISCARD) float _Discard_Enable_Dynamic; #endif |
