WebGL Framebuffer

Framebuffer Renders Random Texture Colors

Swipe to Move the Cube

This example renders random solid
color textures, then maps the
texture to an interactive cube.

This WebGL framebuffer example displays
an interactive cube mapped with random colors for each frame.
Initialization sets transparency with
gl.blendFunc(gl.ONE, gl.ONE_MINUS_SRC_ALPHA);.
A random color renders to the framebuffer which colors the cube.