#Outline shader coloring whole rest of sprite white in play mode, looks normal in edit and in graph
1 messages · Page 1 of 1 (latest)
Does the sprite have an alpha channel?
i believe so since it works fine in edit mode, its only in play mode and it only broke when updating to unity 6.1 from 2022
this is in edit mode
Can you share a higher res screenshot of the shader graph? I can't see the nodes text in your screenshot.
Try in a new test project made freshly in 6.1 to be certain
How's the outline offset node implemented?
sorry forgot to include
this is from a youtube tutorial, im pretty clueless with shaders
One thing that could go wrong is texture size. Unity could be doing some kind of atlassing in the play mode for example. Or maybe the sprite size != texture size. Maybe test with a non sprite texture.
Other than that, it would probably be easier to look at the frame debugger or maybe even PIX/renderdoc(potentially using a shader debugger).
it seems like the background is not fully getting clipped? as you can see by the little dot missing in the white here
other sprites dont have a full white, just weird white splotches around