Fix shadercode

This commit is contained in:
Felix Koppe
2024-12-06 13:14:54 +01:00
parent 76f86c8a66
commit acd64d1507
6 changed files with 98 additions and 123 deletions

View File

@@ -1,8 +1,10 @@
// Use 'in' for vertex attributes
#version 150
// Vertex attributes
in vec4 inPosition;
in vec2 inTexCoord;
// Use 'out' for passing data to the fragment shader
// Output to fragment shader
out vec2 texCoord;
void main() {