Improved shader support