2009

Table Of Contents
Adding color to particles with a color ramp
A ramp texture is a patterned 2D image in which the color blends from one
shade to another. In the next steps, you use a color ramp to color the particles
as they age.
To add color to particles using a color ramp
1 In the Attribute Editor, right-click the rgbPP data box and select Create
Ramp from the drop-down menu.
This causes a default color ramp to color the particles as follows:
As each particle ages from its time of birth (emission), its color changes
according to the ramps color in an upward vertical (V) direction. The
horizontal (U) direction of the ramps color is unused in this lesson.
When you create the ramp, Maya adds a lifespan attribute and sets it to
1 second, by default. Each particle changes from red to green to blue over
its lifespan of 1 second. The particle then disappears (dies).
2 From the perspective window menu, select Shading > Smooth Shade All.
This enables you to see the colors of the particles the next time you play
the animation.
3 Go to the start of the playback range and play the animation. Notice the
particles never reach the end of the cone volume.
Adding color to particles with a color ramp | 489