There have been a few questions recently on both the Away3d and Papervision mailing lists about projecting textures, so i figured a demo was in order to help the explanation along, plus give me an excuse to play with caustic generators . This demo also uses Away3d’s tiling material feature to allow a seamless repeating lightmap to be projected onto the surface of an object.
As usual the source is available in the right click menu or directly from here. To run the code you’ll also need the 2.0.0 version of Away3d from the svn or the downloads section of the site. For now the shading isn’t entirely accurate, as the intensity of the lightmap does not vary with face normal. We’ll be having a look at the possibilities of achieving this, along with other texture projection techniques such as shadows, in the next major revision of Away3d.