advanced

#17 Glow & Bloom

Light emission and atmospheric glow

Glow effects are created by dividing a small intensity value by the distance from a light source. The formula intensity / (distance + epsilon) produces a wide, soft halo, while intensity / (distance * distance + epsilon) concentrates energy into a tight, bright core. Layer multiple glowing orbs with different colors for rich, neon-like visuals. Tone mapping with col / (col + 1.0) compresses the bright values so nothing clips to pure white, preserving color detail in the brightest areas.

Key Concepts

Try this shader live in the Shader Sandbox editor with real-time preview.
Open in Sandbox

Source Code


    
← Previous Voronoi Noise Next → Morphing Shapes

All Tutorials