Sprites using same material do no render where the game object with when Enable GPU Instancing is true
Hi guys. I am creating a fast shader for HP bars to avoid Canvas waste. The shader works fine, but when I try to create more than one HP bar when enable GPU instancing on, they are rendered in exactly the same place regardless of the position of their transforms. Things work as expected with the setting off, but I want this to be as performant as possible so I figured I'd get to the bottom of this.
I know they are overlapping because when I make the bars have alpha, they become more opaque as I duplicate them in the scene.
Your answer
Follow this Question
Related Questions
How to continue material between sprites. 1 Answer
Unity Sprite renderer bug?? 0 Answers
How to make headlight effects on a sprite? (Increasing emission of sprite material) 0 Answers
materials not showing correctly 0 Answers
Need help with terrain shader 0 Answers