1
0
Fork 0
spectre/assets/shaders/standard.frag.glsl
2016-01-10 09:26:43 +01:00

11 lines
212 B
GLSL

#version 330 core
uniform sampler2D u_tex0;
in vec4 vColor; // Vertex color.
in vec2 vTexCoord; // Texture coordinate.
out vec4 fragColor;
void main() {
fragColor = vColor * texture2D(u_tex0, vTexCoord);
}