webgpu-samples icon indicating copy to clipboard operation
webgpu-samples copied to clipboard

Visible artifacts in imageBlur

Open jereroy opened this issue 3 years ago • 0 comments

There are visible artifacts in the image blur sample. With 10 iterations and a filter size of 2, they are particularly obvious :

blurArtifact

Artifacts are only visible when the filter dimensions are even. By default, the filter is odd, but dat.gui rounds to an even dimension when using the slider. Also, using only odd dimensions, an offset is visible when increasing the number of iterations atm. The character "moves" to the bottom right of the screen.

jereroy avatar May 12 '22 02:05 jereroy