Pixelated small images and circles
Posted: 10 Dec 2020, 15:09
Hello
In our Unity project, we have a pixelation (or aliasing) problem with small images (avatar profile) and circles (currently paths in xaml).
Here the small circles used as background in Blend (blurred circles) and in Unity (deformed circles) : The (very reduced) xaml for the circles :
Here the result for the images in a Unity build :
Note : these avatar's pictures are added after the project is builded, so we cannot ajust their setting on Unity (neither add the Noesis label).
I already tried to change the property "RenderOptions.BitmapScalingMode="HighQuality"" to "Linear" for small images, as explain in the Images Tutorial, but it didn't render less pixelated.
The xaml that contains the image :
In the Quality of the Project Settings, the anti-aliasing is set to 8x Multi Sampling.
In the Camera Inspector the MSAA and the Rendering Path are set to Use Graphics Setting.
In the Noesis View, the Enable PPAA is checked.
The game resolution is 1920*1080.
Is their a way to fixe the aliasing of (smalled) cercles and small pictures ?
thanks in advance
In our Unity project, we have a pixelation (or aliasing) problem with small images (avatar profile) and circles (currently paths in xaml).
Here the small circles used as background in Blend (blurred circles) and in Unity (deformed circles) : The (very reduced) xaml for the circles :
Code: Select all
<Path Fill="{TemplateBinding Foreground}" Opacity="0.3"
Data="M732.348,17.261 C732.802,17.261 733.169,17.629 733.169,18.082 C733.169,18.536 732.802,18.903 732.349,18.903 C731.895,18.903 731.528,18.536 731.528,18.082 C731.528,17.629 731.895,17.261 732.348,17.261 ZM733.195,0.224 C733.196,0.702 732.809,1.089 732.332,1.089 C731.855,1.088 731.468,0.701 731.468,0.224 C731.468,0.145 731.493,0.073 731.513,-0.000 Z"/>I already tried to change the property "RenderOptions.BitmapScalingMode="HighQuality"" to "Linear" for small images, as explain in the Images Tutorial, but it didn't render less pixelated.
The xaml that contains the image :
Code: Select all
<Border Grid.Column="1" Grid.RowSpan="2" HorizontalAlignment="Center" VerticalAlignment="Center" Width="45" Height="45" CornerRadius="45">
<Border.Background>
<ImageBrush RenderOptions.BitmapScalingMode="HighQuality" ImageSource="{Binding SenderImg}"/>
</Border.Background>
</Border>
In the Camera Inspector the MSAA and the Rendering Path are set to Use Graphics Setting.
In the Noesis View, the Enable PPAA is checked.
The game resolution is 1920*1080.
Is their a way to fixe the aliasing of (smalled) cercles and small pictures ?
thanks in advance