Files
IAS-SS/shaders/basic.frag

9 lines
151 B
GLSL
Raw Normal View History

#version 120
uniform sampler2D sTexture;
2016-06-26 06:54:18 -04:00
void main() {
vec4 tex = texture2D(sTexture, gl_TexCoord[0].st);
gl_FragColor = clamp(tex, 0.0, 1.0);
}