Added multipass-shader support