Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@gmail.com>2016-06-11 22:56:47 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2016-06-12 00:50:11 +0300
commitebdd2e0b6d4cc8c2427070811a293a7e35a880c6 (patch)
tree353a26a6856194c2c9bad3cfd96d2a851475b59a /intern/cycles/kernel/shaders/node_environment_texture.osl
parentb8112a896003d34ce1099c3cc8f4fee6bd3520cc (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.osl4
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);