Shadowing is a very simple effect that can add a lot of depth and realism to any object. There are a variety of shadowing effects that can be used, and we cover a couple of the main techniques here. There are many things to consider when you put a shadow of any sort on a 3D object. You must remember that since that object has a shadow, it must have an imaginary light shining on it creating that shadow. For example, consider the simple 3D objects that you created in the previous sectionsyour cube, for instance, would look a little odd if all the sides were exactly the same color and there was a shadow behind it. In reality, a shadow behind the cube implies that light is hitting it from the front, therefore you'd naturally expect the front face of the cube to be a little brighter than the other faces. It's pretty simple when you think about it like that!
The two types of shadows we'll look at here are drop shadows and inner shadows. For more details on shadows and all sorts of tips relating to shading and highlighting, be sure to check out the next chapter on light and shadow in Flash 3D.