load mino retro texture if needed

This commit is contained in:
2024-10-02 22:38:37 +02:00
parent 9fca05ae6e
commit 5b058a58b3
2 changed files with 30 additions and 33 deletions

View File

@@ -114,7 +114,6 @@ export class Menu extends GUI {
Mino.meshes.update = Mino.meshes.updateColor
changeMaterial()
})
console.log("lnlnl")
let minoMaterial = Mino.meshes.material instanceof Array ? Mino.meshes.material[0] : Mino.meshes.material
if ("opacity" in minoMaterial) material.add(minoMaterial, "opacity" ).min(0).max(1)