Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Hallo Eti
No worries. I'm actually planning to use this to create things in VRChat so VR is definetely involved

Unity Version - 2022.3.22f1
Pipeline - Buit-in rendering pipeline
Target Device - Windows PC (VRChat)
Stereo rendering mode - Single-Pass Stereo Instanced (For VR. I think destop users still use mono)

(3 edits)

Hello again,  thanks for the details! I think I managed to find a fix but since I don't have a VR headset,  so I would really appreciate if you could confirm if it's working on your end.

Would you mind opening your shader file with any text editor and replacing the line 166:

return SAMPLE_TEXTURE2D_ARRAY(_CameraDepthNormalsTexture,sampler_CameraDepthNormalsTexture,uvs,unity_StereoEyeIndex);

with the following one:

return UNITY_SAMPLE_SCREENSPACE_TEXTURE(_CameraDepthNormalsTexture,uvs);

Please let me know if this works for you and I'll update the asset here and on the Unity Asset store.

Thanks!