Rendering Directly to a Texture (with WebGL 2.0)

This page has the same functionality as render-to-texture.html, but it uses WebGL 2.0 Vertex Array Objects to organize the settings for each object and make it easier to switch between objects.

Drag your mouse on the object to rotate it.