Left Toolbar > Compose Nodes >
Material Sampler
The Material Sampler node takes as input a source material and 3 images that control the translation and rotation of a pixel sampler, and composes a new image by sampling the source image.
Each pixel in the new output material looks for the translation and rotation values in the translationximage, translationyimage and rotation_image, and samples the input material at a point transformed by those values. The transform images are sampled in world space.
The output material has the same size and position of the input material.
For better results all input material and images should have the same position and size.
input
material
translation_x
translation_y
rotation
output
image
material
The material that will be sampled.
translation_x
The image that defines the sampler translation in x.
translation_y
The image that defines the sampler translation in y.
rotation
The image that defines the sampler rotation.
material
The sampled material.
Translation X
Multiplier for the values defined by the tranlation_x image.
Translation X
Multiplier for the values defined by the tranlation_y image.
Rotation
Multiplier for the values defined by the rotation image.
Samples
Number of samples per pixel.