switching shaders automatically