Axel Samyn
Axel Samyn

Reputation: 123

Unity3D - Light deactivated when facing opposite direction

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?

Upvotes: 0

Views: 1619

Answers (2)

rutter
rutter

Reputation: 11452

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.

Upvotes: 1

maximelian1986
maximelian1986

Reputation: 2452

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

Upvotes: 1

Related Questions