Optimized for: Gemini / ChatGPT / Claude
Advanced AI Prompt for InstancedMesh Particle Performance Optimization
Use this engineered prompt to drastically optimize your workflow and output.
Required Variables
- ✦
[MESH_TYPE] - ✦
[INSTANCE_COUNT] - ✦
[SHADING_STYLE] - ✦
[GLSL_VERSION]
instanced-mesh-particle-optimization.txt
Act as a Technical Lead. Develop a Three.js particle system specifically optimized for mobile devices using InstancedMesh. Render [INSTANCE_COUNT] instances of a [MESH_TYPE] geometry. Use [GLSL_VERSION] shaders to calculate individual rotations and scales per instance to save CPU cycles. Apply a [SHADING_STYLE] look. The prompt should detail the use of DynamicDraw usage hints and how to update the matrix4 attributes efficiently within the requestAnimationFrame loop.
Example Output
"The AI will provide a high-performance boilerplate for InstancedMesh, including the attribute array setup and a vertex shader that reads instance-specific data."