What?
Expose data-stage properties on PlatformBackdrop controlling how the backdrop planet scales with camera zoom, as the engine already does for SpaceTileEffectParameters: zoom_base_factor, zoom_base_offset, zoom_exponent, zoom_factor, zoom_offset, with defaults chosen to reproduce vanilla backdrop behavior.Ideally these behave identically to the same-named properties on SpaceTileEffectParameters, whose zoom remapping is already documented:
effective_zoom = max(1/1024, pow(max(0, zoom * zoom_base_factor + zoom_base_offset), zoom_exponent) * zoom_factor + zoom_offset)
Matching that contract would let the same configuration work for both.
Why?
These properties are the last missing piece in allowing the 2.1 backdrop shader to render fully perspective-correct background stars and planets:- Starfield is already fully controllable in both translation and zoom response.
- Asteroids passing behind planets can be achieved by disabling the background asteroid layer.
- For platform_backdrop, parallax_strength already handles translation: it linearly scales the backdrop's drift with camera pan, and setting it to {0, 0} fixes the backdrop in screen space (perspective-correct for an object at planetary orbit distance under platform-scale camera motion), and composes cleanly and automatically with the engine-side orbit arrival/departure animation
- platform_backdrop zoom parameters, the last remaining gap. By default backdrop currently scales with zoom like an object only a few camera-heights away, which cannot be changed by mods.
