Blender Git Commit Log

Git Commits -> Revision 223c1a1

Revision 223c1a1 by Clément Foucault (master)
December 3, 2018, 16:19 (GMT)
Workbench: Make object ID pass optionnal

We separate the background and foreground shading passes to be able to make
the object id pass optionnal if we don't need it.

This saves a bit more memory. Also not clearing all rendertargets saves
some GPU time too.

Commit Details:

Full Hash: 223c1a107a92705d4516f181b3dbdec3937fbbf3
Parent Commit: a022811
Lines Changed: +117, -40

1 Added Path:

/source/blender/draw/engines/workbench/shaders/workbench_deferred_background_frag.glsl (+39, -0) (View)

4 Modified Paths:

/source/blender/draw/CMakeLists.txt (+1, -0) (Diff)
/source/blender/draw/engines/workbench/shaders/workbench_deferred_composite_frag.glsl (+2, -26) (Diff)
/source/blender/draw/engines/workbench/workbench_deferred.c (+72, -14) (Diff)
/source/blender/draw/engines/workbench/workbench_private.h (+3, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021