[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Public WebGL] WEBGL_compressed_texture_s3tc_srgb

Thanks Christophe for putting together this proposal. It can be viewed at https://www.khronos.org/registry/webgl/extensions/proposals/WEBGL_compressed_texture_s3tc_srgb/ .

It looks good overall. One minor question: in the underlying EXT_sRGB extension spec:

issue 22 says:
"Should the new COMPRESSED_SRGB_* formats be listed in an implementation's GL_COMPRESSED_TEXTURE_FORMATS list?"

I think the behavior defined in your proposal -- adding these formats to that list -- is better than that defined by the native extension, but do you think there's any compatibility risk?



On Mon, Jun 13, 2016 at 12:46 PM, Christophe Riccio <christophe.riccio@unity3d.com> wrote:
Hi community!

I ran on a case where DXT textures are supported, sRGB textures are supported but sRGB DXT textures are not supported.

This is pretty unfortunate because it makes supporting linear rendering more complicated than it should while hardware that support both DXT textures and sRGB textures should actually support sRGB DXT textures.

As a result, I wrote a proposal (including more details!) for which I would enjoy reviews and feedback.