ColinLeung-NiloCat/UnityURP-MobileScreenSpacePlanarReflection

on Untiy2020.2 reflection is up side down and with many flickering in reflection

FinalKing opened this issue · 2 comments

on Untiy2020.2 reflection is up side down and with many flickering in reflection

image

on Untiy2020.2 reflection is up side down and with many flickering in reflection

image

这个问题我也遇到了 是因为通过深度还原世界坐标的地方 平台适配有问题 加上下面的代码就可以了
位置在获取深度后 通过screenuv和depth获得clip sapce的position下面
#if UNITY_UV_STARTS_AT_TOP
// Our world space, view space, screen space and NDC space are Y-up.
// Our clip space is flipped upside-down due to poor legacy Unity design.
// The flip is baked into the projection matrix, so we only have to flip
// manually when going from CS to NDC and back.
posCS.y = -posCS.y;
#endif

a fix has been merged, you can pull the latest version and retry it in the latest Unity2020.3.x