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
129 stars 32 forks source link

Improve shader hot reloading #642

Closed skalarproduktraum closed 9 months ago

skalarproduktraum commented 9 months ago

This PR improves hot reloading of shaders:

Nice hack for Linux and macOS: symlink src/main/resources/graphics/scenery/backends/shaders to ./shaders, so all of scenery's default shaders become hot-reloadable.