FiniteSingularity / obs-composite-blur

A comprehensive blur plugin for OBS that provides several different blur algorithms, and proper compositing.
GNU General Public License v2.0
380 stars 30 forks source link

[FEATURE] - Pixelate Tessellation Origin. #65

Closed FiniteSingularity closed 9 months ago

FiniteSingularity commented 1 year ago

Is your feature request related to a problem? Please describe. Currently, as you change the value of pixel size in the Pixelate algorithm, the pixels seem to "originate" from the upper left corner of the image. This is due to the origin of the pixel tessellation being at the source's (0.0,0.0) coordinate.

Describe the solution you'd like Provide a set of sliders that allow the user to set the tessellation origin to an arbitrary value. Then in the pixelate shader, perform a translation transformation to move the origin to the origin value set by the user.