Closed vorg closed 5 years ago
Currently baseColorFactor and emissiveFactor, specularFactor and diffuseFactor are linear in glTF but sRGB in our shaders (as values usually come from hex codes or sliders). That means they appear darker when read from glTF.
baseColorFactor
emissiveFactor
specularFactor
diffuseFactor
Related: Linear Material Colors #36
This is especially visible for models without textures
Before
After
Currently
baseColorFactor
andemissiveFactor
,specularFactor
anddiffuseFactor
are linear in glTF but sRGB in our shaders (as values usually come from hex codes or sliders). That means they appear darker when read from glTF.