diff --git a/exercise1/glsl/shader.vert b/exercise1/glsl/shader.vert index 4e76036..46f6d96 100644 --- a/exercise1/glsl/shader.vert +++ b/exercise1/glsl/shader.vert @@ -22,5 +22,5 @@ void main() fragment_color = in_color; - julia_position = julia_positions[gl_VertexID]; + julia_position = julia_positions[gl_VertexID % 3]; } \ No newline at end of file