-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Description
As in #110318 , the default tile mode of clamp can cause rendering artifacts along the edges of most blurs. This happens because clamp can double the strength of the edge pixel, which for a blur gets smeared across a large area.
In other cases, clamp can lead to rendering that is correct but looks like a rendering error (is unintuitive). For example see https://x.com/SuprDeclarative/status/1798180992446042329 .
Are there cases where changing the tile mode to decal leads to changes that aren't an improvement? I don't actually think so. While the tile mode has a large impact when using canvas APIs like drawImageRect, I think the image filter tile mode always considers the output size of whatever input geometry, so it can only ever impact edge pixels. may be wrong.
FYI @flar / @matanlurey