textureField
field
textureField
RayTK
v0.42
A float or vector field that looks up values from a texture.
Texture is centered at 0,0 with coordinates from -0.5 to 0.5.
Parameters
Name | Description | Regular Handling | Read-Only Handling |
---|---|---|---|
Enable | |||
Coord Type | The type of coordinates used for UV mapping. | ||
| |||
Return Type | |||
| |||
Contexttype | When used for materials, set to | ||
| |||
Plane | When using 3D coordinates, the axis that faces the plane used for UV. This is not used when a UV field input is attached. | Runtime | Baked |
| |||
Translate | Offsets the UV coordinates. | Runtime | Baked |
Scale | Scales the UV coordinates. | Runtime | Baked |
Texture | TOP used for the texture. | ||
Extend Mode | How to handle UV coordinates outside the 0..1 range. | Semi-Baked | Semi-Baked |
| |||
Coord Mode | Baked | Baked | |
|
Inputs
-
UV Map Field
: (optional) When provided, this field is used to calculate the UV coordinates (in the x and y parts of the vec4).- Coordinate Types:
float
vec2
vec3
vec4
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
VertexContext
PixelContext
- Return Types:
vec4
- Supports Variables:
res
aspect
- Coordinate Types:
Variables
-
Resolution
: -
Aspect Ratio
: