[Webkit-unassigned] [Bug 259768] New: SRGB8_APLHA8 is broken when using video textures.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Aug 3 01:48:15 PDT 2023
https://bugs.webkit.org/show_bug.cgi?id=259768
Bug ID: 259768
Summary: SRGB8_APLHA8 is broken when using video textures.
Product: WebKit
Version: Safari 16
Hardware: Mac (Apple Silicon)
OS: macOS 13
Status: NEW
Severity: Normal
Priority: P2
Component: WebGL
Assignee: webkit-unassigned at lists.webkit.org
Reporter: michael.herzog at human-interactive.org
CC: dino at apple.com, kbr at google.com, kkinnunen at apple.com
three.js is using SRGB8_APLHA8 for sRGB encoded textures. That works fine for textures loaded via the <img> or <canvas> tag.
three.js provides a video texture class based on the <video> tag like demonstrated in the following example.
https://threejs.org/examples/webgl_video_panorama_equirectangular
As you can see, the colors are washed out though. That's because when configuring the video texture as SRGB8_APLHA8, the color space conversion to linear-srgb does not work anymore.
The demo does work as expected in Edge, Chrome and Firefox.
--
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/20230803/febb337f/attachment.htm>
More information about the webkit-unassigned
mailing list