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 an ocean material using procedural textures


In this recipe, we will build an ocean surface material, using the Ocean modifier and procedural textures to create the foam, and establish a set of nodes to locate it on the higher parts of the waves:

The final look of the ocean material, with three simple and brightly colored objects to be reflected by the surface

Getting ready

Before we start with creating the shaders, let's prepare the ocean scene:

  1. Start Blender and switch to the Cycles rendering engine. Select the default Cube, delete it (press X), and add a Plane (with the mouse arrow in the 3D window, press Shift + A and navigate to Mesh | Plane). In Object Mode, scale the plane smaller to 0.300. Don't apply a size.

  2. Go to the Object modifiers window and assign an Ocean modifier. Set these values of Geometry to Generate, Repeat X and Repeat Y to 4, Spatial Size to 20, and Resolution to 12.

  3. Press the N key, and in the Transform panel, set these values for the Plane in Location for X as...