parent
d220a87b47
commit
df99c54b5b
Notes:
blender-bot
2023-02-14 06:00:51 +01:00
Referenced by issue #63404, EEVEE Volume Material Outpouts don't show in viewport or renders.
|
@ -2099,7 +2099,7 @@ void node_tex_image_linear_no_mip(vec3 co, sampler2D ima, out vec4 color, out fl
|
|||
void node_tex_image_nearest(vec3 co, sampler2D ima, out vec4 color, out float alpha)
|
||||
{
|
||||
ivec2 pix = ivec2(fract(co.xy) * textureSize(ima, 0).xy);
|
||||
color = clamp(texelFetch(ima, pix, 0));
|
||||
color = safe_color(texelFetch(ima, pix, 0));
|
||||
alpha = color.a;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue