Creating the car paint material
Here we are at the core topic of this chapter: the car paint. There are plenty of different types of car paints. In our scene, we will try to reproduce a shiny paint with flakes. Many render engines have an integrated flakes feature, but Cycles still lacks this option. Something like this will probably be added in the future, but for now, we will see how to recreate this effect on our own.
Getting ready
For the creation of the car paint, we will be using a new Cycles feature called Open Shading Language (OSL). A particular way of creating shaders is by coding them. Such a technique is used for example by Pixar's RenderMan engine as well. While creating a material this way is harder due to the fact that knowledge of ...
Get Blender Cycles: Lighting and Rendering Cookbook 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.