This page gives information about the Sampler Info Render Element.
|
|
The VRaySamplerInfoTex texture extracts particular information about the scene. It then converts the gathered information into RGB data that can be used for compositing. Here are examples of the types of data that can be extracted, and how that data is displayed in the render element.
The following examples have the coordinates system set to world space.
|
The following examples have the coordinate system set to object space.
|
The following examples have the coordinates system set to camera space.
|
The following examples have the coordinates system set to relative space.
|
Using the VRaySamplerInfo Render Element makes it possible to apply a new texture to an already rendered still or sequence via setting its Type to UVW coordinates. This then enables the creation of what effectively amounts to a new Diffuse Filter Render Element which can then be used in a composite, enabling a change of texture to be easily made. It is worth noting that any UV stretching on the model carries through into the UVW pass created by the VRaySamplerInfo. See the render before and after compositing.
The table below provides some details on the supported UVW coordinate types within the Sampler Info Render Element. Pass types such as Normal, Normal vector with bump mapping, World coordinates and Point can be used to relight a scene at a composite level. While UVW coordinates and Object coordinates can be used to re-texture items in a scene in composite. The Reflection vector type can be used to adjust or remap reflections, similarly the Refraction vector can do the same at a composite level for refractions. Some types such as the Forward occlusion and Backwards occlusion can be used together for denoising and/or post-process motion blur.
The Integer ID from node user attribute can be used as an extended Object ID and the Float number from node user attribute can used to extract additional masks.
Pass Type | Coord. System | UVW Mode | Output | V-Ray Render | V-Ray GPU |
---|---|---|---|---|---|
Point | World | ||||
Point | Object | ||||
Point | Camera | ||||
Point | Relative | ||||
Normal | World | Vector (signed) or Color (unsigned) | PARTIAL | ||
Normal | Object | Vector (signed) or Color (unsigned) | |||
Normal | Camera | Vector (signed) or Color (unsigned) | PARTIAL | ||
Normal | Relative | Vector (signed) or Color (unsigned) | PARTIAL | ||
Reflection | World | Vector (signed) or Color (unsigned) | |||
Reflection | Object | Vector (signed) or Color (unsigned) | |||
Reflection | Camera | Vector (signed) or Color (unsigned) | |||
Reflection | Relative | Vector (signed) or Color (unsigned) | |||
Refraction | World | Vector (signed) or Color (unsigned) | |||
Refraction | Object | Vector (signed) or Color (unsigned) | |||
Refraction | Camera | Vector (signed) or Color (unsigned) | |||
Refraction | Relative | Vector (signed) or Color (unsigned) | |||
UVW coordinates | Normal | ||||
UVW coordinates | Clamp | ||||
UVW coordinates | Tile | ||||
Normal vector with bump mapping | World | Vector (signed) or Color (unsigned) | |||
Normal vector with bump mapping | Object | Vector (signed) or Color (unsigned) | |||
Normal vector with bump mapping | Camera | Vector (signed) or Color (unsigned) | |||
Normal vector with bump mapping | Relative | Vector (signed) or Color (unsigned) | |||
Backwards occlusion | |||||
Forward occlusion | |||||
Integer ID from node user attribute | |||||
Float number from node user attribute |