|27th Dec 2004, 09:05 AM||#1|
material to overwrite another material to transparent?
I havent actually posted in this forum before (mostly my questions are coding related) but anyways I have a quick question on UT2004 materials.
Is it possible to make an overlay material like the invisibility effect that will overwrite any materials that are underneath it?
What I am going for is to make an invisibility overlay for a player that gets added on top of their regular texture when they go invisible. This material should remove any effects of the materials underneath it, so that I can just add the material and the player disappears. Any easy way to do this with materials only?
The reason is that this is for a Tribes Vengeance mutator, and its extremely easy in my current situation to do it this way as the code for it is already built into the engine (from shield pack), but to cycle through each object and skin, manually replacing texture maps with an invisibility tex, would be difficult and time consuming as a T:V player is made up of many separate objects and they change from player class to player class.
any help appreciated!