Commit: 1d4050321091145ac51d717f73ac1d97d8460443
Author: Lukas Stockner
Date: Mon Jun 11 22:21:14 2018 +0200
Branches: temp-udim-images
https://developer.blender.org/rB1d4050321091145ac51d717f73ac1d97d8460443
Change out-of-bounds color for tiled images in GLSL to match missing images
===================================================================
M source/blender/gpu/shaders/gpu_shader_material.glsl
===================================================================
diff --git a/source/blender/gpu/shaders/gpu_shader_material.glsl
b/source/blender/gpu/shaders/gpu_shader_material.glsl
index ecab30bbb97..2a95007ee23 100644
--- a/source/blender/gpu/shaders/gpu_shader_material.glsl
+++ b/source/blender/gpu/shaders/gpu_shader_material.glsl
@@ -1802,7 +1802,7 @@ void node_tex_image_tiled_map(vec3 co, out vec4 color,
out vec3 map)
else
map = vec3(co.x - tx, co.y - ty, 10*ty + tx);
- color = vec4(0.0);
+ color = vec4(1.0, 0.0, 1.0, 1.0);
}
void node_tex_image_tile(vec3 map, float tile_id, sampler2D ima, vec4
in_color, out vec4 color, out float alpha)
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs