Effects/Opacity Issues
Posted: 11 Nov 2022, 13:33
Hi guys, I'm currently trying to implement some basic login screen in Unity3D and Noesis.
The overall pipeline or workflow is extremely nice especially for one like me coming from the WPF world.
Unfortunately I'm facing some issues that I seem unable to solve. When I place some controls that use a standard WPF blur effect the rendering (URP) looks weird in Unity.
This is how it looks in VS2022 when I run the Blend project:

You can clearly see the blur/glow effects. Now, this is how Unity/Noesis renders it:

There are no blur/glow effects at all. Colors also look quite different. Are these effects officially supported in Unity with URP?
I thought maybe these effects don't work and since Noesis comes with blending modes it might also ship with some effect for controls but all I could find were those image effects. I tried these but I receive an error on runtime.

What am I possibly doing wrong?
The XAML code looks pretty easy:
The style I'm aiming for is some sci-fi-ish glowing blurry something something so I'm wondering if Noesis is a valid way to go.
Could anyone please give some advice?
EDIT:
When I change color space settings in Unity from Gamma to Linear it looks even more strange.

Also it seems like there are issues with controls that have an opacity value lower than 1.0. By default the blur/glow has an opacity of 0.5 and on mouse over trigger it switches to 0.8. If I set the mouse over value to 1.0 the glow is rendered ... somehow. Still it looks different than in VS2022.
The overall pipeline or workflow is extremely nice especially for one like me coming from the WPF world.
Unfortunately I'm facing some issues that I seem unable to solve. When I place some controls that use a standard WPF blur effect the rendering (URP) looks weird in Unity.
This is how it looks in VS2022 when I run the Blend project:

You can clearly see the blur/glow effects. Now, this is how Unity/Noesis renders it:

There are no blur/glow effects at all. Colors also look quite different. Are these effects officially supported in Unity with URP?
I thought maybe these effects don't work and since Noesis comes with blending modes it might also ship with some effect for controls but all I could find were those image effects. I tried these but I receive an error on runtime.

What am I possibly doing wrong?
The XAML code looks pretty easy:
Code: Select all
<Image Source="/Assets/UI/Textures/tulip.png"
Width="128"
Height="128"
Stretch="Uniform">
<Image.Effect>
<noesis:DirectionalBlurEffect />
</Image.Effect>
</Image>
Could anyone please give some advice?
EDIT:
When I change color space settings in Unity from Gamma to Linear it looks even more strange.

Also it seems like there are issues with controls that have an opacity value lower than 1.0. By default the blur/glow has an opacity of 0.5 and on mouse over trigger it switches to 0.8. If I set the mouse over value to 1.0 the glow is rendered ... somehow. Still it looks different than in VS2022.