3 ms·
There is no requirement for integer arithmetic in WebGL 1; all numbers are essentially floats, even if the attribute is not float. Integer support is GLSL ES 3
by krona 5y ago
There is no requirement for integer arithmetic in WebGL 1; all numbers are essentially floats, even if the attribute is not float.
Integer support is GLSL ES 3.0 (the shader language) i.e. WebGL2.
- fulafel 5y agoIntentionally talking about about the years obsolete WebGL 1 feature set as "WebGL" while proposing WebGPU would be pretty iffy. If the issue is that WebGL 2, an incremental update to WebGL 1, doesn't have 100% user coverage after 4.5 years, WebGPU is going to be much farther off as it's not even fully specced yet. But since the article didn't say anything about webgl versions, it seems more likely that the author was just unaware.