You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Textures loaded by GLTFModel should be sRGB when they are for PBR materials, and GLTFModel attempts to set the encoding property as such, however that property is read only. Therefore, they are always linear.
When I use "pbrMetallicRoughness" in my model.gltf, it shows this following error:
Cannot set property encoding of # which has only a getter.
or
TypeError: Attempted to assign to readonly property.
Textures loaded by GLTFModel should be sRGB when they are for PBR materials, and GLTFModel attempts to set the
encoding
property as such, however that property is read only. Therefore, they are alwayslinear
.https://github.com/xeolabs/xeogl/blob/master/examples/js/models/glTFModel.js#L876
The text was updated successfully, but these errors were encountered: