Game Development Reference
In-Depth Information
Figure 8-35. The new Splatters material
7.
Select the Smoke object again.
8.
In the Splatters particle effect, Renderer module, set the material to your new
Splatters material.
9.
If you observe the Splatters particles in the scene view right now, all four
images on the texture will be on each particle.
To control which part of the texture is used on each particle, you will be using the Texture Sheet
Animation module. This is also where you can set it to cycle through the images during the particle's
lifetime, or, to just use a randomly chosen one for each particle.
1.
Open and turn on the Texture Sheet Animation module.
2.
Set the Tiles to X 2 and Y 2 to match the splat images on the texture sheet.
3.
Leave Animation on Whole Sheet.
4.
Slow the Playback Speed in the Scene view, and see if you can see the
particle images change over time.
5.
Click the “Frame over Time” curve.
Search WWH ::




Custom Search