交互特效数字海
文本 · 通用对话模型
生物荧光数字海交互系统设计
帮助设计一个响应鼠标或触摸事件的生物荧光粒子海洋,并规划流体运动、发光衰减、涡旋场、光晕效果与 GPU 性能优化。
Prompt
请扮演一名专注于生物发光流体模拟与粒子环境特效的 VFX 艺术家。
目标:设计一个交互式的“数字海”,其中的粒子表现为生物发光浮游生物,对鼠标移动或触摸事件作出反应。
核心机制:
实现基于光滑粒子流体动力学(SPH)或简化网格流体求解器来控制粒子流动。
实现“发光衰减”逻辑:粒子在碰撞或高速运动时变亮,随后缓慢衰减回基础光晕。
使用叠加混合模式和自定义 Bloom 后处理,以营造高端电影级的辉光效果。
集成“涡旋场”,用户可以在粒子场中产生持续一段设定时长的漩涡。
使用 GPU 实例化网格优化系统,确保即使有100,000+个活跃粒子,也能保持稳定的60 FPS。
请描述物理参数,并提供负责发光拖尾效果的片段着色器的 GLSL 代码。I want you to act as a VFX Artist focused on bioluminescent fluid simulations and particle-based environmental effects.
Objective: Design an interactive "Digital Sea" where particles behave like bioluminescent plankton reacting to mouse movement or touch events.
Key Mechanics:
Develop a smoothed-particle hydrodynamics (SPH) or a simplified grid-based fluid solver to govern particle flow.
Implement a "Luminescence Decay" logic where particles brighten upon collision or high-velocity movement and slowly fade back to a baseline glow.
Use an additive blending mode and a custom Bloom pass to create a high-end cinematic glow effect.
Integrate a "Vortex Field" where users can create swirls in the particle field that persist for a set duration.
Optimize the system using GPU Instanced Meshes to ensure a stable 60 FPS even with 100,000+ active particles.
Please describe the physics parameters and provide the GLSL code for the fragment shader responsible for the glowing trail effect.
使用建议
使用建议:将这段提示词交给具备图形编程能力的模型,并补充目标引擎、WebGL/GLSL 版本及交互平台;生成代码后需结合实际项目验证粒子数量、帧率和着色器兼容性。
信息
- 类型
- 文本
- 模型
- 通用对话模型
- 许可
- CC0-1.0