Hide Fullscreen UI, but still get mouse-interactions and keep it visible to a ProceduralTexture

So I have a setup where I need to have a UI fullscreen adt get passed to a ProceduralTexture, but I do not want the camera to see the UI but still need to retain like button presses and things.

Any ideas?
https://playground.babylonjs.com/#T3BLHZ

Something like that (while a bit hacky) should work:
Babylon.js Playground

1 Like

ahhh so you are bringing it out of the zRange with the offset, oh wait no your just shifting it off screen, ohh I get it.

Super cool, ok thank you. Yeah this should work. I am trying to pass the GUI through a filter so I can do some fancy postEffects on it and this looks like this gets me what I need!

Thank you as always Delta!

My pleasure buddy!