sir, i want to make 3d spritesheet with transparent background, which look at camera & in keyframe based. shall i follow example in Basic_UVAnimation or Basic_SpriteSheetAnimation ? i think Basic_SpriteSheetAnimation example more controllable, but how to make background transparent ?
about 3d spritesheetSoftware: Away3D 4.x |
||
|
||
therealloft, Member
Posted: 10 August 2016 06:22 PM Total Posts: 65 [ # 1 ] have you tried setting the alphaBlending property on the material?
var material:TextureMaterial = new TextureMaterial(Cast.bitmapTexture(testSheet1));
|
||
|
||
Fabrice Closier, Administrator
Posted: 11 August 2016 09:17 AM Total Posts: 1265 [ # 3 ] yes, and the spritesheet helper will handle it, but at the time it was made the shader handling the cells did not support compressed cells. As a side note, I worked on new tools around spritesheets for Prefab, while the principles of the away3d api may look more complex than in some other frameworks, it was flexible and extensible enough for me to generate/edit/playback tools for simple and complex animations without any mods…
|