Often I just want to change these two functions
getModelSpaceVertex()
getModelSpaceNormal()
in the vertex shader, and it’s a little bit of a hassle to export the shader, change those functions, change other parameters, re-export the shader …
So it would be great if the phong MAT had a DAT input that internally replaces those functions with those defined in the input, so there’s no need for exporting the shader … thx