still trying to fix the problem

This commit is contained in:
Anakin
2016-12-14 17:20:20 +01:00
parent 96379a9afb
commit b6ef34f988
7 changed files with 255 additions and 84 deletions

View File

@@ -1,4 +1,4 @@
#version 450
#version 330
// Input
in vec2 UV;
@@ -8,5 +8,5 @@ out vec4 color;
void main()
{
color = texture(textureSampler, UV).rgb;
color = {255,0,0};//texture(textureSampler, UV).rgb;
}

View File

@@ -1,4 +1,4 @@
#version 450
#version 330
// Input vertex data, different for all executions of this shader
layout(location = 0) in vec3 vertexPosition;