Multi-pass shader