Lars Maxfield

Results 73 comments of Lars Maxfield

Indeed 'globe' switches to `VerticalPerspectiveTransform` for zoom ≤ 11, and that transform's `getConstrained()` does not enforce the maximum bounds. It's actually a TODO: https://github.com/maplibre/maplibre-gl-js/blob/f44d4f0e370b22713084380ae50a18fefe020a94/src/geo/projection/vertical_perspective_transform.ts#L639-L651

Instead of expanding the list of built-in shaders, what about generalized way to add a custom shader? That is, providing a string of HLSL code at the layer level? Just...

Ah I meant to say a custom shader with access to the raster DEM source — the `u_image`. It would be a bit like a hook to the `hillsahde.fragment.glsl`? I...