I am trying to make a pyramid shaped planet, and want to make the shadowed areas use a different texture (with city lights) than the areas in the light. I have tried using the normals node, but it doesn't rotate with the planet.

enter image description here

Here's the nodes that I have right now, with the normal node creating the shadow. However, when I rotate the pyramid, the "shadow" moves with the object instead of staying opposite the light.

This isn't a very important animation, so any workaround or solution would be appreciated, given that it's fairly simple.

Thanks in advance!


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.