Skip to content

sai2x

sai2x(tex, uv, texelSize): Node<"vec4">

Defined in: packages/nodes/src/upscale/eagle.ts:137

2xSaI (2x Scale and Interpolation) algorithm. Advanced pixel art scaler with smooth interpolation.

Parameters

tex

Texture

Source texture

uv

Node<"vec2">

UV coordinates

texelSize

Vec2Input = ...

Source texel size

Returns

Node<"vec4">

Upscaled color