Making the middle part of the material invisible

What you see below is a PostProcess material that allows water to drip onto the screen. I don’t want water dripping on those parts, with the radial-gradient right in the middle of the screen. How can I do that?

1 Like

Use the radial gradient node to lerp between everything you have there, and just the scene texture.

I couldn’t make it. Can you explain please?
Where should I connect the Lerp and which Lerp should I choose. There are multiple lerps and each has multiple entries.

This is for unity, I found it on the webs long ago but it is very relevant for UE. Might help you.

Thank you very much.
I did a reviewed, but I can’t say that I understood much :sweat_smile:

If it doesn’t make sense you might want to watch some of Freya Holmer her videos which are great tutorials for shaders and math in game dev.
Keywords: Remap, alpha, lerp, inverse, gradient, radial, wave shader.

https://www.youtube.com/watch?v=NzjF1pdlK7Y

https://youtu.be/kfM-yu0iQBk?t=11322

1 Like

1 Like

You are such a kingly man!
It worked.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.