Documentation / Node reference / code nodes
code/TextureTexel
Reads one pixel of a texture, at the pixel being written.
Texture
Reads a texture exactly, with no blending, at the pixel being written, moved by the offsets in whole pixels. In a 3D builder it reads the voxel being written.
Parameters
| Name | Type | What it does |
|---|---|---|
| offsetX | SInt32 | Pixels to the right. Negative reads to the left. |
| offsetY | SInt32 | Pixels down. Negative reads up. |
| offsetZ | SInt32 | Voxels along z, on a 3D texture only. |
| borderMode | UInt8 CLAMP · TRANSPARENT · REPEAT · MIRROR | What is read past the edge of the texture. |
| stretch | Bool | Stretch a texture of another size over the whole picture. |
See also
This page is generated from the engine, so it describes the release you can download. The same text is in the editor's Help panel next to the node itself.