8 lines
126 B
GLSL
8 lines
126 B
GLSL
uniform sampler2D tex;
|
|
|
|
varying vec4 ambient;
|
|
|
|
|
|
void main() {
|
|
gl_FragColor = ambient * texture2D(tex, gl_TexCoord[0].st);
|
|
}
|