Blender Git Loki

Git Commits -> Revision 2b0ad19

June 21, 2017, 14:53 (GMT)
WIP: Add a temp framebuffer to control z-depth

The stroke is rendered to temporary framebuffer and then render again using fullscreenquad to add the z-depth.

This cannot be done in one step because the strokes must keep the internal layers order without using z-depth values.

Still some problems with z-depth texture.

Commit Details:

Full Hash: 2b0ad19dc3fc8a604861a564750c0dcd5f405bde
Parent Commit: 1e47f33
Lines Changed: +158, -24

1 Added Path:

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

4 Modified Paths:

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