diff --git a/core/src/main/resources/shaders/curve.vert b/core/src/main/resources/shaders/curve.vert index 5228831c7..5db053d1e 100644 --- a/core/src/main/resources/shaders/curve.vert +++ b/core/src/main/resources/shaders/curve.vert @@ -29,7 +29,7 @@ uniform float earthRadius; */ void main() { - vPos = vPosition.x; // This is so it can be passed to the fragment shader + vPos = vPosition; // This is so it can be passed to the fragment shader vertexWorldPos = vPosition.xyz + modelOffset;