Skip to content

Add API to override vertex snapping mode in RenderGeometry and use it to disable rounding for Wobbly Windows and Magic Lamp

Arjen Hiemstra requested to merge work/ahiemstra/offscreenrounding into master

This MR adds API that allows overriding the vertex snapping behaviour of RenderGeometry. This then allows Wobbly Windows and Magic Lamp to override this behaviour, as they use a grid of WindowQuads that might have boundaries at fractional device coordinates. By default these would then be rounded, but that leads to blurry rendering as the quad sizes end up slightly off.

BUG: 461283

Edited by Arjen Hiemstra

Merge request reports