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.
14 lines
196 B
14 lines
196 B
3 years ago
|
#version 130
|
||
|
in vec2 textCoord;
|
||
|
|
||
|
out vec4 FragColor;
|
||
|
|
||
|
uniform vec4 color;
|
||
|
uniform sampler2D texture1;
|
||
|
|
||
|
void main()
|
||
|
{
|
||
|
// FragColor = color;
|
||
|
FragColor = texture(texture1, textCoord) * color;
|
||
|
}
|