scenerygraphics / scenery

Flexible VR Visualisation for Volumetric and Geometric Data on the Java VM, powered by Kotlin and Vulkan.
https://scenery.graphics
GNU Lesser General Public License v3.0
128 stars 31 forks source link

Make atmosphere shader compatible with sciview inspector #707

Closed smlpt closed 2 months ago

smlpt commented 4 months ago

This PR adds a toggle and a detach function for keybindings to the Atmosphere class, as well as a flag for the current keybindings state. This allows sciview to enable or disable the sun movement controls. A method to update the emission strength was also introduced, so that the emission strength can be changed from the sciview inspector.