forked from bartvdbraak/blender
Fix T48553: Cycles GLSL Box projection produces strong artifacts
This commit is contained in:
parent
4f730b4708
commit
ea8a7397e4
@ -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
Block a user