ShaderMaterial generation

See #include directives in shader code output from Node Material Editor - #2 by Evgeni_Popov for additional context.

Note that the PG in my post doesn’t work anymore, because the ShaderMaterial.isReady method has evolved since then.