I am following the 3 part Unity Youtube tutorial “Creating 2D Materials in Unity with URP! | 2D Shader Basics” and I am now stuck at the second part.
Before I add the color attribute my sprite looks like this:
After I add the color attribute it looks like this:
It looks like this if I turn the alpha value to 0:
Here is how my Shader looks like (identical to the video tutorial):
You are on earlier version of Shader Graph.
In such case, there should be somewhere a cog icon, which allow to open popup menu, with master node settings.
There is no cog wheel, here is the image of my whole screen:
I am using version 7.3.1 since Package Manager shows that it’s verified with version 2019.4 (that’s the version I am using). Is it safe to update it to more recent version?
I found the problem. Apparently the color alpha value in the tutorial was set to 0 and I had it at 255 (I posted a picture with “alpha 0” but apparently I had colors at 0 and alpha higher). I feel so stupid… I used Multiply instead of Add component in my shader and now it’s working like it’s supposed to. In any case, thanks for trying Antypodish!