Shadertoy black hole - use of BackBufferCopy

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By LionH

Hello,

I’m stuck trying to replicate this in godot:

https://www.shadertoy.com/view/ldy3zK

I’ve been able to convert all the code but I can’t see the gravitational wave. I can see the stars moving, the two blackholes moving in circle but can’t see the deformation even using frame parameter and passing from GDScript the incremental frame number.
What I think is that the deformation shader on top isn’t modifying the shader below for some reason. I’ve been trying to use BackBufferCopy but without luck.

Thanks!

Posting the shader you’ve converted might help.

Dlean Jeans | 2019-07-01 15:43