If I made a dress in MD or Blender and put it on a character model and exported it in FBX mode, how do I get the clothes on the model to display the correct physical properties of the fabric on the web page.
let loader = new FBXLoader(),
geo = null;
loader.load( '/models/wutai/man2.fbx', function ( object ) {
object.traverse(function(child) {
if (child.isMesh) {
if(child.name.indexOf('body') !== -1) {
child.material = deepTexture ("/models/wutai/texture/body@0002.jpg")
} else {
// cloth
geo = child.geometry
}
child.castShadow = true;
child.receiveShadow = true;
}
});
scene.add(object)
createSoftVolume(geo , 15 , 500)