Skip to content

scene: Pad damage if scale factor is fractional

David Edmundson requested to merge work/cherry-pick-56f6bab0 into Plasma/5.27

Floating point arithmetic and/or the use of GL_LINEAR in the pipeline, may result in visual glitches due to rounding (errors). As a short-term fix until a proper (more involved) solution is in place for Plasma 6, pad the damage slightly in all directions to alleviate those effects.

(cherry picked from commit 56f6bab0)

Merge request reports