dpdyFine

dpdy measured per pixel rather than per 2×2 pixel block.

dpdyFine(x: Val): Expr

Import math from shaders/std and use math.dpdyFine.

Parameters

NameTypeNotes
xVal

Example

const stepY = dpdyFine(lookupUV)

See also

  • dpdy — How much a value changes from this pixel to the next one down.
  • dpdxFine — dpdx measured per pixel rather than per 2×2 pixel block.

Used by

PrismaticGlass