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:

Creating an ocean material using procedural textures

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 | ...

Get Blender 3D: Designing Objects now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.