A vertical gradient, interpolated in sRGB like a CSS gradient. DataTexture row 0 is the BOTTOM of the texture (v = 0; flipY does not apply), so the ramp is stored bottom → top: the first row is exactly bottom, the last row exactly top.
flipY
bottom
top
A vertical gradient, interpolated in sRGB like a CSS gradient. DataTexture row 0 is the BOTTOM of the texture (v = 0;
flipYdoes not apply), so the ramp is stored bottom → top: the first row is exactlybottom, the last row exactlytop.