WebGL Color Pick: readPixels()

Tap the Canvas to Select a Color from the 3D Scene

Swipe to View the Landscape and Move the Sprites

Swipe to view the background. Sprite shapes move off into the distance, then back again. Both the environment and sprite colors are stored in one texture.

Call the WebGL method readPixels(). Read the color under the mouse or touch point.

See more WebGL tutorials.

See More WebGL Tutorials!

Copyright © 2015 Seven Thunder Software. All Rights Reserved.