Lights turns on according to the position of the sun

Are you using the second method? ( It deals with various possible sun angles )

Also, you can put a debug print here

to see what you’re actually getting…

Also try resetting the orientation of your sun

and only change the Y.

Allright, I’ll try to figure out how to get this thing to work.
Thank you.

Have a nice evening !

1 Like

Tell me how it goes :slight_smile:

1 Like

Allright, i rebuild the blueprint and show this to you.

1 Like

Re: Deleted/

I’ve found the sun angle and i try to put in the (less) and (greater) booleans float nodes.

The lamps working, they switch on correctly and switch off correctly, i have found the correct sun angle.

So it’s working? :smiley:

Yes, I just got it working just now. :slight_smile:

I tried to duplicate about fifty streetlights and I did not have the problem (Overlapping, cast shadows disabled)

1 Like

Ha! :+1: :sunglasses:

1 Like

Thank you anyway for your patience and for coming back to see today.

Have a nice day and enjoy ! :slight_smile:

1 Like