Skip to content

scale3x

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

Defined in: packages/nodes/src/upscale/scale2x.ts:100

Scale3x (AdvMAME3x) pixel art upscaling algorithm. 3x upscaling variant with more refined edge detection.

Parameters

tex

Texture

Source texture

uv

Node<"vec2">

UV coordinates

texelSize

Vec2Input = ...

Source texel size

Returns

Node<"vec4">

Upscaled color