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
Section titled “Parameters”Source texture (pixel art)
Node <"vec2">
UV coordinates
texelSize?
Section titled “texelSize?”Vec2Input = ...
Size of one texel in source texture
Returns
Section titled “Returns”Node <"vec4">
Upscaled color
Example
Section titled “Example”const upscaled = eagle(texture, uv, [1/256, 1/256])