Hello,
I updated from svn and I found a surprise. Gone is the property “transparent”. Is there a problem with this property?. I am using alpha transparencies with. Png.
Thank you.
Transparent in BitmapMaterialSoftware: Away3D 4.x |
||
marziac, Newbie
Posted: 21 July 2011 07:46 AM Total Posts: 4 |
||
|
||
Richard Olsson, Administrator
Posted: 21 July 2011 08:56 AM Total Posts: 1192 [ # 2 ] We decided that to rename this property since it was very misleading. There are actually two methods for alpha handling in Away4, one of which is enabled with “alphaBlending” (previously called “transparent”) and the other with “alphaThreshold”. The old name seemed to suggest that there was only one method, when in fact it is not even the most suitable of the two in most cases. The “alphaThreshold” is much quicker, because it will hide all pixels with alpha values below a particular threshold, which means significantly less work for the shader. Only use “alphaBlending” if you really, really need semi-transparency. In many cases, alphaThreshold will be just as fine (or better) with far superior performance. |
||
theMightyAtom, Sr. Member
Posted: 31 July 2011 01:22 PM Total Posts: 669 [ # 3 ] The alphaBlending property appears to affect z-sorting, as did the alpha property before. Using AlphaThreshold, notice eye brows and lashes… Using AlphaBlending,eyelashes and brows are better, but z-sorting gives black areas. |
||
Mr Margaret Scratcher, Sr. Member
Posted: 12 August 2011 08:46 PM Total Posts: 344 [ # 4 ] Has the ‘alphablending’ property disappeared in the FP11 beta version? I’m using a BitmapFileMaterial and I can get alphThreshold to work, but not alphaBlending… |