Blenra LogoBlenra
Optimized for: Gemini / ChatGPT / Claude
#WebGL

Advanced AI Prompt for InstancedMesh Particle Performance Optimization

Customize the variables below to instantly engineer your prompt.

Required Variables

instanced-mesh-particle-optimization.txt
Act as a WebGL Performance Technical Lead. Develop a Three.js particle system specifically engineered and aggressively optimized for low-power mobile devices by utilizing `THREE.InstancedMesh`. The scene must render exactly [INSTANCE_COUNT] distinct instances of a complex [MESH_TYPE] geometry (e.g., an Icosahedron). Write [GLSL_VERSION] custom shaders capable of calculating completely independent rotations, scales, and color variations per instance to eliminate CPU overhead. Apply a flat or physical [SHADING_STYLE] look. The output must explicitly detail the application of `DynamicDrawUsage` hints and demonstrate exactly how to update the massive `matrix4` attribute arrays efficiently within the `requestAnimationFrame` loop without triggering garbage collection pauses.

Example Text 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."

More Web Components Prompts

View all →

Frequently Asked Questions

What is the "Advanced AI Prompt for InstancedMesh Particle Performance Optimization" prompt used for?

The AI will provide a high-performance boilerplate for InstancedMesh, including the attribute array setup and a vertex shader that reads instance-specific data.

Which AI tools work with this prompt?

This prompt is optimized for Gemini / ChatGPT / Claude, but works great with ChatGPT, Claude, Gemini, and other large language models. Simply copy it and paste it into your preferred AI tool.

How do I customize this prompt?

Use the variable fields above to fill in your specific details. The prompt will auto-update as you type, ready to copy instantly.

Is this prompt free?

Yes! All prompts on Blenra are free to copy and use immediately. No account required.