Jump to content

Change of material according to the direction of the light rays


photo

Recommended Posts

Hi,again.

I'd like to toggle the map of the earth (as seen from space) based on whether it's day or night. This means that there are 2 materials that will alternate based on the direction of the light rays relative to the surface normal. Something like raytracing for example.Is there any way to do this? Maybe in with Material Graphs?

earth-night-space.jpg.04cf61cbf8ade2c54f586d6ec498ae82.jpg

Thank you in advance:-)

 

Edited by Bluelikesky
Link to comment
×
×
  • Create New...