Back to index

Hello triangle!

Exercises

  1. Move the triangle by changing the positions in the vertices list.
  2. Change the appearance of the triangle by altering the color in the fragment shader.

Vertices

Vertex shader

Fragment shader