Optimize shaders code. Add settings at compile time.