All examples · Meshes and 3D · As Markdown, for AIs

Glow models

What this example shows

Models that add their colour. A shield, a hologram and a magic circle in a dark vault are drawn with blend: 'additive', so they brighten whatever is behind them, cast no shadow and fade into the fog. The floor darkens in bands by how far it is from the camera, and a sonar ring goes out from it, both from ctx.cameraPos in the material's colour hook, with nothing moved by hand.

Space makes the glows cover what is behind them instead, as alpha does.

Starting
Starting
—