skreamz83
Topic Author
Posts: 2
Joined: 12 Mar 2019, 16:53

button image in blend and transparency of the image,

18 Mar 2019, 15:20

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.

Tags:
 
User avatar
jsantos
Site Admin
Posts: 2905
Joined: 20 Jan 2012, 17:18
Contact:

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

18 Mar 2019, 21:09

Yes, make sure you are labeling the texture with 'Noesis' to convert it internally to premultiply alpha format.
 
skreamz83
Topic Author
Posts: 2
Joined: 12 Mar 2019, 16:53

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

20 Mar 2019, 16:40

that did it, thank you
 
User avatar
jsantos
Site Admin
Posts: 2905
Joined: 20 Jan 2012, 17:18
Contact:

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

20 Mar 2019, 16:44

You welcome, a few of our samples need to apply that tag also (Menu3D for example). We are working on it.

Who is online

Users browsing this forum: No registered users and 1 guest