startAttrPreset( "renderPass" ); global string $gAEAttrPresetCurrentTarget; if(`optionVar -exists "beautyPassTypeReflRefrac"` && (`optionVar -q "beautyPassTypeReflRefrac"` != 0)) { setRenderPassType -defaultDataType -type "BEAUTY" $gAEAttrPresetCurrentTarget; blendAttr "minReflectionLevel" 1; } else setRenderPassType -defaultDataType -type "REFL" $gAEAttrPresetCurrentTarget; blendAttrStr "passGroupName" "Illumination"; blendAttr "renderable" 1; endAttrPreset();