11 lines
199 B
Plaintext
11 lines
199 B
Plaintext
uniform sampler2D Texture;
|
|
|
|
varying vec2 texCoord;
|
|
|
|
void main()
|
|
{
|
|
vec4 texColor = texture2D(Texture,texCoord).rgba;
|
|
gl_FragColor = vec4(texColor.rgb,gl_FrontMaterial.diffuse.a * texColor.a);
|
|
|
|
}
|