Page History
This page gives information about the Sampler Info Render Element.
Overview
Section | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
UI Expand | |||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||
||Render Setup window|| > Render Elements tab > Add button > VRaySamplerInfo
|
Parameters
Section | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Common Uses
The VRaySamplerInfoTex texture extracts particular information about the scene. It then converts the gathered information into RGB data that can be used for compositing.
Section | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Section | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Section | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
The following examples have the coordinate system set to object space.
Section | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Section | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
The following examples have the coordinates system set to camera space.
Section | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Section | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
The following examples have the coordinates system set to relative space.
Section | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Example: Re-texturing in composite
Using the VRaySamplerInfo Render Element it is 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 will carry through into the UVW pass created by VRaySamplerInfo as can be seen in the examples below.
Section | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Section | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Anchor | ||||
---|---|---|---|---|
|
Supported UVW Coordinate Types
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 while the Shading incidence type can be used as a mask in composite.
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 | ✓ | – |