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

Improve shader hot reloading #642

Closed skalarproduktraum closed 1 year ago

skalarproduktraum commented 1 year 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.