matcapUV

Last modified: Jun 20, 2025

TSL function for creating a matcap uv node.

Can be used to compute texture coordinates for projecting a matcap onto a mesh. Used by MeshMatcapNodeMaterial.

Returns

Node<vec2>