UE4
Topic Author
Posts: 62
Joined: 29 Dec 2017, 06:32

How to Display a circle image?

26 Feb 2018, 03:38

for a png image, if its alpha is [0, 255], it looks fine, but if its alpha is 0 Or 255, it looks not correct
https://share.weiyun.com/c6a6e0492705cc ... 7809aa843a

first image alpha is [0, 255]
second is 0 Or 255
third is PreMultiplyAlpha version of second
and I use FreeImage for PreMultiplyAlpha convert
 
UE4
Topic Author
Posts: 62
Joined: 29 Dec 2017, 06:32

Re: How to Display a circle image?

27 Feb 2018, 04:54

PreMultiplyAlpha.png
PreMultiplyAlpha.png (70.89 KiB) Viewed 774 times
 
User avatar
hcpizzi
Site Admin
Posts: 236
Joined: 09 Feb 2012, 12:40

Re: How to Display a circle image?

27 Feb 2018, 12:06

Hi UE4,

Unfortunately UE4 fills in the masked out parts of PNG images (alpha == 0) with colors from adjacent texels, which means PNG images cannot be used with the pre-multiplied alpha images required by NoesisGUI.

For the time being, please convert the image to another format, such as TGA, and import again.

There's more information, including a link to the Unreal forums where the problem is explained, in this forum thread: How to use transparent images In UE4

Who is online

Users browsing this forum: No registered users and 1 guest