Hello,
I’ve come across these videos ( this one and this one) on youtube about custom renderer for LWRP, with “Blit” and “Render Object”, and I wanted to try it in my VR Project.
However, the rendering is messed up: it renders 2 eyes in each eye…
I am linking the 2 scripts + the SobelFilter shader that I am using, which come from the second linked video above, and I have no idea where the issue might come from (probably the Blit, but my knowledge is limited).
Could you please help me pinpoint the problem?
Thanks !
@morenogarciaalejandro07 Here is the correction of the SobelShader that I linked in the original post using UnityStereoScreenSpaceUVAdjust, I think every modification happen in the frag{ }
Ah we can update the shader to proper support XR. If anyone is curious URP declares UnityStereoTransformScreenSpaceTex function which is the same as UnityStereoScreenSpaceUVAdjust