Fix cycles backwards compatibility for specular_toon shader this actually needs
[blender.git] / intern / cycles / kernel / osl / osl_closures.cpp
index 8473f800d398e079a806f4b83ae145f4762bc6e4..b1549e95920e8f281b6f39534c8d7c8759cf6b7d 100644 (file)
@@ -198,6 +198,8 @@ void OSLShader::register_closures(OSLShadingSystem *ss_)
                bsdf_diffuse_toon_params(), bsdf_diffuse_toon_prepare);
        register_closure(ss, "glossy_toon", id++,
                bsdf_glossy_toon_params(), bsdf_glossy_toon_prepare);
+       register_closure(ss, "specular_toon", id++,
+               bsdf_glossy_toon_params(), bsdf_glossy_toon_prepare);
        register_closure(ss, "westin_backscatter", id++,
                bsdf_westin_backscatter_params(), bsdf_westin_backscatter_prepare);
        register_closure(ss, "westin_sheen", id++,