← Group Research Thesis W26

Leaf UVs that converge at the tip

Group Research Thesis W26 · Week 9 · Winter 2026

The leaf UVs now converge at the tip, so the vein texture follows the leaf shape instead of being cut off at the edges.

UVs are projected on a straight strip; a scale ramp then narrows the strip toward the tip, so the UV columns taper with the geometry.

vector mn = getbbox_min(0), mx = getbbox_max(0);
float t = fit(@P.y, mn.y, mx.y, 0, 1);
float s = chramp("scale_profile", t);
float cx = (mn.x + mx.x) * 0.5, cz = (mn.z + mx.z) * 0.5;
@P.x = cx + (@P.x - cx) * s;
@P.z = cz + (@P.z - cz) * s;
Straight UV strip, tapered after projection
Straight UV strip, tapered after projection
Checker follows the taper
Checker follows the taper
Leaf texture converging at the tip
Leaf texture converging at the tip