pex-gl / pex-context

Modern WebGL state wrapper for PEX: allocate GPU resources (textures, buffers), setup state pipelines and passes, and combine them into commands.
http://pex-gl.github.io/pex-context/
MIT License
160 stars 12 forks source link

Texture with type HALF_FLOAT should convert to Float16Array instead of Float32Array #97

Closed dmnsgn closed 3 years ago

dmnsgn commented 3 years ago

https://github.com/pex-gl/pex-context/blob/fa32472e41f088bd0e74049adda3e515503888b9/texture.js#L189-L190

There's a question of support for iOS/Samsung galaxy devices here as well.

dmnsgn commented 3 years ago

No such thing as Float16Array.