Fixes to generation

Material shaders compiled successfully!