Ruskul
'Having support for webgl, but then no documentation is like if there was no documentation for the sdk. Sure you can figure out everything through trial and error, and simply going through code, but that can take hours.'
----------------------------------------------------------------
There are quite a few shader tutorials and guides on the forums -
The following topics in the Effects section might help-
' Documentation on built-in uniforms'
' About WebGL effects'
'WebGL Effects List '
The easiest method is to download the 'javascript-sdk-template'.
Inside you will find the 'effect template' and start from that.
Many of the standard shaders supplied with C2 have descriptive lines included-
Good luck.