From 1e006d46b9a05301a608ae306a6b468e2bb3e963 Mon Sep 17 00:00:00 2001 From: adrien Date: Sat, 5 Oct 2024 15:23:18 +0200 Subject: [PATCH] little more bumpScale --- jsm/Tetrominoes.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/jsm/Tetrominoes.js b/jsm/Tetrominoes.js index 504306d..6b65999 100644 --- a/jsm/Tetrominoes.js +++ b/jsm/Tetrominoes.js @@ -89,7 +89,6 @@ export class InstancedMino extends THREE.InstancedMesh { const geometry = new THREE.ExtrudeGeometry(minoFaceShape, minoExtrudeSettings) super(geometry, undefined, 2*ROWS*COLUMNS) this.offsets = new Uint8Array(2*this.count) - this.count = 0 } set theme(theme) { @@ -106,7 +105,7 @@ export class InstancedMino extends THREE.InstancedMesh { color: COLORS.RETRO, map: texture, bumpMap: texture, - bumpScale: 1.4, + bumpScale: 1.5, roughness: 0.25, metalness: 0.9, transparent: true, @@ -117,7 +116,7 @@ export class InstancedMino extends THREE.InstancedMesh { color: COLORS.RETRO, map: texture, bumpMap: texture, - bumpScale: 1.4, + bumpScale: 1.5, roughness: 0.25, metalness: 0.9, transparent: true,