View Issue Details

IDProjectCategoryView StatusLast Update
0002194NoesisGUIUnity3Dpublic2021-11-18 17:55
Reporterstonstad Assigned Tosfernandez  
PrioritynormalSeverityminorReproducibilityalways
Status assignedResolutionopen 
Product Version3.0.12 
Summary0002194: Black Drop Shadows Rendered Transparent in Unity
DescriptionThis XAML
<DropShadowEffect BlurRadius="50" Direction="0" ShadowDepth="0" Opacity="1" Color="Black"/> // OR
<DropShadowEffect BlurRadius="50" Direction="0" ShadowDepth="0" Opacity="1" Color="#110000/>
renders as result image HEX110000.png.

This XAML
<DropShadowEffect BlurRadius="50" Direction="0" ShadowDepth="0" Opacity="1" Color="#FF0000/>
renders as result image HEXFF0000.png.

Is there something I should be doing to render shadows as black?



TagsNo tags attached.
PlatformAny

Activities

stonstad

stonstad

2021-11-18 00:01

reporter  

HEX110000.png (190,273 bytes)   
HEX110000.png (190,273 bytes)   
HEXFF0000.png (175,387 bytes)   
HEXFF0000.png (175,387 bytes)   
sfernandez

sfernandez

2021-11-18 10:41

manager   ~0007588

In my tests the drop shadow seems to work the same as in WPF. I even tried with Photoshop and the results are very similar.

What is happening is that BlurRadius is very big and it mixes with the background, but there is a difference if you remove the shadow. If you use a white background you can clearly see that there is a shadow there.
When using red as shadow it stands out more because you don't expect that color around the text and it is very different from the background.

If you need a bit more of contrast with the background in your texts, you can always use the text stroke:
<TextBlock noesis:Stroke="#80000000" noesis:StrokeThickness="2.5" Foreground="White" .../>
stonstad

stonstad

2021-11-18 17:55

reporter   ~0007590

OK, thank you Sergio!

Issue History

Date Modified Username Field Change
2021-11-18 00:01 stonstad New Issue
2021-11-18 00:01 stonstad File Added: HEX110000.png
2021-11-18 00:01 stonstad File Added: HEXFF0000.png
2021-11-18 10:41 sfernandez Assigned To => sfernandez
2021-11-18 10:41 sfernandez Status new => feedback
2021-11-18 10:41 sfernandez Note Added: 0007588
2021-11-18 17:55 stonstad Note Added: 0007590
2021-11-18 17:55 stonstad Status feedback => assigned