#Hit VFX Shader Issue
1 messages · Page 1 of 1 (latest)
Show nodes please
Showing in sections
umm... I seem to be unable to post pictures
It's likely that you aren't using the alpha channel of the sprite texture. Make sure you're using a texture property called _MainTex, into Sample Texture 2D and connect its A output to the Alpha port in the master stack
Yes the effect is happening however...the texture of the sprite (2) is still getting overwritten (1)
This is my nodes setup
here
Like I said, the shader needs to sample the sprite texture by using the _MainTex property and Sample Texture 2D node. Connect RGBA output to Base Color and A output to Alpha - can use Multiply to combine with your current alpha result
I have MainTex as a Texture2d param
Good, but the graph currently isn't using it