feat: change cube lighting to standard mat

This commit is contained in:
2026-06-01 16:49:00 -03:00
parent f583cfdc57
commit 719a75d393
+6 -1
View File
@@ -18,7 +18,12 @@ const SealCube = forwardRef<Mesh>((props, ref) => {
return (
<mesh ref={meshRef} position={[0, 3, 0]} castShadow receiveShadow>
<boxGeometry args={[0.85, 0.85, 0.85]} />
<meshBasicMaterial map={texture} depthWrite={true} />
<meshStandardMaterial
map={texture}
roughness={0.4}
metalness={0.1}
envMapIntensity={1.2}
/>
</mesh>
);
});