The problem occurs because of the status changes between BackBuffer and Offscreen.
This patch moves all remaining depth drawing to the Offscreen.
Details
Details
Diff Detail
Diff Detail
- Repository
- rB Blender
Event Timeline
Comment Actions
With this patch the depth obtained with DRW_draw_depth_object is quickly overwritten by the depth of the entire scene.
Comment Actions
- Revert "Use g_select_buffer.texture_depth instead Viewport depth."
- Remove draw_depth_texture_to_screen;
- Remover redundant GL_SCISSOR_TEST
Comment Actions
The patch is ready, but there is a problem with Clip Plans though.
Since the problem is in Shader it is better to solve in another patch.