| sphereglo | color, transparency |
![]() |
This material shader creates blends between two colors when used as a color shader, and between opaque and transparent when used as a transparency shader. It is intended for use with spherical objects (hence the name), and is particularly useful for glowing particle effects, as the output is always front-facing.

first color - the color that will be around the
edge of the circle (color shader only)
second color - the color that will be in the center (color shader only)
attenuation - controls the rate of "falloff" from the center to
the edge. A smaller value will result in a more gradual blending.
sphereglo is freely distributable as long as the original
archive is maintained.
Copyright 1998 windmill fraser multimedia, inc.