I would like to colour the surface of a wedge-shaped object according to the slope of its surface using blender. I tried the solution provided in Color a surface according to its slope , but unfortunately it only applies the colour ramp on the top of the object and not below (see image).
Do you have any suggestions on how to apply the colour ramp over the whole object?