Ambient Occlusion split up into:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>
Wed, 27 Jan 2010 21:40:08 +0000 (21:40 +0000)
committerBrecht Van Lommel <brechtvanlommel@pandora.be>
Wed, 27 Jan 2010 21:40:08 +0000 (21:40 +0000)
commit5445dda2956d64385b20874592b3305b7056505a
tree59975e804583931180994c24b0d3d04e485e7d0f
parent478dc000b3d65af48422154769641a3ecbe071d8
Ambient Occlusion split up into:

Ambient occlusion: multiplied with direct lighting by default, add
is also still available and more blending methods might be added if
they are useful. This is fundamentally a non physical effect.

Environment lighting: always added as you would expect (though you can
subtract by specifying negative energy). This can be just white or take
colors or textures from the world.

Indirect lighting: only supported for AAO at the moment (and is still
too approximate), and also is always added. A factor is available to
specify how much is added, though value 1.0 is correct.

Also:
* Material ambient value now defaults to 1.0.
* Added Environment, Indirect and Emit pass.
* "Both" blending method is no longer available.
* Attenuation, sampling parameters are still shared, some could be split
  up, though if they are different this would affect performance.
23 files changed:
release/scripts/ui/properties_render.py
release/scripts/ui/properties_world.py
source/blender/blenkernel/BKE_blender.h
source/blender/blenkernel/intern/material.c
source/blender/blenkernel/intern/world.c
source/blender/blenloader/intern/readfile.c
source/blender/makesdna/DNA_scene_types.h
source/blender/makesdna/DNA_world_types.h
source/blender/makesrna/intern/rna_render.c
source/blender/makesrna/intern/rna_scene.c
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/include/rendercore.h
source/blender/render/intern/source/convertblender.c
source/blender/render/intern/source/occlusion.c
source/blender/render/intern/source/pipeline.c
source/blender/render/intern/source/rayshade.c
source/blender/render/intern/source/rendercore.c
source/blender/render/intern/source/shadeinput.c
source/blender/render/intern/source/shadeoutput.c
source/blender/render/intern/source/strand.c
source/blender/render/intern/source/zbuf.c