Using built-in REDsdk materials

Building custom materials and programming custom shaders can be a tough and time-consuming task. Fortunately, REDsdk provides various ready-to-use built-in materials, either via its large external library or via internal functions.

The realistic material

REDsdk contains a special 'ready-to-use' material called the realistic material. This is an all-purpose, fully customizable material able to reproduce the look and feel of almost every surface in nature. This material features energy preservation, an anisotropic reflectance model, transmission scattering and much more. It can be used in real-time application, but its main usage is for the creation of photo-realistic images.

More details about this material here: Using the realistic material, and a tutorial here: Using the realistic material.

The generic material

The generic material is an all-purpose, fast and simple material intended for real-time as for photo-realism. It have to be created via the REDsdk function RED::IMaterial::SetupGenericMaterial.

All you need to know about the generic material is located in the page Using the generic material, and a tutorial can also be found here: Generic material.

REDsdk's library of material

The other way to use built-in materials is by accessing the large external REDsdk materials library. This library contains several materials for all usages filtered by categories like bricks, stone and wood. See the full library here: REDsdk material library catalog

The material library

All the details about installing, loading and using the REDMaterial library can be found in the following page: Using REDsdk's library of materials.

A tutorial is also available to learn how to load a library material and assign it to a shape: Using the realistic material.

The material editor

REDMaterialEditor is a standalone program that lets you create, save & edit realistic-based materials to later use in your application. The page 'Using REDsdk's material editor' explains how to use it.

The material editor