X-GIS
Blog

Tag

shaders

1 post

precision

3 min read

Reconstructing the absolute coordinate was the bug

Line strokes shook at deep zoom in non-Mercator projections: the shader rebuilt an absolute longitude in f32 degrees, then a later stage subtracted the camera again — catastrophic cancellation. The fix subtracts first; the proof needs no GPU.