trying to give MVP via buffer,

nothing displayed -.-
This commit is contained in:
Anakin
2016-11-03 19:46:36 +01:00
parent 3af886450f
commit 9c12598bf5
5 changed files with 19 additions and 38 deletions

View File

@@ -0,0 +1,14 @@
#version 450 core
// Input
in vec2 UV;
// Ouput data
out vec3 color;
uniform sampler2D textureSampler;
void main()
{
color = texture(textureSampler, UV).rgb;
}