godot_oculus_mobile icon indicating copy to clipboard operation
godot_oculus_mobile copied to clipboard

GLES2 2D Control Nodes not rendering in VR Viewport

Open NeoSpark314 opened this issue 5 years ago • 3 comments

I am at the moment trying to implement a basic movement vignetting effect using a ColorRect with a custom shader. When using a 2D Control node like for example a ColorRect on Desktop it will be rendered after the 3D scene into the view. On Oculus Quest it is not visible.

I looked into a Renderdoc trace and it appears that the colorrect is rendered twice as expected but not into the external texture like the 3D draw calls but into a new/separate texture that will not get displayed:

Normal 3D draw calls Screenshot from 2019-12-08 12-55-54

2D Draws: Screenshot from 2019-12-08 12-56-02

EID 177 and 332 are the ColorRect draws.

NeoSpark314 avatar Dec 08 '19 12:12 NeoSpark314

Same problem here with the Nvidia FXAA shader port: https://gist.github.com/vansoest/e81d57e26447de432b2920f20ebb637d

vansoest avatar Apr 09 '20 20:04 vansoest

I have same problem, please fix.

BenMcLean avatar May 10 '20 15:05 BenMcLean

same problem, can't render 2D stuff on main viewport

balintbarna avatar Nov 27 '21 17:11 balintbarna