Commit Graph

10 Commits

Author SHA1 Message Date
virtheart b8483e94a6 feat: 在 LensFlarePass 和 FluidPushPass 中添加颜色空间片段支持 2026-09-01 12:37:47 +08:00
virtheart 3a3e0a5fcb feat: add PostFX component and webgl PostFxPasses for enhanced visual effects
- Introduced PostFX component for managing post-processing effects including LensFlarePass and FluidPushPass.
- Implemented LensFlarePass for star streak effects on bright pixels with customizable parameters.
- Developed FluidPushPass for GPU fluid simulation, allowing pointer-driven splats and visual refractive effects.
- Added utility functions for motion reduction detection and viewport section visibility checks.
- Established a comprehensive rendering pipeline with dynamic adjustments based on device metrics and user interactions.
2026-09-01 12:22:16 +08:00
virtheart ce08eabf62 feat: 移植原版背景/点阵遮罩/入场幕布,修复贴纸淡出与 cursor 颜色
- BackgroundFX: 1:1 移植原版 sz 多通道程序化背景(vignette→swirl→sine→shatter→bokeh→output,30% 分辨率 ping-pong,指针跟随、进度门控跳帧)
- DotOverlay: 移植原版 s1 滚动点阵遮罩(renderOrder 10,uOpacity=sT(sP))——贴纸随滚动溶入页面底色的原版机制
- LoadingCurtain+LoadingOverlay: 移植原版入场流程(径向圆洞幕布 + MaskedDots 点阵化后处理 + 居中进度条,字体/重资产 5:5 计时轴)
- sP 修正: f2 无 footer 时取 1(原版语义),相机 lerp(24,32,sP) 拉远恢复;视差 y 系数修正为 0.6
- 相机: ready 门控 intro dolly(lerp(A+8,A,customCubic),1.2s)+ 鼠标视差(lag .18/leave .05)
- GlassModels: cursor 贴色修正为亮色主题 #009dff/#009dff;新增指针跟随高光控制器 ca()
- 刷新回顶: scrollRestoration=manual + pageshow(bfcache) 双 rAF 重置 + lenis immediate
- 新增 lib/pointer.ts、lib/loadingBus.ts、lib/customCubic.ts;loadingBus 打点: 模型/贴纸/about 图
2026-09-01 02:00:54 +08:00
virtheart 91ba27ffc0 feat: 添加 AboutMedia 组件,替换签名部分并实现图层映射功能;新增 ImageLayers 组件以支持 WebGL 图像层 2026-09-01 01:09:46 +08:00
virtheart 4599a49879 feat: 添加手写签名动画组件 SvgSignature,并更新样式变量以支持主题 2026-09-01 00:40:42 +08:00
virtheart e4a6ea937a feat: 更新玻璃模型和英雄场景,优化贴纸层的渲染逻辑 2026-09-01 00:16:54 +08:00
virtheart 744ec0becc feat: add glass models with advanced refractive shader and integrate into hero scene
- Introduced GlassModels component with custom vertex and fragment shaders for realistic glass effects.
- Updated HeroScene to include HelloModel and CursorStar components, utilizing the new glass shader.
- Enhanced Header component with ScrambleReveal for dynamic text display and local clock functionality.
- Implemented useIsMobile hook to adapt rendering based on screen size.
- Adjusted StickerLayer to ensure falling stickers are captured in the glass models' FBO pass.
2026-08-31 23:39:58 +08:00
virtheart 836239beca 实现贴纸粒子系统,添加 HeroScene 组件,优化 Next.js 配置,更新依赖 2026-08-31 22:06:36 +08:00
virtheart 77b928c442 添加背景网格组件并优化滚动条样式 2026-08-31 20:39:50 +08:00
virtheart 37173cfbeb Refactor code structure for improved readability and maintainability 2026-08-31 19:59:49 +08:00