Open boruok opened 1 year ago
Please take a look at the description for render_direct_to screen
In particular "If used, reading from the Viewport or from SCREEN_TEXTURE becomes unavailable". In your MRP you are trying to read from the Viewport even though you enabled render_direct_to_screen
. Those two things are incompatible.
so, what use case of this option then?
It's used when you want to render the Viewport directly to the screen without using a ViewportContainer or a Sprite to read from it. This can be much more efficient on certain hardware. As the description says it is a niche optimization that shouldn't be used in most cases.
Godot version
v3.5.2.stable.official [170ba337a]
System information
Ubuntu 22.10 LTS, GTX1060, GLES2
Issue description
here is two same viewports with render_direct_to_screen enabled and disabled.
Steps to reproduce
Minimal reproduction project
New Game Project.zip