From 5e613198e59124986ab3e4bdb8829f77e2284450 Mon Sep 17 00:00:00 2001 From: Antony Riakiotakis Date: Thu, 12 Feb 2015 18:54:41 +0100 Subject: Viewport compositing - first code This commit introduces a few ready made effects for the 3D viewport and OpenGL rendering. Included effects are Depth of Field, accessible from camera view and screen space ambient occlusion. Those effects can be turned on and tweaked from the shading panel in the 3D viewport. Off screen rendering will use the settings of the current camera. WIP documentation can be found here: http://wiki.blender.org/index.php/User:Psy-Fi/Framebuffer_Post-processing --- SConstruct | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'SConstruct') diff --git a/SConstruct b/SConstruct index 7de9f2c243c..225b532c8a0 100644 --- a/SConstruct +++ b/SConstruct @@ -761,6 +761,11 @@ if B.targets != ['cudakernels']: data_to_c_simple("source/blender/gpu/shaders/gpu_shader_vertex_world.glsl") data_to_c_simple("source/blender/gpu/shaders/gpu_shader_vsm_store_frag.glsl") data_to_c_simple("source/blender/gpu/shaders/gpu_shader_vsm_store_vert.glsl") + data_to_c_simple("source/blender/gpu/shaders/gpu_shader_fx_ssao_frag.glsl") + data_to_c_simple("source/blender/gpu/shaders/gpu_shader_fx_dof_frag.glsl") + data_to_c_simple("source/blender/gpu/shaders/gpu_shader_fx_dof_vert.glsl") + data_to_c_simple("source/blender/gpu/shaders/gpu_shader_fx_lib.glsl") + data_to_c_simple("source/blender/gpu/shaders/gpu_shader_fx_vert.glsl") data_to_c_simple("intern/opencolorio/gpu_shader_display_transform.glsl") # --- blender --- -- cgit v1.2.3