UnityURP-MobileScreenSpacePlanarReflection icon indicating copy to clipboard operation
UnityURP-MobileScreenSpacePlanarReflection copied to clipboard

Depth bug when using OpenGLES graphics API

Open jun-nda opened this issue 1 year ago • 0 comments

If change the graphics API whatever in editor or android runtime, the effect will be like this.

image

which height looks like not correct ,but the real reason is the depth is not corrct. Because the depth range in opengl i [-1,1], dx and vulkan is [0,1]. so add this code is enough. image

image

jun-nda avatar Apr 30 '24 06:04 jun-nda