playcanvas / engine

JavaScript game engine built on WebGL, WebGPU, WebXR and glTF
https://playcanvas.com
MIT License
9.52k stars 1.33k forks source link

Display-P3 colorspace #5287

Open Krutsch opened 1 year ago

Krutsch commented 1 year ago

Hi there, do you have plans to support this colorspace? It is not yet supported in Firefox, but fully in Chrome and partially in Safari.

Reference https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/drawingBufferColorSpace https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/unpackColorSpace https://www.w3.org/Graphics/Color/Workshop/slides/talk/russell

mvaligursky commented 1 year ago

Hi @Krutsch - it looks interesting, and the examples of vibrant colors on Mac screen look fantastic. We have no plans for the near future, but perhaps at a later stage.

mvaligursky commented 6 months ago

This is probably what needs to be used here too: https://developer.chrome.com/blog/chrome-122-beta#webgl_drawingbufferstorage