Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Game视图下看不见东西 #6

Open
pl01898759 opened this issue Jun 8, 2023 · 3 comments
Open

Game视图下看不见东西 #6

pl01898759 opened this issue Jun 8, 2023 · 3 comments

Comments

@pl01898759
Copy link

我拖了个特效在场景,右键-特效-测试。运行起来后,Game视图看不到东西。OverDraw的数据也没有,我断点看,就是RT里面没有任何像素,都是空的。其他粒子数据是有的。请问下要咋解决下呢。

@pl01898759
Copy link
Author

仔细看了下,也不是所有粒子不显示,有的粒子特效他不会画出东西来,这个咋理解呢。

@pl01898759
Copy link
Author

哦,是背面被裁剪了,但是有点奇怪,正常特效是看的到的,但是那个Game视图下OverDraw那个就不会显示。。。我在OverDraw的shader里面去加Cull off才会正常。。

@sunbrando
Copy link
Owner

感觉这种情况是把mesh的背面对着相机了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants