PeterTh / gedosato

The Generic DownSampling Tool
GNU General Public License v3.0
464 stars 166 forks source link

Incrementing counter for each bloom blur pass #284

Open OrdinaryMagician opened 9 years ago

OrdinaryMagician commented 9 years ago

As part of my custom bloom shader, I need each of the blur passes to be aware of which pass it is (dunno how to clearly explain it) so I can perform a blue shift that varies per-pass. Something like a float that ranges between 0.0 and 1.0 would be fine (and also be much more friendly than the horrible method ENB has).

If it sounds like too much work, I'll see how I can add it myself and put up a pull request. Sorry if I'm begging yet again for another "personal feature" only I would use.