diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2016-05-31 10:49:27 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2016-05-31 10:50:24 +0300 |
commit | ea8a7397e46b374f65adf0f08f1d0578ccc06126 (patch) | |
tree | 2a9dd5dca8582f7ec6524c43516881459c94de0d /source/blender/gpu | |
parent | 4f730b4708a4850e7fe35a8d701d5ef013973a92 (diff) |
Fix T48553: Cycles GLSL Box projection produces strong artifacts
Diffstat (limited to 'source/blender/gpu')
-rw-r--r-- | source/blender/gpu/shaders/gpu_shader_material.glsl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/gpu/shaders/gpu_shader_material.glsl b/source/blender/gpu/shaders/gpu_shader_material.glsl index 91ca6a51bbb..666857cb42d 100644 --- a/source/blender/gpu/shaders/gpu_shader_material.glsl +++ b/source/blender/gpu/shaders/gpu_shader_material.glsl @@ -2976,7 +2976,7 @@ void node_tex_image_box(vec3 texco, /* Desperate mode, no valid choice anyway, fallback to one side.*/ weight.x = 1.0; } - + color = vec4(0); if (weight.x > 0.0) { color += weight.x * texture2D(ima, texco.yz); } |