replaceDefaultUV

Last modified: Feb 2, 2026

Replaces the default UV coordinates used in texture lookups.

material.contextNode = replaceDefaultUV( ( textureNode ) => {

	// ...
	return customUVCoordinates;

} );
export {}
ParameterTypeDefault Value
callback(arg0: Node) => Node<any> | Node<any>
node?Nodenull

Returns

ContextNode

rotateUV

Rotates the given uv coordinates around a center point

ParameterTypeDefault Value
uvNode<vec2>
rotationNode<float>
centerNode<vec2>

Returns

Node<vec2>

spherizeUV

Applies a spherical warping effect to the given uv coordinates.

ParameterTypeDefault Value
uvNode<vec2>
strengthNode<float>
centerNode<vec2>

Returns

Node<vec2>