Blender Git Commit Log

Git Commits -> Revision eeda936

Revision eeda936 by Jeroen Bakker (master)
June 5, 2019, 12:29 (GMT)
TexturePaint: Missing Texture Depth Test

Depth testing was off as it used the precomputed ModelView matrix. As
draw engines currently use a different approach the depth was sometimes
a bit off making the color disappear.

This change will use a different vertex shader that will write the
correct depth. I expected the same change to be needed in the bone
selection overlay but was not able to reproduce it.

Reviewed By: fclem

Maniphest Tasks: T64615

Differential Revision: https://developer.blender.org/D5006

Commit Details:

Full Hash: eeda9369b6e63e38a82292f0b42eefc8247e4348
Parent Commit: 957c8f1
Lines Changed: +34, -17

1 Added Path:

/source/blender/draw/modes/shaders/paint_face_selection_vert.glsl (+19, -0) (View)

4 Modified Paths:

/source/blender/draw/CMakeLists.txt (+1, -0) (Diff)
/source/blender/draw/modes/paint_texture_mode.c (+10, -5) (Diff)
/source/blender/draw/modes/paint_vertex_mode.c (+2, -2) (Diff)
/source/blender/draw/modes/shaders/paint_face_vert.glsl (+2, -10) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021