Skip to content

lcdPocket

lcdPocket(inputColor, uv, resolution, contrast): Node<"vec4">

Defined in: packages/nodes/src/display/lcd.ts:211

Game Boy Pocket LCD effect. Gray-scale LCD simulation with distinctive look.

Parameters

inputColor

Node<"vec4">

Input color (will be converted to grayscale)

uv

Node<"vec2">

UV coordinates

resolution

FloatInput = 160

Pixel resolution

contrast

FloatInput = 1.2

Display contrast

Returns

Node<"vec4">

Color with GB Pocket LCD effect