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.
From Proxy
When set to "From Proxy" 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: From Proxy |
From Scene (assigned to placeholder)
When set to "From Scene (assigned to placeholder)" 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: From Scene (assigned to placeholder) |
From Scene (name matching with prefix)
When set to "From Scene (name matching with 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
The shader name to match with a proxy from Maya is based off the name of the shading group.
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 "From Scene (name matching with 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.
Material Prefix set to "new_"
|
Material Mode: From Scene (name matching with prefix) |