Skip to content

Commit

Permalink
🧹 clean: remove loaderManager
Browse files Browse the repository at this point in the history
  • Loading branch information
mkubdev committed Jul 21, 2023
1 parent 89ef406 commit 1525733
Showing 1 changed file with 6 additions and 11 deletions.
17 changes: 6 additions & 11 deletions sources/Experience/TrioShadow.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export default class TrioShadow {
this.scene = this.experience.scene

this.setPlane()
this.setGroup();
this.setGroup()
this.setMaterial()
this.setLights()
this.setMesh()
Expand Down Expand Up @@ -66,16 +66,6 @@ export default class TrioShadow {
}

setMaterial () {
this.material = new THREE.MeshStandardMaterial({
map: this.texture.bronzeColor, // Base color texture
bumpMap: this.texture.bronzeBump16Bit, // Bump texture
displacementMap: this.texture.bronzeDisplacement,
metalnessMap: this.texture.bronzeMetalness,
normalMap: this.texture.bronzeNormal,
roughnessMap: this.texture.bronzeRoughness,
metalness: 0.8,
})

this.planMaterial = new THREE.MeshStandardMaterial({ color: 0xffffff, metalness: 0.5, roughness: 0.4 });
}

Expand Down Expand Up @@ -240,6 +230,11 @@ export default class TrioShadow {
.on('click', PARAMS.spin)
}

/**
* Set the loading manager for the textures
* @returns {Promise<void>}
*/


/**
* Update the material
Expand Down

0 comments on commit 1525733

Please sign in to comment.