Trying to smooth out a RegionRect Tween, not sure where to begin

Godot Version

4.4.1

Question

I’m currently using a RegionRect tween to gradually reveal a Sprite2D. It works well enough as a placeholder, but I’d prefer a gradient reveal over the sort of hard-edged effect I’m getting now. I am just not sure where to begin. I don’t know much about shaders.. do I need a shader here? Or is there some easier method that I should be looking into? Thank you!

I think a shader is probably the easiest way to do that. I don’t have much experience with using shaders, but this Universal Transition Shader might help. It has the following transitions:

  • Directional Wipes: (left, right, top, bottom, diagonal)
  • Clock Wipes: (radial, with multi-sector support)
  • Iris/Shape Reveals: (polygon-based transitions with any number of sides)
  • Dissolves
  • Fades
  • Slides
  • Combinations & Variations

There’s a tutorial on that page and a detailed documentation on the github repo so just follow it and see if it works!

1 Like

Yeessssss, this is gonna work great, thank you!

If anyone arrives here with the same problem, the UTS calls this feature ‘basic feathering’.

1 Like

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