image sample code. I've added a dumb clamping now of dxt/dyt, probably could use a smarter solution but it's not likely to be noticeable.
image sample code. I've added a dumb clamping now of dxt/dyt, probably could use a smarter solution but it's not likely to be noticeable.