#
luxiaotao1123
2024-04-30 d71e1155c91ceb8afdaf0d34a372e6bf5c862744
src/components/shelf.jsx
@@ -17,7 +17,7 @@
    }, [])
    const model = useMemo(() => {
        const fbx = useFBX('/models/shelf/row2.fbx');
        const fbx = useFBX('/models/shelf/row.fbx');
        if (!fbx.castShadow) {
            Common.setShadow(fbx);
        }
@@ -42,7 +42,7 @@
                    scale={50000}
                /> */}
                <primitive object={model} castShadow position={[0, 25, 0]} />
                <primitive object={model} castShadow position={[0, 0, 0]} />
                {/* <mesh position={[0, 100, 0]}>
                    <boxGeometry args={[150, 200, 30]} />
                    <meshStandardMaterial color={'orange'} transparent={true} opacity={.5} />