Original Post
I'm going back and writing a multipass path for my terrain engine, and as I see it, there are two ways to structure it:
- For each patch, set the first texture, render. Second texture, render. Third texture, render. This means a lot of texture switches but minimal buffer changes.
- For each texture, render every patch. This means a lot of buffer changes, but minimal texture switches.