gfx-rs / gfx_scene

deprecated
Apache License 2.0
15 stars 1 forks source link

Multi-pass rendering #7

Closed kvark closed 9 years ago

kvark commented 9 years ago

How do we want the multi-pass rendering to happen? A typical example would be the fur. Basically, a technique should be able to generate more than a single pass (which is program + state + parameters).

Possible solutions:

I'm leaning towards the instancing solution. If for some reason the user needs more flexibility, one can still draw stuff outside of the technique.

kvark commented 9 years ago

It's going to look much better after https://github.com/gfx-rs/gfx-rs/issues/640 is done, but now it should be already functional.