Website Header Slim

Derive Node Reference

Texture Node

Description

The Texture node is used to import locally saved textures into the project. This is most often done with thextures that are not entirely created procedurally, but instead based on some existing data, such as photography.

 

Aside from importing, it automatically maps the imported texture to be a perfect square, either by stretching or by cropping it. Using textures with an aspect ratio of 1 is considered best practice to achieve precise mappings and avoid stretched textures.

Sample Tree

Properties

Property Name Property Type Description
Node Name
String
Gives the node a unique name. This is optional for better readability of the node tree and not required for the project to work.
Texture
Texture field
Select a locally saved texture to import into the project
Mapping
Enumerator
Select whether the texture should be stretched to a square or whether you wish to crop a square out of it.
Crop Rect (not named in the editor)
Rect
This rect highlights which part of the texture will be cropped out. Move it by dragging it over the texture using the left mouse button (only available when mapping is set to crop).
Crop Size
Float Slider
Set the size of the crop rect. A size of 1 means that all sides of the crop rect are as long as the shortest side of the imported texture and thus the largest common denominator to crop a square out of the imported texture (only available when mapping is set to crop).

Inputs

None

Outputs

Output Name Data Type Description
RGBA
RGBA
Outputs the mapped texture with all color information.
R
Float
Outputs the red channel of the mapped texture. All color channels of the output contain the value of the red channel only.
G
Float
Outputs the green channel of the mapped texture. All color channels of the output contain the value of the green channel only.
B
Float
Outputs the blue channel of the mapped texture. All color channels of the output contain the value of the blue channel only.
A
Float
Outputs the alpha channel of the mapped texture. All color channels of the output contain the value of the alpha channel only.

Login