forked from bartvdbraak/blender
Fix #30811: glsl error in material draw mode, due to recent commit.
This commit is contained in:
parent
a006813919
commit
503785649d
@ -2083,9 +2083,10 @@ void node_tex_environment(vec3 co, sampler2D ima, out vec4 color)
|
||||
color = texture2D(ima, vec2(u, v));
|
||||
}
|
||||
|
||||
void node_tex_image(vec3 co, sampler2D ima, out vec4 color)
|
||||
void node_tex_image(vec3 co, sampler2D ima, out vec4 color, out float alpha)
|
||||
{
|
||||
color = texture2D(ima, co.xy);
|
||||
alpha = color.a;
|
||||
}
|
||||
|
||||
void node_tex_magic(vec3 p, float scale, float distortion, out vec4 color, out float fac)
|
||||
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user