INTERACTIVE VFXDigital Sea
Text
生物荧光数字海交互系统设计
帮助设计一个响应鼠标或触摸事件的生物荧光粒子海洋,并规划流体运动、发光衰减、涡旋场、光晕效果与 GPU 性能优化。
Prompt
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.
How to use
使用建议:将这段提示词交给具备图形编程能力的模型,并补充目标引擎、WebGL/GLSL 版本及交互平台;生成代码后需结合实际项目验证粒子数量、帧率和着色器兼容性。