Dynamic Opacity

Hi all,

Is it possible to alter opacity dynamically, without setting IPO curves for every object?

E.g. I want to fade objects out that occlude the player. I can get the object easily by casting a ray from the camera to the player.


  • There seems no way to dynamically alter opacity
  • Even if there was, ZTransp would have to be enabled for every object, meaning nothing would cast shadows

Is the shader route plausible, or would ZTransp have to be enabled no matter what?

Still on 2.49b I’m afraid, not enough time to adjust to change atm :slight_smile:

I was thinking about this, and I think it could work if you just change the object’s color alpha setting (obj.color), but I’m not sure. It depends on how you set up your mesh - sometimes it will change transparency correctly, but other times (if you have multiple meshes with the same material, I think), it may have problems.