+fog new shader;
*delete unused function;
*small refactoring;