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 all close allBasic Examples (1)
Scope (2)
Glow gives an overall surface color that is independent of any Lighting:
Table[Graphics3D[{Black, Glow[Blue], Sphere[]}, Lighting -> {{"Point", c, {0, 0, 3}}}], {c, {White, Yellow, Green}}]Other surface colors still interact with lighting even if Glow is given:
Graphics3D[{Glow[Red], White, Sphere[]}]Applications (2)
Use a pure color function with no lighting interaction:
Plot3D[Sin[x + y ^ 2], {x, -3, 3}, {y, -2, 2}, ColorFunction -> Function[{x, y, z}, Glow[RGBColor[z, 1 - z, 0]]]]Use a color function based on the phase of a complex function:
Plot3D[Abs[Zeta[σ + I ω]], {σ, -2, 2}, {ω, 0, 40}, ColorFunction -> Function[{σ, ω, z}, Glow[Hue[Rescale[Arg[Zeta[σ + I ω]], {-Pi, Pi}, {0, 1}]]]],
ColorFunctionScaling -> False]//QuietPossible Issues (1)
With Glow, objects can look flat if edges are not drawn:
{Graphics3D[{Glow[Blue], Black, EdgeForm[], Cuboid[]}, Boxed -> False],
Graphics3D[{Glow[Green], Black, EdgeForm[], Cylinder[]}, Boxed -> False]}{Graphics3D[{Glow[Blue], Black, Cuboid[]}, Boxed -> False],
Graphics3D[{Glow[Green], Black, Cylinder[]}, Boxed -> False]}See Also
Related Guides
History
Text
Wolfram Research (2007), Glow, Wolfram Language function, https://reference.wolfram.com/language/ref/Glow.html.
CMS
Wolfram Language. 2007. "Glow." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/Glow.html.
APA
Wolfram Language. (2007). Glow. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/Glow.html
BibTeX
@misc{reference.wolfram_2026_glow, author="Wolfram Research", title="{Glow}", year="2007", howpublished="\url{https://reference.wolfram.com/language/ref/Glow.html}", note=[Accessed: 13-June-2026]}
BibLaTeX
@online{reference.wolfram_2026_glow, organization={Wolfram Research}, title={Glow}, year={2007}, url={https://reference.wolfram.com/language/ref/Glow.html}, note=[Accessed: 13-June-2026]}