Fix T48553: Cycles GLSL Box projection produces strong artifacts
This commit is contained in:
parent
4f730b4708
commit
ea8a7397e4
Notes:
blender-bot
2023-02-14 07:51:25 +01:00
Referenced by issue #48553, Cycles GLSL - Box projection in Image node produces strong artifacts.
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue