Download

Need Some Smoothing With "If Transition" in Material

Hello and Howdy everyone!

Let me get to the point straight!

Now, before I needed to ask the question, my problem was this;

Ken Masters at the left side is assumingly standing on the ground. Ofcourse the large beam of the Right side Ken shouldn’t go through the ground, so here is what I have done;

As you see, it kind of works. But the line where the ground and beam meets is way too sharp. A friend of mine offered me the Depth Fade solution, but the problem is, my game is pure Paper2D, the ground included. There is no 3D ground that I can use Depth Fade. So I am kind of at a lose here.

Here is my current material setup;

I am a total noob when it comes to materials. So if there is any way to smooth the If Transition, or maybe even a better way, I would really appreciate it! Thank you! :slight_smile:

Here’s one way to do it:
10c05e77fcd644bfcedeb67c98f13d3c24f94591.png

The Power is optional, it’s just there to smooth things out a bit more.

Mr pylb.

Not only you fixed my problem, but taught me a different way of achieving the result. Thank you.