Mix color in Fragment Shader

How to mix color in fragment shader? Please let me know if there are any tutorial on that! I have created sphere with shader material I want to mix the colors so I’m curious how to mix two colors.

For example, you can find something about mix() here: The Book of Shaders: color

1 Like