SampleTexture2D
Sample a texture at a series of 2D coordinates
Installation
To use this Node, you must enable omni.mesh.displace
in the Extension Manager.
Inputs
Name |
Type |
Description |
Default |
---|---|---|---|
active |
|
If false then disable the node operation |
True |
texture |
|
Path to the texture image to be sampled |
|
channels |
|
Name of the texture channels to be sampled |
r |
normalize |
|
It true then normalize the texture values to a [0,1] range, else use [0, 255] |
True |
center |
|
Value to be considered as the center of the texture sample results |
|
tilesS |
|
Number of tiles to use in the S direction |
1 |
tilesT |
|
Number of tiles to use in the T direction |
1 |
tile |
|
Which tile in the texture to use |
|
bundle |
|
Bundle containing ST data |
|
stAttrName |
|
Name of ST attribute in bundle. It must be an array of float [S, T] pairs, and the image will be sampled at those coordinates. |
primvars:shared:st |
outputAttrName |
|
Name of the attribute to be created in the output bundle to contain texture values. It will be an array of float values, regardless of the channels attribute. |
displacements |
Outputs
Name |
Type |
Description |
Default |
---|---|---|---|
bundle |
|
Bundle containing texture data |
|
reload |
|
If true then reload the texture file and set to false. This should be a state attribute, when they are implemented |
True |