Category: WebGL

WebGL

WebGL : Basic Transformation

This example shows how you can rotate a rectangle in WebGL. Open the Javascript tab and the see the code with inline explanation.

WebGL

WebGL : Draw Modes

In WebGL, you have to specify the mode to be used by the drawing API. Modes are defined as constants and you can access it using WebGL context. In the working example given below you can try changing

WebGL

WebGL : Starter Kit for Drawing

I was searching for a good tutorial on WebGL and found this one, WebGL Basics quite interesting. First two or three pages of this explains the architecture of WebGL and how it works. It really helps y