ssgi + ao

This commit is contained in:
wass08
2026-02-03 15:50:09 +09:00
parent 30653b49c9
commit 66463f3526
6 changed files with 190 additions and 86 deletions
@@ -9,17 +9,17 @@ import { useNodeEvents } from '../../../hooks/use-node-events'
// Shared materials to avoid creating new instances for every mesh
const defaultMaterial = new MeshStandardNodeMaterial({
color: 0xffffff,
roughness: 0.8,
roughness: 1,
metalness: 0,
})
const glassMaterial = new MeshStandardNodeMaterial({
name: 'glass',
color: 'skyblue',
color: 'lightgray',
roughness: 0.8,
metalness: 0,
transparent: true,
opacity: 0.25,
opacity: 0.35,
side: DoubleSide,
depthWrite: false,
})