Hands-On Unity 2022 Game Development - Third Edition by Nicolas Alejandro Borromeo

Hands-On Unity 2022 Game Development - Third Edition by Nicolas Alejandro Borromeo

Author:Nicolas Alejandro Borromeo
Language: eng
Format: epub
Publisher: Packt
Published: 2022-01-15T00:00:00+00:00


Figure 11.25: Explosion particle material

Enable Color Over Lifetime and open the Gradient editor.

Click the bottom-right marker, and this time you should see a color picker instead of an alpha slider. The top markers allow you to change the transparency over time, while the bottom ones change the color of the particles over time. Set a light blue color in this marker:

Figure 11.26: White to light blue gradient

As a challenge, I suggest you add a little particle system where this one ends to create some water splashes, simulating the water colliding with a lake at the bottom. Now we can add this particle system to one of the hills of our scene to decorate it, like in the following screenshot. I have adjusted the system a little bit to look better in this scenario. I challenge you to tweak it by yourself to make it look like this:

Figure 11.27: The waterfall particle system being applied to our current scene

Now, let’s create another effect: a bonfire.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.