0

我弄错了还是 WebGL2ReneringContext 不应该公开 SRGB_ALPHA 的属性?Chrome 仅公开 SRGB、SRGB8 和 SRGB8_ALPHA8。

4

1 回答 1

1

There is no SRGB_ALPHA in WebGL2 because there is no SRGB_ALPHA in OpenGL ES 3.0 on which WebGL2 is based.

See the spec:

https://www.khronos.org/registry/OpenGL/specs/es/3.0/es_spec_3.0.pdf

and/or the OpenGL ES 3.0 header file

https://www.khronos.org/registry/OpenGL/api/GLES3/gl3.h

于 2018-06-25T23:03:44.847 回答