Don't want to see lights at a distance

I have a number of point lights in my scene (outdoor scene approx. 3000x3000) I’m not using any fog effects but would prefer not to have every light visable from infinity.

I could have each light equipped with a trigger area and only active when the player is inside the OnTriggerStay zone… but is there a more efficient way of doing this?

Any ideas guys?

Calculate the distance between the player and each light, and turn them off if they exceed some distance? You don’t need to test every light every frame, just do them one light at a time.

1 Like

OK, thanks, I’ll give that a go.
Soon as I figure out ‘how’ to do that…lol

:slight_smile: