- Home /
How to add normal map to "color" shader?
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?
Your answer
Follow this Question
Related Questions
How to convert surface shader to Vertex/Fragment code? 0 Answers
Changing the color of individual particles 0 Answers
Can you specify both Surface and Vertex/Fragment shaders? 3 Answers
Layering multiple Normal maps into one without blending in a Surface shader script 0 Answers
Shading after vertex displacement 0 Answers