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
+7 -3
View File
@@ -1,6 +1,11 @@
'use client'
import { initSpatialGridSync, initSpaceDetectionSync, sceneRegistry, useScene } from '@pascal-app/core'
import {
initSpaceDetectionSync,
initSpatialGridSync,
sceneRegistry,
useScene,
} from '@pascal-app/core'
import { useGridEvents, useViewer, Viewer } from '@pascal-app/viewer'
import { useFrame } from '@react-three/fiber'
@@ -43,7 +48,7 @@ export default function Editor() {
{/* Editor only system to toggle zone visibility */}
<ZoneSystem />
{/* <Stats /> */}
<Grid cellColor="#666" sectionColor="#999" fadeDistance={30} />
<Grid cellColor="#aaa" sectionColor="#ccc" fadeDistance={30} />
<ToolManager />
<CustomCameraControls />
</Viewer>
@@ -51,7 +56,6 @@ export default function Editor() {
)
}
const Grid = ({
cellSize = 0.5,
cellThickness = 0.5,