Hello all,
I have a shader which interpolates between the gradient values (0, 255) and renders the colors.
Its a vert and frag shader.
All I need to do is add a normal map to the surface these colors are displayed on.
I saw this unity manual shaders example:
https://docs.unity3d.com/Manual/SL-VertexFragmentShaderExamples.html
- Unlit/SkyReflection Per Pixel shader
However I don't need to add the color from skybox, but I need to add the normal shader to the colors from the gradient. So I need to grab the texture and add the normal to it. nothing else.
How to add the normal map to color shader?
↧