You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Instead of averaging over the subpixels, it is sampling the pixels diagonal to the one being worked on, making the end result same as the one without super sampling. Changing epsX and epsY to 1/width and 1/height would be the correct way
The text was updated successfully, but these errors were encountered:
I tested this code, and found that due to the way the constants are initialised, epsX and epsY end up being 0, so in effect there is no supersampling performed. Explicitly initialising epsX and epsY as floats seemed to work better?
Instead of averaging over the subpixels, it is sampling the pixels diagonal to the one being worked on, making the end result same as the one without super sampling. Changing epsX and epsY to 1/width and 1/height would be the correct way
The text was updated successfully, but these errors were encountered: