Skip to content

Ensure in-world UI elements are snapped to pixel borders.

Imbris requested to merge veloren/dev/veloren:imbris/fix-ui-edge-case into master
  • By opening this merge request, you agree to release your code and all other changes under the GPL 3 license and to abide by the terms set by this license.
  • Migrations have been added if applicable
  • Significant changes of this merge request have been added to the changelog.

Fixes issue revealed by !3573 (merged)

If things aren't aligned, this causes issues when trying to combine images together to form a cohesive element (e.g. only one of the images will draw to the pixel at the border between images, but it won't count as fully covering that pixel or at least bleed over colors from outside the image in the source texture)

Example of how this was manifesting:
image

Edited by Imbris

Merge request reports

Loading