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

Unity2020.3在立方体纹理实现的反射效果 中处理光照衰减之后有奇怪的阴影 #332

Open
wyryyds opened this issue Feb 8, 2023 · 2 comments

Comments

@wyryyds
Copy link

wyryyds commented Feb 8, 2023

image
修改代码部分及效果如上。
将乐乐前辈的仓库中的源代码复制过来也是一样存在黑影。
然而奇怪的是一模一样的代码在乐乐前辈的项目中却不会有任何问题。
这令我困惑是否是我的项目设置有问题。如有解答万分感谢。

@wyryyds
Copy link
Author

wyryyds commented Feb 8, 2023

图片可能需要挂全局的vpn才能看到

@wyryyds
Copy link
Author

wyryyds commented Feb 9, 2023

我将计算后的光照衰减系数直接输出,发现确实是有这样一圈诡异的黑色阴影。在之后的其他场景也同样如此。

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

1 participant