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
| Name | Type | Notes |
|---|---|---|
x | Val |
Example
const stepY = dpdyFine(lookupUV)
See also
dpdy— How much a value changes from this pixel to the next one down.dpdxFine—dpdxmeasured per pixel rather than per 2×2 pixel block.