mirror of https://github.com/Xaymar/obs-StreamFX
79406b0b08
'Time.x' gets inaccurate if OBS Studio is running for more than two hours, therefore we have to do something to fix it. By allowing the shader code to control when things loop using 'Time.y' (0..1) and 'Time.z' (the number of times 'Time.y' wrapped back to 0), a much more stable animation can be achieved. |
||
---|---|---|
.. | ||
blur | ||
shader | ||
gfx-source-texture.cpp | ||
gfx-source-texture.hpp |