deathcap / gl-css3d

sync CSS 3D transformations to a WebGL scene
http://deathcap.github.io/gl-css3d
MIT License
33 stars 6 forks source link

Add a bunny to the demo so its more 3D #4

Closed deathcap closed 9 years ago

deathcap commented 9 years ago

To make the demo more interesting (instead of merely a flat movable plane, which doesn't show it is part of WebGL), demonstrating overlapping 3D, as in this screenshot from voxel-webview for three.js:

687474703a2f2f692e696d6775722e636f6d2f546c555a5847592e706e67-1

initial commit reusing the same shader as for the cutout, so the bunny doesn't yet look like this:

68747470733a2f2f7261772e6769746875622e636f6d2f6d696b6f6c616c7973656e6b6f2f62756e6e792f6d61737465722f696d616765732f62756e6e792e706e67