branch | v_0 |
changeset 2 | 3faef2f5128e |
parent 0 | bb715a82a8f1 |
child 4 | 9aba96f0b001 |
1:fb65455622b9 | 2:3faef2f5128e |
---|---|
1 #version 330 core |
1 #version 330 core |
2 |
2 |
3 uniform sampler2D jazz; |
3 uniform sampler2D uTexture; |
4 in vec2 textureCoordinate; |
4 in vec2 vTextureXY; |
5 out vec3 outColor; |
5 out vec3 fColor; |
6 |
6 |
7 void main(){ |
7 void main(){ |
8 outColor = texture(jazz, textureCoordinate).xyz; |
8 fColor = texture(uTexture, vTextureXY).rgb; |
9 // outColor *= vec3(0.8, 1., 0.2); |
9 // fColor *= vec3(0.8, 1., 0.2); |
10 } |
10 } |