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. See more Frame and Render Buffer examples.

Learn 3D Programming with Screen Shots Learn 3D Programming with Screen Shots
Copyright © 2015 Seven Thunder Software. All Rights Reserved.