ghost material

This commit is contained in:
Adrien MALINGREY 2023-07-15 22:51:59 +02:00
parent 6f0a540bb3
commit 02725494cd

View File

@ -241,13 +241,14 @@ class Ghost extends Tetromino {
}
}
/*Ghost.prototype.minoMaterial = new THREE.MeshBasicMaterial({
Ghost.prototype.minoMaterial = new THREE.MeshStandardMaterial({
envMap: environnement,
reflectivity: 0.9,
metalness: 0.9,
roughness: 0.2,
transparent: true,
opacity: 0.15,
side: THREE.DoubleSide,
})*/
})
Ghost.prototype.freeColor = new THREE.Color(COLORS.GHOST)
Ghost.prototype.minoesPosition = [
[P(0, 0, 0), P(0, 0, 0), P(0, 0, 0), P(0, 0, 0)],