Download

Difference between Shaders and Normal Maps?

Hey guys,

So I was watching a tutorial on Shaders.https://youtube.com/watch?v=TDZMSozKZ20
I was understanding what he meant by Vertex shader
and how it can change the shape or form of the model by altering its vertices.
But so can a normal map right?


He also says…

But once again, isnt relinquishing the need for extra polygons the point of the normal map?


Also he then mentioned Pixel shaders
but then included normal maps in the discussion.

I am getting the idea that a pixel shader controls how a normal map looks when light interacts with it?

So for example, if you have pores in the normal map, but your shader isnt set right, then it means when light hits the normal map pores in UE4
then it wouldnt react right?

The normal map tells the shader how to adjust the lighting ti mimic higher detail, POM/Bumpmaps/pixel offset also help with this.

You can read more about it here on Wikipedia.

HTH

The norma mapping have change to some basic idea,In each RGB texel is encoded a XYZ vector : each colour component is between 0 and 1, and each vector component is between -1 and 1, so this simple mapping goes from the texel to the normal.
PHP Training in chennai