WebGL Beginner's Guide - Chapter 2

Rendering a trapezoid

WebGL uses buffers to store and process vertex and index data. The mechanism is the same whether we are rendering a simple object like a trapezoid or a racing car as we will see later on.

Your browser does not support the HTML5 canvas element.
Please select one option: