hadronized / spectra

Rust demoscene engine (currently on hold)
122 stars 6 forks source link

Dynamic shaders #66

Open hadronized opened 5 years ago

hadronized commented 5 years ago

We need dynamic shaders, that is, given the current luminance shader program type:

Program<I, O, U>

We want this:

Program<I, O, Dynamic>

Where Dynamic is a type to implement that enables:

This will allow for shader programs that can be customized dynamically and hence, add a real interest with spectra.