[Webkit-unassigned] [Bug 240919] Material issues on Mac/iOS with WebGL via Metal
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue May 31 23:48:57 PDT 2022
https://bugs.webkit.org/show_bug.cgi?id=240919
Kimmo Kinnunen <kkinnunen at apple.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |WORKSFORME
--- Comment #9 from Kimmo Kinnunen <kkinnunen at apple.com> ---
Just pasting this for my personal use future use:
- OpenGL ES 3.0 states floating-point textures are not color-renderable (render to floating-point texture)
- EXT_color_buffer_float makes floating-point textures color-renderable
- EXT_color_buffer_float requires blending to be disabled when rendering to floating-point textures.
- EXT_float_blend allows blending to be enabled when rendering to floating-point textures.
In WebGL, EXT_float_blend is automatically enabled when enabling EXT_color_buffer_float, but only if EXT_float_blend is supported in the first place.
https://www.khronos.org/registry/webgl/extensions/EXT_color_buffer_float/
https://www.khronos.org/registry/webgl/extensions/EXT_float_blend/
https://www.khronos.org/registry/webgl/specs/latest/1.0/
https://www.khronos.org/registry/webgl/specs/2.0/
https://www.khronos.org/registry/OpenGL/specs/es/3.0/es_spec_3.0.pdf
https://www.khronos.org/registry/OpenGL/extensions/EXT/EXT_float_blend.txt
https://www.khronos.org/registry/OpenGL/extensions/EXT/EXT_color_buffer_float.txt
Closing as working as intended.
There's something to be said about Web Inspector being able to identify this, but likely it wouldn't have helped as this was failing on device and people (including me) rarely look for the errors on device...
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220601/1a1eefbd/attachment-0001.htm>
More information about the webkit-unassigned
mailing list