Hi In Fisherman Day's ( http://away3d.com/away3d-amazing-games-websites-and-applications ) there are a lot of bitmapmaterials using alphamask for transparency, like the barriers in this screenshoot : http://away3d.com/awaygraphics/away3d-fisherman-flash-3d-game.jpg
There is a JPG texture : http://www.dangerous-rabbits.com/independant-projects/fishermans-day/demo/library/texture/champBuilding.jpg And a PNG alphamask : http://www.dangerous-rabbits.com/independant-projects/fishermans-day/demo/library/texture/champBuildingMask.png I search a lot to learn how to do this but found nothing. I unsuccessfully tried : materialMask.blendMode = BlendMode.ALPHA; var compositeMaterial = new CompositeMaterial({materials:[material, materialMask]}); Is somebody knows a way to do that ? (Sorry for my poor English. Don't hesitate to correct me.)
