I have posted a SWF here: http://groups.google.com/group/away3d-dev/web/book.swf
The CompositeMaterial consists of two PhongBitmapMaterials that can be toggled on/off using the checkboxes as well as the specular and shininess being adjusted with the sliders. Click and drag anywhere else on the stage to rotate the book. The two material layers are as described in my original post, leather = fully opaque PNG, gold leaf = PNG with variable transparency across the bitmap. I've noticed a few strange behaviours: 1. If you hide the leather material the book turns white except when it is being rotated. 2. If both materials are visible, adjusting the specular/shininess of the leather material seems to have no effect in terms of how the book is rendered. What I am hoping for is a way to ensure the specular lighting effects are only drawn into the portions of the gold leaf that have a transparency > 0. It would be very cool if you could specify a bitmap to be used as a specular mask for a material. These are both explained in the original post. If you need the source code and FLA I can post an archive as well. Thanks again!
