diff --git a/src/qtk/shaders.h b/src/qtk/shaders.h index 2dc6ff4..57c5a45 100644 --- a/src/qtk/shaders.h +++ b/src/qtk/shaders.h @@ -109,11 +109,12 @@ void main() #version 330 uniform samplerCube uTexture; -varying vec3 vTexCoord; +in vec3 vTexCoord; +out vec4 FragColor; void main() { - gl_FragColor = texture(uTexture, vTexCoord); + FragColor = texture(uTexture, vTexCoord); } )"