Cycles: make shader node enums consistently lower case, update OSL shaders accordingly.

This commit is contained in:
Brecht Van Lommel
2016-06-11 21:56:47 +02:00
parent b8112a8960
commit ebdd2e0b6d
22 changed files with 225 additions and 225 deletions

View File

@@ -45,9 +45,9 @@ shader node_anisotropic_bsdf(
RoughnessV = Roughness / (1.0 - aniso);
}
if (distribution == "Sharp")
if (distribution == "sharp")
BSDF = Color * reflection(Normal);
else if (distribution == "Beckmann")
else if (distribution == "beckmann")
BSDF = Color * microfacet_beckmann_aniso(Normal, T, RoughnessU, RoughnessV);
else if (distribution == "GGX")
BSDF = Color * microfacet_ggx_aniso(Normal, T, RoughnessU, RoughnessV);