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

Simulating Subsurface Scattering in Cycles using the Ray Length output in the Light Path node


In this recipe, we will create a fake Subsurface Scattering material using the Ray Length output of the Light Path node.

The Rendered result of the fake SSS material of this recipe

Getting ready

Start Blender and open the 9931OS_07_start.blend file.

  1. Go to the Render window, and in the Sampling subpanel, click on the Method to sample lights and materials button to switch from Path Tracing to Branched Path Tracing. Enable the Square Samples item, and under AA Samples, set the Render value to 8. Finally, click on the Pattern button to select the Correlated Multi-Jitter item.

  2. Save the file as 9931OS_07_SSS_raylength.blend.

How to do it...

Let's create the material using the following steps:

  1. Select the Suzanne object. Click on the New button in the Node Editor window toolbar or in the Material window to the right of the screen. Rename the material SSS_raylength.

  2. In the Material window, switch the Diffuse BSDF...