blendDodge
Replicates the 'Color Dodge' blend mode from Photoshop, non-linearly brightening the base color by decreasing contrast, often used to create intense glow or 'blown-out' highlight effects.
Core Advantages
Safely encapsulates the 'Color Dodge' algorithm, with built-in protection against division-by-zero risks, preventing rendering artifacts that can occur with manual implementation and providing a stable, reliable, and artistically expressive brightening tool.
Common Uses
Compositing lens flares or glows to make strong light sources feel dazzling and over-exposed.
Creating VFX like fire, explosions, and energy beams to make their cores look intensely hot.
Adding a procedural specular layer to cartoon or stylized materials.
Sharpening textures by blending them with themselves to dramatically boost highlight details and contrast.
How to adjust
The effect is extremely sensitive to the `blend` input's brightness. A pure black `blend` has no effect. As the `blend` color gets brighter, the brightening effect on the `base` color increases dramatically. A pure white `blend` will clamp the output to pure white, creating a 'scorched' look. This is ideal for using animated noise textures as the `blend` to simulate flowing energy glows.
Code Examples
1// Create a flowing energy shield effect on a character's surface
2const shieldEffect = blendDodge( characterColor, scrollingNoise );