Blender Git Commit Log

Git Commits -> Revision b9bcc12

December 13, 2019, 20:24 (GMT)
GPencil: Refactor: Add depth test in the fragment shader

Now the GPencil object can correctly intersect the scene.

Previously (old implementation) 2D GPencil objects would poke through
in front meshes in certain situations (depending on stroke order). This is
now fixed.

This does not fix the intersection with the overlays.

Commit Details:

Full Hash: b9bcc12eb9d6ca646350f80bfdfdd7c2714e96d0
Parent Commit: 29b4dc1
Lines Changed: +12, -0

3 Modified Paths:

/source/blender/draw/engines/gpencil/gpencil_engine.c (+3, -0) (Diff)
/source/blender/draw/engines/gpencil/gpencil_engine.h (+2, -0) (Diff)
/source/blender/draw/engines/gpencil/shaders/gpencil_frag.glsl (+7, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021