From afe475b55b24ffdac9b9401bc81e5522ab901c4c Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Mon, 30 Nov 2009 18:42:13 +0000 Subject: Approximate AO: Diffuse Bounce Hack This brings back the single bounce indirect diffuse lighting for AAO, it's not integrated well but that will be tackled later as part of shading system refactor and subdivision changes. The caveats are the same as AAO, with one extra thing, the diffuse lighting is sampled once per face, so it will not be accurate unless faces are subdivided. I'm committing this now so we can start testing it for Durian, and since changes need to make it work properly are planned. --- source/blender/makesdna/DNA_world_types.h | 1 + 1 file changed, 1 insertion(+) (limited to 'source/blender/makesdna/DNA_world_types.h') diff --git a/source/blender/makesdna/DNA_world_types.h b/source/blender/makesdna/DNA_world_types.h index 64ff23dd1a8..11ecbf97d97 100644 --- a/source/blender/makesdna/DNA_world_types.h +++ b/source/blender/makesdna/DNA_world_types.h @@ -107,6 +107,7 @@ typedef struct World { short aomode, aosamp, aomix, aocolor; float ao_adapt_thresh, ao_adapt_speed_fac; float ao_approx_error, ao_approx_correction; + float ao_indirect_energy, aopad; short ao_samp_method, ao_gather_method, ao_approx_passes; /* assorted settings (in the middle of ambient occlusion settings for padding reasons) */ -- cgit v1.2.3