Book Image

Building an FPS Game with Unity

5 (1)
Book Image

Building an FPS Game with Unity

5 (1)

Overview of this book

Table of Contents (18 chapters)
Building an FPS Game with Unity
Credits
Foreword
About the Author
Acknowledgment
About the Reviewers
www.PacktPub.com
Preface
Index

Adding details – grass


Let's now see how we can use the Paint Details tool to add more details to our maps.

  1. The mode to the right of the Plant Trees mode is the Paint Details mode. Click on it, then click on the Edit Details… button, and select Add Grass Texture. Select the Grass texture inside of the TerrainAssets\Grass folder for Detail Texture. After this, set Healthy Color and Dry Color by using the eyedropper and choosing a color similar to our textures. Once you're done modifying the settings, click on Apply.

    The eyedropper can actually pick up colors from anywhere, including the textures on the Terrain, making it very easy for us to pick out similar colors.

  2. Once created, start dragging around to paint the grass in the world in the same way we did the textures. If you can't see it being placed, zoom in as you need to be close to see it. You can adjust Opacity and Target Strength to a lower value to make the grass more dispersed and not so close to each other.

    Depending on the power of...