Working on a filter with node structure like this, basically a wrapper, using the screen texture in a shader in the Filter node.
- Game ( default Control node)
- GameLoader (default Control node as a parent)
- GameContent( all the game scenes, UI and nodes)
- Filter(ColorRect)
But popup and option buttons seems to be on a different Viewport and unaffected by the filter. Nothing seems to affect them. Anyone know how to do this?
So far have tried:
- putting game content in SubViewport
- using ViewportTexture as shader input
- changing the Filter z order to absolute and max
- enabled top level on the Filter node
- put Filter shader in GameLoader
- change GameLoader into CanvasLayer
- wrap filter in a CanvasLayer
- add a Filter node as child to OptionButton.get_popup(), this blocked the content, or is getting empty screen texture