joogps / Glur

A library for progressive blurs in SwiftUI.
https://apps.apple.com/app/glur/id6478063257
MIT License
1.34k stars 21 forks source link

Fix Glur effect on non 1:1 views #9

Closed Kevincible closed 8 months ago

Kevincible commented 8 months ago

The clamp within blurY shoud map the y coordinate from 0 to texture height - 1

joogps commented 8 months ago

Thank you so much for this fix! It was a big oversight of mine.