I have a ball and its shadow. The shadow is created using the TextureProjector:
//Create projector:
_oProjector = new TextureProjector(Cast.bitmapTexture(new embedShadow().bitmapData));
_oProjectionMethod = new ProjectiveTextureMethod(_oProjector);
//Assign to material:
oMaterial.addMethod(_oProjectionMethod);
Can I somehow adjust the intensity/alpha of the projected shadow? E.g. when the ball jumps up, the shadow fades to alpha = 0.2.
A workaround could be to exchange the bitmapdata, but maybe there’s a better way?