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

Advanced AI Prompt for Glassmorphic Refraction Shaders

Customize the variables below to instantly engineer your prompt.

Required Variables

advanced-ai-prompt-glassmorphic-refraction-shaders.txt
Act as a Real-Time Optics Programmer. Architect a sophisticated WebGL shader pipeline that flawlessly simulates a physical glassmorphic pane floating above a highly dynamic, moving background layer. Implement a multi-pass FBO approach or a highly optimized Gaussian blur approximation loop running [BLUR_ITERATIONS] times to obscure the backdrop. Engineer a mathematical refraction vector effect dictated by a strict [REFRACTION_INDEX] (IOR) value (e.g., 1.5 for glass) that warps the background texture relative to the viewing angle. Inject a high-frequency, procedural white-noise function to simulate a heavy [FROST_INTENSITY] surface grain, and wash the entire pane with an additive [OVERLAY_COLOR] tint. The fragment shader must explicitly calculate and correct for viewport aspect ratios so the refraction UVs do not stretch when the browser is resized.

Example Text Output

"The AI generates a dual-layer shader system that distorts and blurs background elements to create a realistic frosted glass aesthetic."

More Web Components Prompts

View all →

Frequently Asked Questions

What is the "Advanced AI Prompt for Glassmorphic Refraction Shaders" prompt used for?

The AI generates a dual-layer shader system that distorts and blurs background elements to create a realistic frosted glass aesthetic.

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.