[Closed] How to Force All Mesh Normals to Point Along a Vector
I'm trying to make all of a mesh's normals face along a particular direction.
I want them to point in the opposite direction of the single directional light in the game. This is so that the mesh doesn't have any lighting on it but can still cast and receive light mapped shadows.
Using an unlit / emissive material is no good in this case because I want it to receive light mapped shadows.
The question has been closed Apr 29 '15 at 07:50 PM by Stephen Ellis for the following reason:
The question is answered, right answer was accepted
Lights aren't exposed to materials because of deferred shading. If this only matters for the sun then you know that is always above the horizon. You can just set the normals to point straight down which will always face away from the sun no matter its direction.
answered Apr 03 '15 at 07:09 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here