Silence-GitHub / BBMetalImage

A high performance Swift library for GPU-accelerated image/video processing based on Metal.
MIT License
989 stars 126 forks source link

BBMetalTiltShiftFilter custom params not working #37

Closed knightbenax closed 4 years ago

knightbenax commented 4 years ago

Hi,

Custom params for the TiltShiftFilter are not working. Not noticeable changes no matter how much you set and change the values

BBMetalTiltShiftFilter(sigma: blurValue, topFocusLevel: topValue, bottomFocusLevel: bottomValue, focusFallOffRate: fallOffRateValue)

knightbenax commented 4 years ago

For anyone else who stumbles on this, I figured out that you can adjust the values by setting the properties of each value instead