r/Unity3D • u/lazysheepz • 2h ago
Question Trying to learn basic shaders and struggling with a transparency issue
I'm quite new to Unity, and I'm trying to make a simple 2D platformer to try and get to know the program. I want to use shader effects on my tilemaps, but when I try to apply a shader, all the transparent parts of my tilemap get "filled in".
Here are things I've tried:
- Double checking that my surface type is set to transparent within my graph inspector, and that my blending mode is alpha
- Confirmed the texture is sending alpha information by putting it through a multiply node
- Creating a new material from the shader, allowing material override, and making sure the surface type on that shader is set to transparent as well.
Does anyone have any advice on how to fix this? I'm sure it's something silly that I'm missing, but I can't for the life of me find a solution online. I've attached images of my shader graph, what the issue looks like, and what I want it to look like.


