dpdy
How much a value changes from this pixel to the next one down.
dpdy(x: Val): Expr
Import math from shaders/std and use math.dpdy.
Parameters
| Name | Type | Notes |
|---|---|---|
x | Val |
Example
const stepY = dpdy(lookupUV)
How much a value changes from this pixel to the next one down.
dpdy(x: Val): Expr
Import math from shaders/std and use math.dpdy.
| Name | Type | Notes |
|---|---|---|
x | Val |
const stepY = dpdy(lookupUV)