I tying to make a low poly style material. I order to calculate each surface’s lighting I need the surface normal of each surface. But I can’t find any node called surface normal in material editor. I would very appreciate if anyone could help me.
While there is no such thing as surface normal in material editor, I will reference you a thread, which has examples of how to achieve this effect. It is for landscapes initially, but is still applicable for static meshes.
Great! That`s work , thanks a lot.
You’re welcome. If that resolved your question, kindly mark it as answered and consider upvoting correct answer. Thanks.
For people finding this answer now, there is now a VertexNormalWS node in the material editor which returns the surface normal.
2 Likes
Technically, VertexNormalWS
is the “vertex normal”, which is an average of the surface normals at each vertex. If your surface is curvy or not flat, the two can be very different.