Flat Surface Shader — 3D effects with 2D technology

HTML5 / Added on April 18, 2013 / Add to favorites

Flat Surface Shader is a great alternative to creating 3D effects with WebGL (which isn’t entire cross-platform compatible). For the demo, it can work with the 2D context of a canvas element or an array of SVG polygons. And it uses Float32Arrays to store numerical data, making it much more efficient at calculations.

flat surface shader