update shader scale