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, envMap: environnement,
reflectivity: 0.9, metalness: 0.9,
roughness: 0.2,
transparent: true, transparent: true,
opacity: 0.15, opacity: 0.15,
side: THREE.DoubleSide, side: THREE.DoubleSide,
})*/ })
Ghost.prototype.freeColor = new THREE.Color(COLORS.GHOST) Ghost.prototype.freeColor = new THREE.Color(COLORS.GHOST)
Ghost.prototype.minoesPosition = [ Ghost.prototype.minoesPosition = [
[P(0, 0, 0), P(0, 0, 0), P(0, 0, 0), P(0, 0, 0)], [P(0, 0, 0), P(0, 0, 0), P(0, 0, 0), P(0, 0, 0)],