Hi!
When I work with ATF textures and alphaBlending in a plane… always away3d put a white glow around the image with alpha. If I don’t use atf and I use Bitmap, the white glow don’t appear….
Someone know solve this?
Thanks!! I hope your commets.
ATF + alphaBlending… white glowSoftware: Away3D 4.x |
||
luckypig, Newbie
Posted: 16 September 2013 08:30 PM Total Posts: 10 Hi! When I work with ATF textures and alphaBlending in a plane… always away3d put a white glow around the image with alpha. If I don’t use atf and I use Bitmap, the white glow don’t appear…. Someone know solve this? Thanks!! I hope your commets. |
||
|
||
|
||
John Brookes, Moderator
Posted: 25 February 2014 05:22 PM Total Posts: 732 [ # 3 ] One of you post an example + assets.
|
||
luckypig, Newbie
Posted: 26 February 2014 11:20 AM Total Posts: 10 [ # 4 ] Yes. I’ve made an example of the bug. You can download it from: http://www.lucky-pig.net/away3d_atf_alphablending_bug.zip In the bin folder you have an AIR file for instal and test it. In the src folder you have a Main.as with the code, how you can see, the atf is from the png, but in the plane of the left (ATF) the texture have a white-yellow glow but in the plane of the right (PNG) works fine. This happen always that you have an ATF texture in a material with alphablending=true. This is a very important problem because we can’t use the benefits of ATF if we need alphablending…. Do you need any more for test it? Regards! I hope your comments.
|
||
luckypig, Newbie
Posted: 26 February 2014 11:28 AM Total Posts: 10 [ # 5 ] Put this diffuse.atf in the folder: bin/assets/ I can’t put it in the away3d_atf_alphablending_bug.zip Sorry! File Attachments diffuseATF.zip (File Size: 1486KB - Downloads: 187) |
||
John Brookes, Moderator
Posted: 26 February 2014 01:29 PM Total Posts: 732 [ # 6 ] Try
|
||
|
||
John Brookes, Moderator
Posted: 26 February 2014 02:32 PM Total Posts: 732 [ # 8 ] This unity thread goes into it a bit. Even with premultiplied off you will still get some halo at oblique angles. Just had a quick play and you get a bit better results with PS and saving as png8 with a mat of similar color.
|
||
|