Cycles: ambient occlusion support, with AO factor and distance, and a render pass.
[blender.git] / intern / cycles / blender / blender_session.cpp
index cc6ba0731880e002203ceb51c3b115245ed567cd..7f666706470d89077d6f7e68a283dd94b52613ad 100644 (file)
@@ -158,10 +158,11 @@ static PassType get_pass_type(BL::RenderPass b_pass)
                        return PASS_EMISSION;
                case BL::RenderPass::type_ENVIRONMENT:
                        return PASS_BACKGROUND;
+               case BL::RenderPass::type_AO:
+                       return PASS_AO;
 
                case BL::RenderPass::type_DIFFUSE:
                case BL::RenderPass::type_SHADOW:
-               case BL::RenderPass::type_AO:
                case BL::RenderPass::type_COLOR:
                case BL::RenderPass::type_REFRACTION:
                case BL::RenderPass::type_SPECULAR: