nleseul / obs-shaderfilter

OBS Studio filter for applying an arbitrary shader to a source.
The Unlicense
101 stars 127 forks source link

getting pixel values "around" the current pixel? #12

Closed Pomax closed 5 years ago

Pomax commented 5 years ago

Is there a way to get pixels around the current pixel value, for more informed tone curves, blurring, etc?

davboecki commented 5 years ago

Look at https://github.com/nleseul/obs-shaderfilter/issues/1 for different blur filters, which all access pixels around the current pixel.

Pomax commented 5 years ago

Those should probably be added as an example, so that the README.md can link to them going "if you want to work with more than a single pixle (e.g. convolution filters), have a look at link".

Pomax commented 5 years ago

probably only worth closing if there's a new issue for "adding/linking to an example of convolution in the README"? Otherwise keeping it open (and retitling it) would be better.