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.
This example shows how you can rotate a rectangle in WebGL. Open the Javascript tab and the see the code with inline explanation.
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
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