View Full Version : uintBitsToFloat conversion

01-20-2011, 06:31 AM
I wonder if I get after the uintBitsToFloat then floatBitsToUint conversions the same Uint? There are only float32 textures in WebGL yet.

01-20-2011, 08:53 AM
I don't think uintBitsToFloat or floatBitsToUint are supported by WebGL as it is an OpenGL 3 hardware feature.

01-20-2011, 09:23 PM
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)
I'd like to make more accurate Monte-Carlo simulations now.