Book Image

Blender Cycles: Materials and Textures Cookbook, Third Edition

By : Enrico Valenza
Book Image

Blender Cycles: Materials and Textures Cookbook, Third Edition

By: Enrico Valenza

Overview of this book

Table of Contents (17 chapters)
Blender Cycles: Materials and Textures Cookbook Third Edition
Credits
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
Index

Creating a spaceship hull shader


In this recipe, we will create a spaceship hull material. We will add random, tiny light windows based on the values of procedural textures, and the spaceship's logo as if it were painted in red on the hull, as shown in the following screenshot:

The final, rendered spaceship hull material assigned to a displaced Torus primitive

Getting ready

To start creating this spaceship hull, we need the spaceship and space first. Follow these steps to build a quick and easy model and set up the scene:

  1. Start Blender and switch to the Cycles Render engine. Select the default Cube and delete it.

  2. With the mouse arrow in the 3D view, press Shift + A and add a Torus primitive (press Shift + A and navigate to Mesh | Torus). In Edit Mode, scale it to at least twice its current size (press A to select all the vertices, then type S, enter 2, and press Enter).

  3. Exit Edit Mode, and in Outliner, select the Lamp object. In the Object data window, change it to Sun. Then set the Size value...