two faces
This commit is contained in:
parent
7f6795109b
commit
31eca05faf
@ -154,11 +154,11 @@ class Mino extends THREE.Object3D {
|
|||||||
}
|
}
|
||||||
static {
|
static {
|
||||||
new THREE.TextureLoader().load("images/sprites.png", (texture) => {
|
new THREE.TextureLoader().load("images/sprites.png", (texture) => {
|
||||||
this.materials.Rétro[0] = new TileMaterial({
|
this.materials.Rétro[0] = this.materials.Rétro[2] = new TileMaterial({
|
||||||
color: 0xd0d4c1,
|
color: 0xd0d4c1,
|
||||||
map: texture,
|
map: texture,
|
||||||
bumpMap: texture,
|
bumpMap: texture,
|
||||||
bumpScale: 4,
|
bumpScale: 5,
|
||||||
roughness: 0.25,
|
roughness: 0.25,
|
||||||
metalness: 0.8,
|
metalness: 0.8,
|
||||||
transparent: true,
|
transparent: true,
|
||||||
@ -470,7 +470,7 @@ class Playfield extends THREE.Group {
|
|||||||
color: 0xd0d4c1,
|
color: 0xd0d4c1,
|
||||||
map: retroEdgeTexture,
|
map: retroEdgeTexture,
|
||||||
bumpMap: retroEdgeTexture,
|
bumpMap: retroEdgeTexture,
|
||||||
bumpScale: 0.5,
|
bumpScale: 0.3,
|
||||||
roughness: 0.25,
|
roughness: 0.25,
|
||||||
metalness: 0.8,
|
metalness: 0.8,
|
||||||
})
|
})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user