Added new render pass: "Mist".
[blender.git] / source / blender / render / intern / source / rendercore.c
index d0ea69dc833ec1182d895e78029c786210384050..dbe149115d9a6c9b33fd13d57fd15c05da57dcfa 100644 (file)
@@ -400,6 +400,12 @@ static void add_filt_passes(RenderLayer *rl, int curmask, int rectx, int offset,
                                                *fp= (float)shi->obr->ob->index;
                                }
                                break;
+                       case SCE_PASS_MIST:
+                               /*  */
+                               col= &shr->mist;
+                               pixsize= 1;
+                               break;
+                       
                        case SCE_PASS_VECTOR:
                        {
                                /* add minimum speed in pixel, no filter */