Consistent mapping boundaries of brush textures #109201
This is based on some recent changes and #106895.
There were two different approaches in the recent past of fitting or filling the texture within a brush radius.
Whenever a brush falloff shape is changed between a circular and square shape, the texture mapping is either clipped or repeats.
Both cases can be undesirable, the right one especially because of the repeating. But the left one is more expected and leads to a consistent brush behavior.
Based on discussions between @JulienKaspar and @DanielBystedt.
The ideal beahvior is the one on the left. The mapping of brush textures needs to be updated so the texture always fits into the outer edges of the full diameter of the circular brush radius, which is the same as the outer edges of the square brush radius.
A lot of shared brush textures online already conform to a circular radius. So it's good to keep following this standard.
For the use case where the full square texture needs to be user, the user needs to change the tip roundness to be 0.0 in the brush settings.
@brecht Maybe you have an opinion on this? I don't think this change would disrupt any other part of Blender.
I don't mind seeing the default changed. It will affect other cases like modifiers, where you might want repetition of tiled images textures, but it's not obvious that is the right default anyway.
No due date set.
No dependencies set.
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?