Page MenuHome

Fix T63669: Occlusion not workink on particle editing.

Authored by Germano Cavalcante (mano-wii) on Apr 17 2019, 10:43 PM.



The problem occurs because of the status changes between BackBuffer and Offscreen.
This patch moves all remaining depth drawing to the Offscreen.

Diff Detail

rB Blender

Event Timeline

  • Remove changes in GHOST (this is for another review).
Harbormaster completed remote builds in B3359: Diff 14792.
  • Cleanup: Remove unused function.
Germano Cavalcante (mano-wii) planned changes to this revision.Apr 18 2019, 4:35 PM

With this patch the depth obtained with DRW_draw_depth_object is quickly overwritten by the depth of the entire scene.

  • Use g_select_buffer.texture_depth instead Viewport depth.
  • Revert "Use g_select_buffer.texture_depth instead Viewport depth."
  • Remove draw_depth_texture_to_screen;
  • Remover redundant GL_SCISSOR_TEST

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.

This revision is now accepted and ready to land.Apr 19 2019, 4:05 PM
This revision was automatically updated to reflect the committed changes.