Round corner looks not smooth
Hi,
We use NoessiGUI 2.0 on iOS. We create a round border, but it looks as below, how can we make the corner more smooth? We use MSAA for anti-aliasing. Thanks.
We use NoessiGUI 2.0 on iOS. We create a round border, but it looks as below, how can we make the corner more smooth? We use MSAA for anti-aliasing. Thanks.
Re: Round corner looks not smooth
+1 on this one. I also noticed in 2.0 things tend to look more aliased, even with MSAA/PPAA.
Re: Round corner looks not smooth
Are you sure you have MSAA activated in Unity Quality Settings?
When you set MSAA in the Noesis View component it means: "Use the MSAA currently active in the surface", but if it is 1x then it won't do antialiasing. We know this is quite confusing but we didn't have time to fix it in 2.0.
Apart from this, you should be getting the exact quality as in 1.3 betas.
When you set MSAA in the Noesis View component it means: "Use the MSAA currently active in the surface", but if it is 1x then it won't do antialiasing. We know this is quite confusing but we didn't have time to fix it in 2.0.
Apart from this, you should be getting the exact quality as in 1.3 betas.
Re: Round corner looks not smooth
I have "4x multi sampling" in quality settings, haven't changed it at all. And comparing 1.2 with 2.0 (not the 1.3 betas)
Will try to get a before/after shot with 1.2 and 2 - maybe you're right and it's just my imagination
Will try to get a before/after shot with 1.2 and 2 - maybe you're right and it's just my imagination
Re: Round corner looks not smooth
We change to use PPAA and it looks better. Thanks.
- ai_enabled
- Posts: 231
- Joined:
- Contact:
Re: Round corner looks not smooth
Please note that MSAA will not work if the camera is rendering using deferred rendering path. That's how Unity works.
I think NoesisGUI View component should report about that to make it clear.
The workaround is to use a separate camera with forward rendering path for NoesisGUI View component.
PPAA is an algorithm used by NoesisGUI internally so it's not dependent on MSAA setting and rendering path... but it makes shapes (especially thin lines) a little bit more thick which in some cases looks wrong. If it looks good for you - it's a good alternative to MSAA.
I think NoesisGUI View component should report about that to make it clear.
The workaround is to use a separate camera with forward rendering path for NoesisGUI View component.
PPAA is an algorithm used by NoesisGUI internally so it's not dependent on MSAA setting and rendering path... but it makes shapes (especially thin lines) a little bit more thick which in some cases looks wrong. If it looks good for you - it's a good alternative to MSAA.
AtomicTorch Studio Pte. Ltd. http://atomictorch.com
Re: Round corner looks not smooth
Thanks for the point! We should definitely inform about this.Please note that MSAA will not work if the camera is rendering using deferred rendering path. That's how Unity works.
I think NoesisGUI View component should report about that to make it clear.
Re: Round corner looks not smooth
I just finished investigating. Noesis 1.2 and 2 look the same. This said, there's no difference between MSAA Off in Unity settings and MSAA 8x. Camera is using Forward rendering path.
Here's a screenshot: https://1drv.ms/i/s!AspGCVZdWgTBuvMUW5ztrt7ODD128w
Sample project: https://1drv.ms/u/s!AspGCVZdWgTBuvMVZnggScz_4xXaGw (open the Scene sample with the updated XAML)
XAML:
<Grid x:Name="LayoutRoot" Background="#FF333333">
<Ellipse Width="300" Height="300" Stroke="White" StrokeThickness="2"/>
</Grid>
Is this expected?
Here's a screenshot: https://1drv.ms/i/s!AspGCVZdWgTBuvMUW5ztrt7ODD128w
Sample project: https://1drv.ms/u/s!AspGCVZdWgTBuvMVZnggScz_4xXaGw (open the Scene sample with the updated XAML)
XAML:
<Grid x:Name="LayoutRoot" Background="#FF333333">
<Ellipse Width="300" Height="300" Stroke="White" StrokeThickness="2"/>
</Grid>
Is this expected?
- ai_enabled
- Posts: 231
- Joined:
- Contact:
Re: Round corner looks not smooth
This is unexpected. We're using MSAA in our Unity game and it works properly with NoesisGUI 1.2. In another game (MonoGame engine) we're using NoesisGUI 2.0 and MSAA also works properly.
Please ensure that Unity is actually using MSAA in your case. You could verify this by printing the current value of `QualitySettings.antiAliasing` static property into the console.
Please ensure that Unity is actually using MSAA in your case. You could verify this by printing the current value of `QualitySettings.antiAliasing` static property into the console.
AtomicTorch Studio Pte. Ltd. http://atomictorch.com
Re: Round corner looks not smooth
It's 8x in Console:
AA: 8
UnityEngine.Debug:Log(Object)
PrintQuality:Update() (at Assets/PrintQuality.cs:14)
public class PrintQuality : MonoBehaviour {
void Update () {
Debug.Log("AA: " + QualitySettings.antiAliasing);
}
}
Does it work for you if you create/edit a blank Noesis project? Thanks for the help btw. It's very baffling.
AA: 8
UnityEngine.Debug:Log(Object)
PrintQuality:Update() (at Assets/PrintQuality.cs:14)
public class PrintQuality : MonoBehaviour {
void Update () {
Debug.Log("AA: " + QualitySettings.antiAliasing);
}
}
Does it work for you if you create/edit a blank Noesis project? Thanks for the help btw. It's very baffling.
Who is online
Users browsing this forum: Ahrefs [Bot], Google [Bot] and 62 guests