T55333 Workbench: Cavity Shader
authorJeroen Bakker <j.bakker@atmind.nl>
Wed, 6 Jun 2018 12:47:54 +0000 (14:47 +0200)
committerJeroen Bakker <j.bakker@atmind.nl>
Wed, 6 Jun 2018 12:51:18 +0000 (14:51 +0200)
commitf1fd5ed74fb0afd602f53860d0b2db46189c218a
tree47af0711292c8dcf5e157473b21949c706540b75
parent4a52531a11fa27da36f9dbe849ecf0573f35a47b
T55333 Workbench: Cavity Shader

A cavity shader based on SSAO. Works on all workbench deferred passes.

Per 3d viewport the cavity shader options can be set as different
shading needed different options. Some global options are in the
Viewport Display of the scene like num samples and distance.

Experimental: Naming of Ridges and Valleys
17 files changed:
release/scripts/startup/bl_ui/properties_scene.py
release/scripts/startup/bl_ui/space_view3d.py
source/blender/blenloader/intern/versioning_280.c
source/blender/draw/CMakeLists.txt
source/blender/draw/engines/workbench/shaders/workbench_cavity_frag.glsl [new file with mode: 0644]
source/blender/draw/engines/workbench/shaders/workbench_cavity_lib.glsl [new file with mode: 0644]
source/blender/draw/engines/workbench/shaders/workbench_deferred_composite_frag.glsl
source/blender/draw/engines/workbench/shaders/workbench_prepass_frag.glsl
source/blender/draw/engines/workbench/shaders/workbench_prepass_vert.glsl
source/blender/draw/engines/workbench/workbench_data.c
source/blender/draw/engines/workbench/workbench_deferred.c
source/blender/draw/engines/workbench/workbench_materials.c
source/blender/draw/engines/workbench/workbench_private.h
source/blender/editors/space_view3d/space_view3d.c
source/blender/makesdna/DNA_view3d_types.h
source/blender/makesrna/intern/rna_scene.c
source/blender/makesrna/intern/rna_space.c