feat: 添加 AboutMedia 组件,替换签名部分并实现图层映射功能;新增 ImageLayers 组件以支持 WebGL 图像层
This commit is contained in:
@@ -7,6 +7,7 @@ import * as THREE from "three";
|
||||
|
||||
import { StickerDrop, StickerCamera } from "@/components/canvas/StickerDrop";
|
||||
import { HelloModel, CursorStar } from "@/components/canvas/GlassModels";
|
||||
import ImageLayers from "@/components/canvas/ImageLayers";
|
||||
import { useIsMobile } from "@/lib/useIsMobile";
|
||||
|
||||
/**
|
||||
@@ -41,6 +42,10 @@ export function HeroScene() {
|
||||
glass FBO pass (which renders with a layer-0 camera mask). */}
|
||||
<StickerDrop />
|
||||
|
||||
{/* DOM-tracked image layers (about section m3.png), rendered above
|
||||
stickers via renderOrder 20. */}
|
||||
<ImageLayers />
|
||||
|
||||
{/* Glass hero models (hello + blue cursor star), refractive tint shader */}
|
||||
<HelloModel isMobile={isMobile} />
|
||||
<CursorStar isMobile={isMobile} />
|
||||
|
||||
Reference in New Issue
Block a user