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:
Diffstat (limited to 'intern/cycles/kernel/shaders/node_image_texture.osl')
-rw-r--r--intern/cycles/kernel/shaders/node_image_texture.osl12
1 files changed, 0 insertions, 12 deletions
diff --git a/intern/cycles/kernel/shaders/node_image_texture.osl b/intern/cycles/kernel/shaders/node_image_texture.osl
index 9e2ef84c872..cb1c6caace2 100644
--- a/intern/cycles/kernel/shaders/node_image_texture.osl
+++ b/intern/cycles/kernel/shaders/node_image_texture.osl
@@ -59,7 +59,6 @@ color image_texture_lookup(string filename,
float u,
float v,
output float Alpha,
- int compress_as_srgb,
int ignore_alpha,
int unassociate_alpha,
int is_float,
@@ -89,10 +88,6 @@ color image_texture_lookup(string filename,
rgb = min(rgb, 1.0);
}
- if (compress_as_srgb) {
- rgb = color_srgb_to_scene_linear(rgb);
- }
-
return rgb;
}
@@ -104,7 +99,6 @@ shader node_image_texture(int use_mapping = 0,
string interpolation = "smartcubic",
string extension = "periodic",
float projection_blend = 0.0,
- int compress_as_srgb = 0,
int ignore_alpha = 0,
int unassociate_alpha = 0,
int is_tiled = 0,
@@ -122,7 +116,6 @@ shader node_image_texture(int use_mapping = 0,
p[0],
p[1],
Alpha,
- compress_as_srgb,
ignore_alpha,
unassociate_alpha,
is_float,
@@ -201,7 +194,6 @@ shader node_image_texture(int use_mapping = 0,
p[1],
p[2],
tmp_alpha,
- compress_as_srgb,
ignore_alpha,
unassociate_alpha,
is_float,
@@ -215,7 +207,6 @@ shader node_image_texture(int use_mapping = 0,
p[0],
p[2],
tmp_alpha,
- compress_as_srgb,
ignore_alpha,
unassociate_alpha,
is_float,
@@ -229,7 +220,6 @@ shader node_image_texture(int use_mapping = 0,
p[1],
p[0],
tmp_alpha,
- compress_as_srgb,
ignore_alpha,
unassociate_alpha,
is_float,
@@ -245,7 +235,6 @@ shader node_image_texture(int use_mapping = 0,
projected[0],
projected[1],
Alpha,
- compress_as_srgb,
ignore_alpha,
unassociate_alpha,
is_float,
@@ -259,7 +248,6 @@ shader node_image_texture(int use_mapping = 0,
projected[0],
projected[1],
Alpha,
- compress_as_srgb,
ignore_alpha,
unassociate_alpha,
is_float,