fixed: average implementation
cleanup
cleanup
added: material_tex_*_enabled control and usage