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.