Approximate AO: Diffuse Bounce Hack
authorBrecht Van Lommel <brechtvanlommel@pandora.be>
Mon, 30 Nov 2009 18:42:13 +0000 (18:42 +0000)
committerBrecht Van Lommel <brechtvanlommel@pandora.be>
Mon, 30 Nov 2009 18:42:13 +0000 (18:42 +0000)
commitafe475b55b24ffdac9b9401bc81e5522ab901c4c
tree7b95addeb347a8b17449096dbd4315eaa58d5d1a
parent4a4fff5b213bbd32d5c43d9e0a664b428cd16389
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.
release/scripts/ui/properties_world.py
source/blender/makesdna/DNA_world_types.h
source/blender/makesrna/intern/rna_world.c
source/blender/render/extern/include/RE_shader_ext.h
source/blender/render/intern/include/render_types.h
source/blender/render/intern/source/occlusion.c
source/blender/render/intern/source/shadeoutput.c
source/blender/render/intern/source/strand.c