3dsmax exported FBX model, the default material is Meshphongmaterial, there is a way to change to the default MeshStandardMaterial type?
3dsmax exported FBX model, the default material is MeshPhongMaterial, there is a way to change to the default MeshStandardMaterial type?
The material three.js uses will be determined by the file format it is loading… what format and loader are you using here? You can certainly replace the materials on the mesh after loading.
I used FBX and FBXLoader, after loading, the default material is MeshphongMaterial
If you’re using FBX and loading with the three.js FBXLoader you’ll get a MeshPhongMaterial.
3DS Max does support exporting PBR materials to FBX but it’s not part of the standard spec and so far we haven’t added support to the loader.
There’s an open issue tracking this here:
In the meantime you can use FBX2GLTF to convert to glTF and load with the GLTFLoader.
I haven’t tested how accurately the PBR material properties come across this way but it seems to work well.
Okay, thanks and I’m going to try GLTF instead