I have a problem with the colors in my shader. I have a source_color
and a Gradient Texture 1D. Both have the same hex-value #a01e23
, but depending on which of them I use I get a different color on the mesh. In the first image, color
is used, which gives a deep, rich red. In the second one, gradient
is sampled at UV=vec(0.1, 0.1)
, which grants a somewhat pastel red.
I eyedropped the screenshots and noticed that in editor, despite the color and gradient parameters having the same hex-value, they are slightly different. See below.
Any idea of what's happening? Ideally, I'd like to get the deep red of color
while using gradient
.