- Home /
Shader graph on 2D sprite renderer is doing some weird things
Hello, I've encountered a problem on rotating/flipping my character. In deed, I wanted to make a fighting game in a 3D environment using 2D sprites. I also wanted my characters to have shadows on them. I made my researchs and used Shader graph (Lit). So my shader looked great. The thing is that when I wanted to turn with eulerAngles, the sprite color become dark. So I found a fix in shader graph : What happens when I'm turning back now is that the sprite is half enlightened, half dark, like if two same sprite were at the exact same place, so the two of them are merging to do some buggy stuff: Does someone have a solution for that thing?
Your answer
Follow this Question
Related Questions
How to add shadow to shader graph materials? 1 Answer
Outline set of tiled sprites 0 Answers
Specular 2D Material 0 Answers
Shader shadow anti-aliasing problem 1 Answer
How to cast a shadow onto an invisible quad/plane? 2 Answers