Crystal

Porting OpenGL shaders to WebGL:

A friend of mine has written some very nifty openGL code using Cinder that allows you to build your own shaders.

I spent a great deal of time trying to port it across to webGL, but have thus far been unsuccessul.

The image shown to the left is the result of raytracing, drawn with only two triangles

The vertex shader and fragment shader for the webGL version are accessible via the console