eagle
eagle(
tex,uv,texelSize):Node<"vec4">
Defined in: packages/nodes/src/upscale/eagle.ts:18
Eagle pixel art upscaling algorithm. Simple 2x upscaler that enhances diagonal lines.
Parameters
tex
Source texture (pixel art)
uv
Node<"vec2">
UV coordinates
texelSize
Vec2Input = ...
Size of one texel in source texture
Returns
Node<"vec4">
Upscaled color
Example
const upscaled = eagle(texture, uv, [1/256, 1/256])