Shadows can come in handy for bringing life to your 3D object. They will add that extra dimension to the scene. Here is another tutorial which shows how to implement shadow effect easily. Don’t be afraid of the number of code lines - much of them are the author’s comments. The code hightlighted in red shows all necessary steps. If you want to cast shadows of multiple objects you can do so by grouping your objects together into a single DisplayObject3D object and then use the DisplayObject3D as your model to cast a shadow in the castModel method of your ShadowCaster instance. The tutorial is supplemented with the demo and Flash/Flex source code to download.
Note: You will need to download the ShadowCaster class: see this post for the source files.
