Overriding Materials
Redshift Proxies give you several different methods to assign different shaders than the ones already contained in a proxy. Each method is covered in the sections below.
Proxy File
When set to "Proxy File" the Redshift Proxy will be rendered with only the shaders embedded in the proxy file.
The example below illustrates the test scene rendering with the embedded proxy's shaders.
|
|
| Material Mode: Proxy File |
Object
When set to "Object" Redshift will render your proxy with whatever shader is applied to the Redshift Proxy Object in your scene.
This mode can only render 1 shader per proxy object, the same shader will be applied to every object in the proxy.
In the example below the proxy has a new sub-surface scattering Redshift material applied to it. It renders every object inside the proxy with the same material.
|
|
| Material Mode: Object |
Scene (match by name and prefix)
When set to "Scene (match by name and prefix)" Redshift will render your proxy with any number of new shaders as long as they match the following:
- The full name of the corresponding shader embedded in the proxy
- They include the optional specified prefix
For example, the test proxy pictured below contains these shaders:
- chair_visor
- chair_cushion
- chair_shell
- light_cover
If the "Prefix" was set to "override_" then these shaders should be called:
- override_chair_visor
- override_chair_cushion
- override_chair_shell
- override_light_cover
A prefix is not necessary, If no prefix is specified then any shader in the scene with the exact same name as the embedded shaders will override the proxy when set to "Scene (match by name and prefix)."
Keep in mind that prefixes are set on a per-proxy object basis so you could import the same proxy file in two different proxy objects in the same scene and use different shader prefixes for each.
In the example below using the "Prefix" option set to "new_" the shaders:
- chair_visor
- chair_cushion
- chair_shell
...have been replaced by:
- new_chair_visor : A clear Redshift material using a tweaked version of the "water" preset.
- new_chair_cushion : A cream-colored Redshift material using sub-surface scattering.
- new_chair_shell : A very shiny Redshift material with bump mapping and a high reflection weight.
Materials Prefix set to "new_"
|
|
| Material Mode: Scene (match by name and prefix) |