Back to index
Hello triangle!
Exercises
Move the triangle by changing the positions in the vertices list.
Change the appearance of the triangle by altering the color in the fragment shader.
Vertices
// x, y, z // x, y, z // x, y, z
Vertex shader
Fragment shader
Render window
Compile log
Compile