diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2010-02-07 18:24:10 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2010-02-07 18:24:10 +0300 |
commit | f9917af00b5459f56f1108a1aa20498ed1b62ad4 (patch) | |
tree | b46233a8af02960a26cf67582098816a99d6284f /source/blender/render/intern/include/shading.h | |
parent | 3bd78cf8f65b00b8727ab22d11c5e8210ece7207 (diff) |
Fix #20914: non-normalized AO baking was not working anymore.
Diffstat (limited to 'source/blender/render/intern/include/shading.h')
-rw-r--r-- | source/blender/render/intern/include/shading.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/render/intern/include/shading.h b/source/blender/render/intern/include/shading.h index 95bccd2be1e..d6a18cf2cd8 100644 --- a/source/blender/render/intern/include/shading.h +++ b/source/blender/render/intern/include/shading.h @@ -86,8 +86,8 @@ void shade_lamp_loop(struct ShadeInput *shi, struct ShadeResult *shr); void shade_color(struct ShadeInput *shi, ShadeResult *shr); -void ambient_occlusion_to_diffuse(struct ShadeInput *shi, float *diff); void ambient_occlusion(struct ShadeInput *shi); +void environment_lighting_apply(struct ShadeInput *shi, struct ShadeResult *shr); ListBase *get_lights(struct ShadeInput *shi); float lamp_get_visibility(struct LampRen *lar, float *co, float *lv, float *dist); |