Glow

Glow[col]

is a graphics directive which specifies that surfaces of 3D graphics objects that follow are to be taken to glow with color col.

Glow[]

specifies that there is no glow.

Details

  • Glow is added to diffuse and specular reflection components to determine the final rendered color of a surface.
  • Glow is a color component independent of simulated illumination.
  • Glow[] is equivalent to Glow[Black].
  • A surface can be specified as having an absolute color col by giving the combination of directives Glow[col], Black, and Specularity[0].

Examples

open allclose all

Basic Examples  (1)

Cylinder that glows red but has a black surface that reflects no light:

Scope  (2)

Glow gives an overall surface color that is independent of any Lighting:

Other surface colors still interact with lighting even if Glow is given:

Applications  (2)

Use a pure color function with no lighting interaction:

Use a color function based on the phase of a complex function:

Possible Issues  (1)

With Glow, objects can look flat if edges are not drawn:

Introduced in 2007
 (6.0)