diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2013-06-07 16:45:26 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2013-06-07 16:45:26 +0400 |
commit | a604fb730dd62a2730a3a753adc057abb93296cb (patch) | |
tree | ba8733ea17c330407455404abbbc64717cc78f63 /intern/cycles/kernel/kernel_accumulate.h | |
parent | ddee696bc76481846673f613344d85310ecf0524 (diff) |
Cycles: mist pass added, with start/depth/falloff control. If the pass is
enabled in a render layer a Mist Pass panel will be shown in the world
properties.
Diffstat (limited to 'intern/cycles/kernel/kernel_accumulate.h')
-rw-r--r-- | intern/cycles/kernel/kernel_accumulate.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/intern/cycles/kernel/kernel_accumulate.h b/intern/cycles/kernel/kernel_accumulate.h index 1cf230634fc..557990d7220 100644 --- a/intern/cycles/kernel/kernel_accumulate.h +++ b/intern/cycles/kernel/kernel_accumulate.h @@ -141,6 +141,7 @@ __device_inline void path_radiance_init(PathRadiance *L, int use_light_pass) L->background = make_float3(0.0f, 0.0f, 0.0f); L->ao = make_float3(0.0f, 0.0f, 0.0f); L->shadow = make_float4(0.0f, 0.0f, 0.0f, 0.0f); + L->mist = 0.0f; } else L->emission = make_float3(0.0f, 0.0f, 0.0f); |