02561

Computer Grafik
home

Shaders and buffers

Part 2
Shaders and buffers

Oops ... your browser doesn't support the HTML5 canvas element

Shaders and buffers.

  • Load and compile a shader program. Write a basic vertex shader and a constant color fragment shader. [Angel 2.8.3 to 2.8.8]
  • Setup a vertex buffer with the corresponding attribute pointer. Add the coordinates and draw three points of size 20 pixels, like in the figure. [Angel 2.4, 2.8, and 2.5.3]


home