Unity3D - Light deactivated when facing opposite direction

橙三吉。 提交于 2019-12-12 04:47:11

问题


I placed a light in my scene.

It is lighting the ground when i'm facing that light but when I turn the opposite direction, the light on the ground vanishes.

I think this might be some Unity's default behaviour.

Is there a way I can solve this issue?


回答1:


Unity uses frustum culling to save performance, so it only draws items that are within the camera's viewing area. As a result of this, the particles behind you are not drawn, and any lights attached to them aren't either.

Scene-crucial lights aren't normally attached to particles, so it's normally not a concern if they're hidden along with their particles.

For conventional lights (not attached to particles), Unity should render the light as long as it affects objects within the camera frustum. If you use a conventional light, you should see better results.




回答2:


Looks like you may have to disable occlusion culling. Unity3D Manual



来源:https://stackoverflow.com/questions/42486458/unity3d-light-deactivated-when-facing-opposite-direction

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!