I am learning WebGL. Here is my progres

I am learning WebGL. Here is my progress so far.<br>Source: <a rel="nofollow"...
Tim HuttonTim Hutton - 2014-06-24 22:27:10+0000 - Updated: 2014-06-24 22:27:10+0000
I am learning WebGL. Here is my progress so far.
Source: https://github.com/timhutton/webgl-reaction-diffusion
Thanks to Christopher Wellons for his help with this!
All comments welcome.

WebGL reaction-diffusion demo

Shared with: Public, Felix Woitzel
Tim Hutton - 2014-06-25 16:53:40+0000
+Felix Woitzel, what's the status of float textures in WebGL, do you know? I've been packing my float32's into bytes manually but it would be nice not to have to do that.
Felix Woitzel - 2014-06-26 06:21:45+0000
look out for the extension "OES_texture_float" to generally enable float textures and "OES_texture_float_linear" for linear min/mag filters on those textures (interpolation with teximage2d)
Also, keep in mind that values are not naturally clamped to the range [0..1] when you render to a float texture. An expression like yourCol = clamp( yourCol, 0,, 1,); at the end of your fragment shader might save you some nerves when dealing with Turing patterns. ;)
Tim Hutton - 2014-06-30 17:45:50+0000 - Updated: 2014-06-30 17:46:11+0000
I found a great page that gives stats of what platforms support what WebGL extensions: http://webglstats.com/

This post was originally on Google+