fix: declare vPosition input in fragment shader to prevent panic

This commit is contained in:
2025-10-02 13:30:32 +02:00
parent 4db360df39
commit eeb4e95217

View File

@@ -3,6 +3,7 @@
layout(location = 0) out vec4 color;
in vec4 vColor;
in vec3 vNormal;
in vec3 vPosition;
void main() {
vec3 lightDirection = normalize(vec3(0.8, -0.5, 0.6));