How to make a decal fade out uniformly?

Godot Version

4.6.1

Question

so I’m trying to implement a drop shadow for a 3D platformer and for that I’m using a Decal node. However the problem I’m having right now is that I cant get it to fade out as “uniformly” as I would like if that makes sense. I want it to be a lot more circular if possible.

I did play around with Vertical Fade some and that kind of helped kind of didn’t. is there a way I can fix this in code or in the parameters? or is this a matter of me needing a better texture cause right now I’m just using the default Godot Logo and modulating it all black for my texture.

You should use a circular gradient texture.

so I did find a circle gradient texture should work

the problem is that I cant figure out how to use it for lack of a better word. cause if you look at it in game it looks like the decal is only reading from a single axis of the texture and Im not sure how to change that.

You need to properly rotate the decal node so it projects the texture down to the ground. Currently it looks like it projects it horizontally.

I see, that makes way more sense.
Now I just need to get rid of the white part of the texture

Use a transparent texture

There we go

eventually I just had to give up and make my own texture.