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.
|
uniform vec3 color = vec3(1.0, 1.0, 1.0);
|
|
uniform sampler2D textureData;
|
|
|
|
in vec2 interpolatedTextureCoordinates;
|
|
|
|
out vec4 fragmentColor;
|
|
|
|
void main() {
|
|
fragmentColor.rgb = color*texture(textureData, interpolatedTextureCoordinates).rgb;
|
|
fragmentColor.a = 1.0;
|
|
}
|