knitPattern

knitPattern

beta
pattern
knitPattern
RayTK
v0.42

Woven yarn pattern.

Note that this pattern has a lot of fine detail which does not work well for things like offsetting SDF surfaces, unless the Texture Amount is set to 0.

Parameters

Name Description Regular Handling Read-Only Handling
Translate

Moves the entire pattern.

Runtime Baked
Size

Scales the pattern.

Runtime Baked
Texture Amount

Amount of roughness in the pattern.

Runtime Baked
Texture Density

Tightness of the roughness.

Runtime Baked

Inputs

  • Coordinate Field: (optional) Field that produces vectors that the pattern uses as coordinates instead of regular spatial position. Only the X and Y parts are used.
    • Coordinate Types: vec2 vec3
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext VertexContext PixelContext
    • Return Types: vec4