glTF-Sample-Viewer icon indicating copy to clipboard operation
glTF-Sample-Viewer copied to clipboard

Confirm color encoding for spec-gloss and sheen textures

Open lexaknyazev opened this issue 5 years ago • 1 comments

As per the glTF extension specs, specularGlossinessTexture and sheenColorTexture use sRGB encoding.

The sample-viewer doesn't mark them as non-linear: https://github.com/ux3d/glTF-Sample-Viewer/blob/develop/source/gltf/material.js#L493 https://github.com/ux3d/glTF-Sample-Viewer/blob/develop/source/gltf/material.js#L527

lexaknyazev avatar Feb 15 '21 15:02 lexaknyazev

thanks for reporting this, we fixed it with commit 68eb9d2

mobecher avatar Feb 16 '21 10:02 mobecher