# How can I create a normal map that points 90 degrees upward from a flat surface?

Basically, I would like to have a cross billboard (such as the one below) have it's lighting come from above it. In other words, I would like the lighting to be as if the sunshine was hitting it from above.

The intention is for the billboard - Which will have a grass texture on it - To take lighting from the same direction as the terrain underneath.

The best way to do this, I believe, would appear to be with a normal map, making all 4 faces take lighting from 90 degrees upward.

Would this be possible to do with Blender?

Normal maps are not necessarily for adding detail but to change the way light falls on the surface. Here is a quick example of changed normal map without changing the detail using the Normal node:

Here is an alternative with the normal map generated dynamically by calculating the direction between the object and the light (Can I refer to another object's properties from a Cycles node shader? Drivers? If so, how?):

Watch this excellent tutorial by Zacharias Reinhardt https://www.youtube.com/watch?v=BtUS8QTsVZA&index=4&list=PLGodxM8aVtUfH9_xv4OdMM4xvBGZpggoA

in a nutshell, you have to

1. create your full object with material first
2. render it in ortho on a square plane
3. generate normal map and color texture for this square projection
4. use the normal and color textures as material for your "cross billboard"

To get a proper shadow is more complicated but can be achieved as per the great trick of part 2 of the video by Zacharias Reinhardt!

• The tutorial is great, however I can't see specifically how it solves my problem, as it focuses on adding bumps to a flat surface, as opposed to making the light appear as if it's from a completely different direction. – Joehot200 Feb 5 '18 at 12:33
• this is exactly what normal maps are for. So could you try to formulate what else you would expect? – Bruno Feb 5 '18 at 19:56
• What I'm trying to do is make the light look like it is coming from a completely different direction. So the screenshot posted in the original post would have it's lighting from directly above. I am aware that normal maps are generally for adding details, however I cannot see why they're unable to be used for changing the lighting direction as well? Or am I missing something? – Joehot200 Feb 5 '18 at 21:56
• normal maps just fake the direction of the "pixel" that receives the light is facing. It does not change where the light source come from. If you want the light for a specific object to be different than for other objects in your scene, you have to use some other mechanism. Ex: blender.stackexchange.com/questions/15337/… . This is an old Q&A so may be it is now possible with Cycles render engine. – Bruno Feb 6 '18 at 8:26
• I want to fake the direction of the "pixel" that receives the light, so that the pixel receives the light from above. – Joehot200 Feb 7 '18 at 10:55