- Home /
Shader Graph Color Error {SOLVED}
I am making a shader in shader graph. I am making this shader so I could make a type of bar (like a health bar) but in 3d. For some reason, the white parts of the shader are displaying as pink. Why is this happening and are there any solutions? Thank you in advance
here is the shader graph:
THANK YOU FOR THE HELPFUL ANSWERS! Here is the way I solved it (:
shader-graph-solution.png
(154.0 kB)
Comment
Best Answer
Answer by davidcox70 · Jul 22, 2020 at 05:24 AM
Your last node before Albedo adds full screen red. I think that might be the issue. Try multiplying the red with an invert of the rectangle before adding it. (**edit. Or just subtract the rectangle from the red before adding it). DC