And then I’d follow the errors thrown on launch window and take it from there. For example this error:
ERROR: 0:717: 'getMetalness' : no matching overloaded function found
Points to the metalnessPS shader chunk which has changes (e.g. processMetalness() method has been removed). You should start by comparing prev/current chunk versions to see what needs to be changed. Github commit history is super helpful on that:
Mix function is a built in function of the shader, and has not been changed.
What is likely the problem are the parameters to it … the function can mix for example vec3 and vec3, but not vec3 and vec4. Please check your parameters are matching.
I think it’s important to keep these demos working as the engine updates. If they no longer work after each update it might cause some confusion and push some devs away.
Here is the change log: @Leonidas thanks for your help here!
DamageMetalnessPS - file simply changed the name of the “void getSpecularity()”
function to “void getMetalness()”
I’ve updated the shaders to work with the recent engine release. I removed some shader chunks, as they no longer need to be overriden, like TBN term, and moved uniforms to the base chunk so they are available during shader backend calculation.