blob: cc7f81219c5567aa76c667ef57656f12bce9f4ad (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#version 330 core
in vec2 TexCoord;
out vec4 color;
uniform sampler2D blockTexture;
uniform int block;
uniform float time;
void main()
{
color = texture(blockTexture,TexCoord);
//color = vec4(TexCoord.x,TexCoord.y,0.0,1.0);
}
|