OpenGL Test
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

13 lines
196 B

#version 130
in vec2 textCoord;
out vec4 FragColor;
uniform vec4 color;
uniform sampler2D texture1;
void main()
{
// FragColor = color;
FragColor = texture(texture1, textCoord) * color;
}