Recompile shader containing updated function.
Posted: Thu Jan 31, 2019 10:52 am
Hi Amplifiers!
Here's an issue I am struggling with: our artists use functions, which is very practical, but when the function is updated, you have to manually go to the shaders that use this function and update then as well to recompile them with the updated function.
I understand why this is standard behaviour, in order to not break already made shaders that were designed with a function made at a certain time. However, if an artist works with a set of shaders, that use a function made for let's say blending, everytime the function is changed it becomes painful to update this set of shaders.
Is there a way via the API or a menu I haven't found yet to force the re-evaluation and recompilation of a defined set of shaders?
Thanks!
Here's an issue I am struggling with: our artists use functions, which is very practical, but when the function is updated, you have to manually go to the shaders that use this function and update then as well to recompile them with the updated function.
I understand why this is standard behaviour, in order to not break already made shaders that were designed with a function made at a certain time. However, if an artist works with a set of shaders, that use a function made for let's say blending, everytime the function is changed it becomes painful to update this set of shaders.
Is there a way via the API or a menu I haven't found yet to force the re-evaluation and recompilation of a defined set of shaders?
Thanks!