Advanced Masks

Advanced Masks 1.5.2

it_brand0n

New Member
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 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!

Unfortunately, no update quite yet. I'm actively working on Advanced masks, and will get it updated soon.
 

NevermindXP

New Member
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.
 
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.

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?
 

PerfectPixels

New Member
I'm trying to get something to work with two separate plugins. Advanced mask and exceldros move plug-in. I'm trying to get it to have a smooth transition between different shapes and how you have it setup the movie value from exceldros plugin doesn't have access to change the shape. It only has access to change the height width zoom etc. if there is anything you can do or let me know if I can get this to work that would be very helpful. Thanks again for the great plugin.
 
FiniteSingularity updated Advanced Masks with a new update entry:

Release 1.5.0

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
    • ...

Read the rest of this update entry...
 
Hey, I just wanted to circle back on this. This issue is still present with the latest version of Advanced Masks.
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.
 

it_brand0n

New Member
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.
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!
 

it_brand0n

New Member
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.

1751515900829.png

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.
1751516019628.png


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.
 

it_brand0n

New Member
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.
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.
1751516309148.png


1751516287842.png
 

Attachments

  • 1920x1080-diagonal-mask.png
    1920x1080-diagonal-mask.png
    18.3 KB · Views: 2

it_brand0n

New Member
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
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.

Whenever I update SGS to 1.5.2, the line is very aliased in both blending modes, but with the shadow off, the line is smooth, unless blending mdoe is set to sRGB off which like mentioned, makes the white line on the diagonal and some aliasing no matter what. And this is with advanced masks still at 1.1.0.

If I use SGS v 1.0.2 and advanced masks 1.5.2, it exhibits normal behavior with a smooth diagonal.

Testing back on my main OBS 31.0.4, with SGS 1.0.2 it has a smooth diagonal so I am pretty sure it's in the 1.5.0 update of SGS that is causing it. The sRGB Off blending mode issue of the white line and aliasing appears to be an OBS issue that has existed for a while.

Sorry for the confusion, but to summarize, I think it is something that changed in the SGS 1.5.0 update, and also with that update, even by doubling the intensitiy, the shadow, at least for dual kawase, appears to not spread out like it did in the 1.0.2 version, which is what caused me to turn on the sRGB Off blending mode to achieve the same effect, leading to all the weird white line and extra aliasing on the diagonal. But note that even on the default blending mode, with 1.5.2 of SGS, the diagonal is still very jagged. So I think we can clear Advanced masks as the source of the issue, and it is within the 1.5.0 update of SGS.

Again, sorry for all the posts and for now I am going to just downgrade SGS and fix the intensities back to what I had originaly. If you need any more information jsut let me know!

Thank for all your help and work on these plugins!
 
Top