flohofwoe.net

Another Demo Update

1
Mar
2014

I spent some more time wrestling with WebGL extensions, since the way I was doing OES_depth_texture ventured into undefined behaviour territory. Symptom was that lighting in Chrome on Windows didn’t work. Unfortunately there are still compatibility problems. Firefox 28.0 (on OSX at least) throws up on the framebuffer completeness check when attaching a depth texture as render target. This is fixed in current FF nightly. I also enabled Vertex Array Objects again, but this time with a proper check whether the extension is enabled.