well, the error goes away but the PG doesn’t show anything. Commenting out scene.customRenderTargets.push(_refractionRTT);
works. But it broke other custom shaders in my game.
Thanks for all the help, this experiment is kiv’ed indefinitely.
Marking as solved, cheers!