nleseul / obs-shaderfilter

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

Support for float2[] #16

Open alex-ong opened 5 years ago

alex-ong commented 5 years ago

I'm writing a filter that requires the user to input UV's of certain parts of the texture. You only seem to support float4[] for now - is float2[] easily implementable?

I would like support for float2[] if possible, and perhaps a UV picker (uv of source image, and you click it and it spits out the x,y coordinates)