I’m trying to create my own shader graph for some 2D sprites. I was using Sprite-Lit-Default, which seems to bake some color into the sprites. When I set up a simple shader that uses the vertex color (which as I understand is used by Sprite Renderer), I get a slightly different color. I’m new to shaders and can’t quite tell what the Sprite-Lit-Default shader is doing. I’d like to mimic it’s effect in my shader graph. Any suggestions?
I’ll answer this myself… I was using the vertex color for multiplying the colors which seems to have caused the issue. Once I switched back to using the sampled texture output, the colors matched.
1 Like