uintBitsToFloat conversion

I wonder if I get after the uintBitsToFloat then floatBitsToUint conversions the same Uint? There are only float32 textures in WebGL yet.

I don’t think uintBitsToFloat or floatBitsToUint are supported by WebGL as it is an OpenGL 3 hardware feature.

WebGL doesn’t support even Uint. But you can switch off shader-validation and use OpenGL drivers (instead of ANGLE). Then shaders are just passed to OpenGL drivers and you can get 400GFlops in nightly Chromium on your home PC in N-Body simulations (I use Radeon 4870)
http://www.ibiblio.org/e-notes/webgl/webgl.htm
I’d like to make more accurate Monte-Carlo simulations now.

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.