Fix #30811: glsl error in material draw mode, due to recent commit.

This commit is contained in:
Brecht Van Lommel 2012-04-04 16:11:10 +00:00
parent a006813919
commit 503785649d
2 changed files with 1481 additions and 1479 deletions

@ -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