Interesting effects can be achieved when a "trail" is added to some or all particles, visually marking the path the particle has followed during its lifetime. Explore this by making the following changes to the fountain scene:
- Create a new yellow Material named m_yellow.
- In the Hierarchy window, select the fountain's Particle System. Then, in the Inspector window, enable the Trails module.
- You'll now see a new property for the Renderer module named Trail renderer. For this property, select the new m_yellow Material.
- For the Trails module, set the following options to make every 100th particle leave a thin trail behind it:
- Ratio: 0.01 (1 out of 100 get a trail)
- Width over Trail: 0.1 (narrow):
Figure 14.28 – Adding occasional Trails to particles from our fountain