Upscaling & Denoise filters causes browser sources to lose transparency #646
HunterAP23 posted onGitHub
Operating System
Windows 10 1903 and higher
OBS Studio Version?
27.1
StreamFX Version
0.11.0a4
OBS Studio Log
https://github.com/Xaymar/obs-StreamFX/files/7289391/2021-10-05.14-48-08.txt
OBS Studio Crash Log
No response
Current Behavior
When using the new Upscaling or Denoise filters on Browser sources, the Browser source loses any existing transparency.
This was moved from #642 as this issue is related to but is different from that issue.
Expected Behavior
Browser sources should not lose any of their transparency when applying an Upscaling or a Denoise filter to them.
Steps to Reproduce the Bug
- Add a browser source that contains transparency.
- Apply either an Upscaling or Denoising filter to the Browser source in question.
Any additional Information we need to know?
The Denoise filter always removes the Browser source's transparency, regardless of it's settings.
The Upscaling filter strangely only causes this issue when the "Scale" option is set to 141.67% or higher - anything lower and the issue is not present. Similarly to what happens in #642 , the Browser source will shift in size, but only when the "Scale" option is set to 141.67% or higher. This seems to be more of an issue where the upscaling does not occur until a specific threshold is reached, as the size of the Browser source updates again when hitting a Scale value of 175.01%, and again at 250.01%.
My understanding is that since the Nvidia upscaling technology upscales in specific intervals (1.5x, 2x, 2.5x, etc.) and StreamFX only upscales the source when it reaches those multiples.