Original Post
Where can I read the details on rendering using multiple passes? Where does the output of 1 pass go? Where does the next pass get its input? Can I change shader variables between passes? Is there some way I can use this to implement more than one light in my shader? Let's say I have a shader which implements one lambert type spot light just fine. Now, I want to render using 4 or 5 lights, but only handle one at a time in my shader variables. How do I use multiple passes to do such? I scanned the SDK ovewr and over. While it says you can render using multiple passes, it doesn't say anything about how, where inputs and outputs go, how one pass effects another etc.