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

Advanced AI Prompt for Ray-Traced Refractive Spheres

Customize the variables below to instantly engineer your prompt.

Required Variables

advanced-ai-prompt-ray-traced-refractive-spheres.txt
Act as a Ray-Tracing Graphics Programmer. Write an incredibly dense, mathematically complex fragment shader that completely bypasses standard rasterization to render a cluster of hyper-realistic, refractive glass spheres using pure ray-marching logic contained entirely within a single 2D full-screen quad. You must programmatically implement Snell's Law to calculate exact light refraction vectors utilizing an aggressive [IOR_VALUE] (Index of Refraction). Inject a highly calibrated [REFLECTION_STRENGTH] variable based strictly on Schlick's approximation of the Fresnel equations. Force the shader to simulate physical optical [DISPERSION] (chromatic aberration occurring deep inside the glass volume) by slightly offsetting the IOR float for the Red, Green, and Blue light channels independently. The shader must sample an external [ENVIRONMENT_MAP] (HDRI cube map or equirectangular texture) to generate hyper-accurate background distortions and surface reflections.

Example Text Output

"The AI provides a mathematically intense shader that renders realistic glass balls with light splitting and environmental reflections."

More Web Components Prompts

View all →

Frequently Asked Questions

What is the "Advanced AI Prompt for Ray-Traced Refractive Spheres" prompt used for?

The AI provides a mathematically intense shader that renders realistic glass balls with light splitting and environmental reflections.

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.