Transitioning between collections using shaders

Currently, I’m using a transition system, which roughly produces a fade effect by increasing the opacity of a black texture, changing the collection, and then making it transparent again.

But in other projects with lower-level libraries, I basically used two render textures with a shader to mix (or perform other operations) on the rendering of the previous and next states.

Is there a way to achieve something similar with Defold?

You can use a render target to draw to an off screen buffer and then combine in a shader.

The answer was simple haha
I’m re-sharing this blog post which helped me:

2 Likes