Blender Git Loki

Git Commits -> Revision c803ed9

October 12, 2017, 10:33 (GMT)
Fix zdepth order with 3D objects

When draw a new stroke, the stroke must be visible over all 3D objects and not in back of them.

A new mix pass has been created to make a mix with default framebuffer using a gl_FragDepth = 0.0 to force to be in front .

Commit Details:

Full Hash: c803ed9b8063288fb33938da2fe657943af0940f
Parent Commit: 8cae073
Lines Changed: +35, -5

1 Added Path:

/source/blender/draw/engines/gpencil/shaders/gpencil_front_depth_mix_frag.glsl (+14, -0) (View)

3 Modified Paths:

/source/blender/draw/CMakeLists.txt (+1, -0) (Diff)
/source/blender/draw/engines/gpencil/gpencil_engine.c (+18, -5) (Diff)
/source/blender/draw/engines/gpencil/gpencil_engine.h (+2, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021