scallyw4g / bonsai

A voxel engine in a pot
Do What The F*ck You Want To Public License
170 stars 10 forks source link

Add hot shader reloading #50

Open scallyw4g opened 4 months ago

scallyw4g commented 4 months ago

It would be real nice if shaders supported hot reloading, such that you could edit the shader and the changes appeared.

There is code that creates shaders already. The majority of the work here is to write code that polls the text files for changes and reloads when it detects a .. new timestamp?