// we only care about altering the Mesh... perhaps could be altered later to some interface shared by Mesh
// and other leaf nodes.
if (spatial instanceof Mesh) {
// get our transparency rendering type.
final TransparencyType renderType = spatial.getSceneHints().getTransparencyType();
// check for one of the two pass types...
if (renderType != TransparencyType.OnePass) {
// get handle to Mesh