-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
On https://dev.macrostrat.org/mars/syrtis-jezero/layers
if you change "terrain exaggeration", it doesn't set correct resolutionScale
Seems to be related to this code, it only sets it once, since resolutionScale is not changed, but there's a new element:
Lines 21 to 29 in 6b3efd4
| useEffect(() => { | |
| const { cesiumElement } = ref.current ?? {}; | |
| if (cesiumElement == null) return; | |
| ref.current.cesiumElement.resolutionScale = resolutionScale; | |
| // Enable anti-aliasing | |
| ref.current.cesiumElement.scene.postProcessStages.fxaa.enabled = true; | |
| }, [resolutionScale]); |
Not related, but seems like "Quality" selector is also broken
Metadata
Metadata
Assignees
Labels
No labels