Optimize shaders code. Add settings at compile time.
Merge remote-tracking branch 'minetest/master'