Page 1 of 1

button image in blend and transparency of the image,

Posted: 18 Mar 2019, 15:20
by skreamz83
button image in blend uses the transparency of the image, but in unity the background of button is white. any ideas?

<Button Content="" HorizontalAlignment="Left" Margin="10,10,0,0" VerticalAlignment="Top" Width="60" Height="60" BorderThickness="0" BorderBrush="{x:Null}" Foreground="{x:Null}">
<Button.Background>
<ImageBrush ImageSource="games_controller.png"/>
</Button.Background>
</Button>


thanks.

Re: button image in blend and transparency of the image,

Posted: 18 Mar 2019, 21:09
by jsantos
Yes, make sure you are labeling the texture with 'Noesis' to convert it internally to premultiply alpha format.

Re: button image in blend and transparency of the image,

Posted: 20 Mar 2019, 16:40
by skreamz83
that did it, thank you

Re: button image in blend and transparency of the image,

Posted: 20 Mar 2019, 16:44
by jsantos
You welcome, a few of our samples need to apply that tag also (Menu3D for example). We are working on it.