migrate shaders to they make use of the global light state.
WIP work on material generator.