- Home /
This question was
closed Jul 06, 2021 at 05:51 PM by
Uchiha_Iori for the following reason:
The question is answered, right answer was accepted
Question by
Uchiha_Iori · Jul 06, 2021 at 05:16 PM ·
shader2d sprites
Sprite get broken after using material
So I make shader and material for 2d sprite. But when I place material to the sprite, the sprite get broken (?) Left is the actual sprite and right is sprite with the material.
Here is the shader setting.
I'm following this tutorial https://www.youtube.com/watch?v=5dzGj9k8Qy8
Can someone help me what's I'm doing wrong ?
sprite.png
(2.0 kB)
shader-setting.png
(22.4 kB)
Comment
Answer by Uchiha_Iori · Jul 06, 2021 at 05:50 PM
Found fix from https://answers.unity.com/questions/1636386/transperent-side-of-a-texture-becomes-black-in-sha.html
Change graph setting to transparent and use sample texture alpha for master.
solved.png
(41.2 kB)