Hey,
I’ve been looking through the net trying to find out what’s wrong with my super simple shader that’s just supposed to show the skybox through any object. Works fine without VR, but smears like below in VR.
I’m using unity 2019.4.7f1 and standard pipeline and project is for Vive(but also Quest later on, maybe).
Here’s the shader:
Shader “Masked/Mask” {
SubShader
{
Tags {“Queue” = “Geometry-1” }
Lighting Off
Pass
{
ZWrite On
ZTest LEqual
ColorMask 0
}
}
}