Transparency in texture to white in Shader Graph

Hi everyone,
in my first approach to shader graph I’m currently struggling with a problem.
As you can see in the image below, I have a really simple shader in which I just try to change the colour of the texture.

The texture is a PNG (but I also tried directly with a PSD) with transparency. On the inspector you can see the texture settings.
However, when I load the texture on the shader all the transparency is turned white, as you can see in all the previews.
Obviously, I tried to instantiate the shader into a material and to apply it to a particle system and it appears as a white square, as in the preview.

The shader is set to Transparent and is an Additive blend.
I’m working in URP and I didn’t change anything on the URP settings.

Probably is something really stupid but I really didn’t find a solution so far.

Thank you all,
R.

1 Like

The node previews in Shader Graph are all showing you the RGB color values, and ignoring the alpha. You’re also piping the color only into the Color(3) input of the Master node, which is also only the RGB value. If you want transparency, you need to connect something to the Alpha(1) input. Use a Split node on the output of that last multiply, and take the A output and connect it to the Alpha(1) input.

Also, Shader Graph has it’s own subforum

1 Like

Oh I got that.
As said, a stupid error.

Thank for the clearification and thanks for the subforum, I didn’t notice that.

R.