tegumentar2

This commit is contained in:
Rodrigo Bertoldo de Sousa Martins committed 2026-09-10 19:19:31 -03:00
1 parent 077e451902
commit 063bd629c2
4 files changed
+213 -84

No files matched your search

+6 -1
View File
@@ -63,7 +63,12 @@ for (const [systemSlug, items] of bySystem) {
.createMaterial(hex)
.setBaseColorFactor(hexToRgb(hex))
.setRoughnessFactor(0.6)
.setMetallicFactor(0.05);
.setMetallicFactor(0.05)
// O bloco de pele usa caixas com a face da frente removida (ver
// openFrontBox em geometry.mjs) pra dar pra ver o conteúdo por
// dentro — sem dupla face, as paredes de trás/lados ficariam
// invisíveis quando vistas "de dentro" da caixa aberta.
.setDoubleSided(true);
materialCache.set(hex, mat);
return mat;
}