diff --git a/src/main/resources/Shaders/frag.shader b/src/main/resources/Shaders/frag.shader index d9e78fa..86c28c9 100644 --- a/src/main/resources/Shaders/frag.shader +++ b/src/main/resources/Shaders/frag.shader @@ -1,4 +1,4 @@ -#version 330 +#version 400 in vec2 tc; out vec4 color; uniform sampler2D samp; diff --git a/src/main/resources/Shaders/vertex.shader b/src/main/resources/Shaders/vertex.shader index 3fcd937..c07b5bc 100644 --- a/src/main/resources/Shaders/vertex.shader +++ b/src/main/resources/Shaders/vertex.shader @@ -1,4 +1,4 @@ -#version 330 +#version 400 layout (location=0) in vec3 pos; layout (location=1) in vec2 texCoord; out vec2 tc;