diff options
author | Ton Roosendaal <ton@blender.org> | 2008-01-19 14:17:12 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2008-01-19 14:17:12 +0300 |
commit | c8841a7f2f0e885335295b3cda34097e117d0edb (patch) | |
tree | d7ffd2daa844967a42cba8944b95da0b318e3e29 /source/blender/render/extern | |
parent | e293eed86555487f1c64f4acbe8720690347452c (diff) |
Added new render pass: "Mist".
This is actually just the alpha value as currently being calculated
by the mist code. It is in many cases not very useful to have this as
alpha in shading result, also for postprocess and composite.
Note: this pass also works with "Mist" not set in World, of course.
Diffstat (limited to 'source/blender/render/extern')
-rw-r--r-- | source/blender/render/extern/include/RE_shader_ext.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/render/extern/include/RE_shader_ext.h b/source/blender/render/extern/include/RE_shader_ext.h index 5d5db0471d8..8b5880ff507 100644 --- a/source/blender/render/extern/include/RE_shader_ext.h +++ b/source/blender/render/extern/include/RE_shader_ext.h @@ -47,7 +47,7 @@ typedef struct ShadeResult { float combined[4]; float col[4]; - float alpha; + float alpha, mist; float diff[3]; /* no ramps, shadow, etc */ float spec[3]; float shad[3]; |