cocos-engine icon indicating copy to clipboard operation
cocos-engine copied to clipboard

移动正交相机,相机预览画面残留。

Open wsLyr opened this issue 1 year ago • 2 comments

Cocos Creator version

3.8.3

System information

win10

Issue description

移动正交相机,相机预览画面残留看图 image

Relevant error log output

no response.

Steps to reproduce

创建一个空项目,移动canvas下的相机就能复现bug

Minimal reproduction project

no response.

wsLyr avatar Jun 17 '24 08:06 wsLyr

你摄像机的Clear Flags是不是Dont Clear

a1076559139 avatar Jun 24 '24 02:06 a1076559139

你摄像机的Clear Flags是不是Dont Clear

是depth only

wsLyr avatar Jun 25 '24 07:06 wsLyr

@knoxHuang 检查一下

wuzhiming avatar Dec 23 '24 10:12 wuzhiming

image

预期效果是对的

如果跟浏览器不一致的原因是因为为了性能提升,把 WebGLContextAttributes 中的 preserveDrawingBuffer 关闭了,所有才不会出现残影

不过残留的效果与原生平台的效果是一样

knoxHuang avatar Dec 26 '24 07:12 knoxHuang