This question already has an answer here:

Basically I am trying to figure out if there is a way to have a planet with shaders applied for the world color map. Then you have a sun and on the shadow side of the planet I want to use a node to detect if its a black or dark color range. Is there any way to sample this in Blender 2.80?

My goal is to use this darker color to drive lights on the side that the sun light does not hit. I have tried using the normal node and its too much trouble and does not give me very good results. Thanks.


marked as duplicate by Duarte Farrajota Ramos Sep 20 at 14:29

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

Browse other questions tagged or ask your own question.