Skip to content

hq4x(tex, uv, texelSize?, threshold?): VarNode <"vec4", JoinNode <"vec4">>

Defined in: packages/nodes/src/upscale/hq2x.ts:206

HQ4x-style upscaling (simplified).

Texture 

Source texture

Node <"vec2">

UV coordinates

Vec2Input = ...

Source texel size

FloatInput = 0.05

Color difference threshold

VarNode <"vec4", JoinNode <"vec4">>

Upscaled color