
The Texture Sampler node
When to use it
Samples a 2D texture at the current world XY position with bilinear filtering. Hand-painted biome masks, splat maps, height ramps, anything easier to draw than to describe.
Pins
| Pin | Type | Description |
|---|---|---|
Texture |
Texture | The picture to read. It has to come from a Load Texture File node. |
WorldSize |
Number | How much ground the picture is stretched across, in world units. |
CenterX |
Number | Where the middle of the picture sits along X. |
CenterY |
Number | Where the middle of the picture sits along Y. |
| Pin | Type | Description |
|---|---|---|
R |
Number | Red of the pixel under this voxel. |
G |
Number | Green of the pixel under this voxel. |
B |
Number | Blue of the pixel under this voxel. |
A |
Number | Alpha of the pixel under this voxel. |
Settings
| Setting | Type | Description |
|---|---|---|
Wrap |
True/False | What happens past the edge of the picture. On, it tiles forever. Off, the edge pixels smear outwards in long streaks. |
Available in Mesh Morpher Graph and Mesh Morpher Studio.