I am striving to recreate the luminescent effect seen in the image below on my pants obj:
This is the current code I have:
//pants map and obj
var mtlLoader = new THREE.MTLLoader();
mtlLoader.setBaseUrl( 'Ftest2/' );
mtlLoader.setPath( 'Ftest2/' );
mtlLoader.load( 'jean1.mtl', function( materials ) {
materials.preload();
var objLoader = new THREE.OBJLoader();
objLoader.setMaterials( materials );
objLoader.setPath( 'Ftest2/' );
objLoader.load( 'jean1.obj', function ( object ) {
object.position.y = -24;
pants = object;
pants.visible = true;
scene.add( pants );
}, onProgress, onError );
});
Furthermore, I am interested in exploring other effects such as wireframe display or creating a glass-like appearance using the given code. Is it possible to achieve this without directly mapping the .obj file?
Please keep in mind that I must utilize the mtl loader for this project.