FiniteSingularity
Member
Thanks for the details. I'll take a look at SGS/Advanced Masks and see if I can figure out why it would be causing the aliasing.
Thank you so much!Hi Brandon-
I'm able to replicate the issue. Looking into a fix for it this week.
Hey no worries I know you are probably busy. just wanted to see if there was any update on the fix for the issue I described. I am just staying on an older version for now but I thought I would check in. Thanks again for your work on these plugins!
Hey,
I've got a pretty strange bug. I'm currently working on a new Overlay, on a fresh OBS and a new Win 11 PC.
When I use your Adavnced mask on any Window Capture or Video Capture device and try to change the size of it my whole obs crashes - to bad without any crash log.
I dont know how to solve this problem besides never changing the size of any source which is hooked with advanced mask.
Yea when i use the Streamelements Plugin, everything crashes. I deleted it and the Problem was solved :)I think I saw you working this out with some folks over on the discord. Is this the one that turned out to be another plugin causing the issue?
Release 1.5.0
This is the second feature release for Advanced Masks. Big thanks to the huge number of people who have downloaded and used the plugin- I'm glad so many people are finding it useful! This release fixes a few bugs, and adds a number of new features. Read down below for details.
New Features:
This release extends some of the existing features, and adds some entirely new mask types.
- Shape Masks
- ...
Because of course I missed a bug on the major release and needed to do a same day hotfix... Huge thanks to discord user Craqgerbil for bringing this to my attention. This release fixes a bug where masks applied to image sources might not render correctly.
Release 1.5.2 (mostly fixin' bugs)
- Add support for move transition to rectangle mask by @exeldro in #74
- Fixes a bug with OBS 31.1 where groups used as source for source mask would not load properly. by @FiniteSingularity in...
Hey, I just wanted to circle back on this. This issue is still present with the latest version of Advanced Masks.Thank you so much!
I'm seeing it as well, but its only at very slight angles like that. I suspect it might have something to do with Stroke/glow/shadow rendering and am looking into it. Apologies for this one taking a while to fix.Hey, I just wanted to circle back on this. This issue is still present with the latest version of Advanced Masks.
All good and no worries. Just wanted to make sure you were aware. I understand sometimes stuff is hard to fix as a fellow software developer trust me. Take your time and again no worries. Thank you!I'm seeing it as well, but its only at very slight angles like that. I suspect it might have something to do with Stroke/glow/shadow rendering and am looking into it. Apologies for this one taking a while to fix.
But like I said in the original post about this, it seems even if I make a very smooth-looking PNG mask diagonal similar to what I am doing with the plugin, it still is jagged, so I am starting to think it may be an OBS issue. I have tried different color formats and color spaces, and set the blending method of the sources to default and sRGB off and it still looks the same. So it may be somthing in OBS causing diagonal lines to alias like this. What is also curious is that with the drop shadow and the latest version of the Storke Glow Shadow, aside form the intensity changes like you had mentioned with the 1.5 release I believe, I had to turn the blending method to sRGB off to achieve the posted screenshots, otherwise the drop shadow is a lot more focused.And yeah, it is worsened by the drop shadow, but even with no drop shadow it is still jagged and there is almost a weird white glow on the line. I'm posting some more screenshots. This is with the latest verison of both Advanced Masks and Stroke Glow Shadown. The degree is a -4 degree angle.
View attachment 114348
That is with the dual kawase outer shadow drop shadow with a 100px size, 170% intensity and 45 degree angle. The advanced mask (same for both screenshots) is a rectangle alpha mask with a -86 degree rotation and no feathering.
This is without the drop shadow.
View attachment 114349
If you need any more details just let me know. I might poke around the plugin and see if I can figure anythign out but I am not too familiar with OBS plugins, C, or shaders and stuff so I'm not sure how much of a help that will be.
Okay, so with a portable version of OBS 30.2.3, I set up a small test scene like the one I have on my main OBS. With version 1.1.0 of advanced masks and v1.0.2 of sgs, and with blending mode on the source that has the mask and shadow applied set to default, everything seems to be fine. But if I turn blending mode to sRGB off, I get the white line and some aliasing on the diagonal. So I think the white line and some jaggedness is due to having the blending method set to sRGB off, which I only tried because as mentioend before without sRGB off, the latest version of SGS doesn't blend out the shadow like it used to on the 1.0.2 version.But like I said in the original post about this, it seems even if I make a very smooth-looking PNG mask diagonal similar to what I am doing with the plugin, it still is jagged, so I am starting to think it may be an OBS issue. I have tried different color formats and color spaces, and set the blending method of the sources to default and sRGB off and it still looks the same. So it may be somthing in OBS causing diagonal lines to alias like this. What is also curious is that with the drop shadow and the latest version of the Storke Glow Shadow, aside form the intensity changes like you had mentioned with the 1.5 release I believe, I had to turn the blending method to sRGB off to achieve the posted screenshots, otherwise the drop shadow is a lot more focused.
Also to note this is on OBS 31.0.04. I tried the 31.1 RC and it also had the same issue, and I think when I originally posted this issue I was on a lower version of 31.0.x but I am not 100% on that. I am going to try to use different versions of Advanced Masks and see if I can figure out when it happened, and maybe set up a portable OBS of a pre 31.x version and try to see if its somthing introduced in an OBS update.
I have a hunch its somthing in OBS but I am not 100% for sure.
These are screenshots using the PNG mask attached, and it appears to be a fairly smooth line on the mask.
View attachment 114351
View attachment 114350