torstai 9. syyskuuta 2010

Samples broken

My WebGL samples are now broken in Firefox 4 beta 5, there is a bug in the new beta that truncates floating point literals in the shaders. Hopefully this will be fixed with the next version of the beta. I have now updated the samples so that they should work on Chrome Canary Build.

sunnuntai 5. syyskuuta 2010

Dynamic terrain

Firefox beta was updated and my examples became broken. Hopefully they won't become broken anymore except when support for WebGLFloatArray is dropped. I uploaded fixed versions and a sample that shows how to use displacement mapping to implement dynamic terrain. This sample is written quite lazily so the terrain height map is just the same as the "cellular flow" example.