Three.js: MeshStandardMaterialSG - Only available to GLTF loader?

Created on 21 Mar 2020  路  1Comment  路  Source: mrdoob/three.js

The material doesn't appear to be listed in the official docs, and according to the related PR, it seems to be only implemented in the GLTF loader?

Is there a reason it is only supported for assets loaded in via GLTF?

Question

Most helpful comment

@polarathene yes, the material is only created by GLTFLoader. There are two common PBR workflows: metal/rough and spec/gloss. MeshStandardMaterial implements metal/rough, but glTF allows both, and so MeshStandardMaterialSG is used when a model contains spec/gloss materials.

There is very little difference between the two, and I do not believe it is worth supporting both as official three.js materials.

>All comments

@polarathene yes, the material is only created by GLTFLoader. There are two common PBR workflows: metal/rough and spec/gloss. MeshStandardMaterial implements metal/rough, but glTF allows both, and so MeshStandardMaterialSG is used when a model contains spec/gloss materials.

There is very little difference between the two, and I do not believe it is worth supporting both as official three.js materials.

Was this page helpful?
0 / 5 - 0 ratings