Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTon Roosendaal <ton@blender.org>2008-01-19 14:17:12 +0300
committerTon Roosendaal <ton@blender.org>2008-01-19 14:17:12 +0300
commitc8841a7f2f0e885335295b3cda34097e117d0edb (patch)
treed7ffd2daa844967a42cba8944b95da0b318e3e29 /source/blender/render/extern
parente293eed86555487f1c64f4acbe8720690347452c (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.h2
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];