diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2016-06-11 22:56:47 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2016-06-12 00:50:11 +0300 |
commit | ebdd2e0b6d4cc8c2427070811a293a7e35a880c6 (patch) | |
tree | 353a26a6856194c2c9bad3cfd96d2a851475b59a /intern/cycles/kernel/shaders/node_environment_texture.osl | |
parent | b8112a896003d34ce1099c3cc8f4fee6bd3520cc (diff) |
Cycles: make shader node enums consistently lower case, update OSL shaders accordingly.
Diffstat (limited to 'intern/cycles/kernel/shaders/node_environment_texture.osl')
-rw-r--r-- | intern/cycles/kernel/shaders/node_environment_texture.osl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/intern/cycles/kernel/shaders/node_environment_texture.osl b/intern/cycles/kernel/shaders/node_environment_texture.osl index 3a0b782c98e..0a7f602226d 100644 --- a/intern/cycles/kernel/shaders/node_environment_texture.osl +++ b/intern/cycles/kernel/shaders/node_environment_texture.osl @@ -44,7 +44,7 @@ shader node_environment_texture( matrix mapping = matrix(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), vector Vector = P, string filename = "", - string projection = "Equirectangular", + string projection = "equirectangular", string interpolation = "linear", string color_space = "sRGB", int is_float = 1, @@ -59,7 +59,7 @@ shader node_environment_texture( p = normalize(p); - if (projection == "Equirectangular") + if (projection == "equirectangular") p = environment_texture_direction_to_equirectangular(p); else p = environment_texture_direction_to_mirrorball(p); |