glTF-Sample-Viewer
glTF-Sample-Viewer copied to clipboard
Confirm color encoding for spec-gloss and sheen textures
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
thanks for reporting this, we fixed it with commit 68eb9d2