Page 1 of 1
Animated texture: fades to invisible and back
Posted: Thu Oct 04, 2012 4:08 am
by Swaffy
I have messed with animated textures before. I made a seizure-inducing texture for my Stg 44.
Do the animated textures (".bik" format) allow transparency? I want to make a vehicle texture that fades from visible, to transparent, then fades back to visible.
Re: Animated texture: fades to invisible and back
Posted: Thu Oct 04, 2012 11:46 am
by fo0k
Re: Animated texture: fades to invisible and back
Posted: Fri Oct 05, 2012 4:01 am
by Apache Thunder
Currently the only way to get alpha working for BIK textures ingame is to use the destblend commands in the RS shader for the material using the BIK texture. You may either try and keep the alpha layer on export to BIK or replace it with black. Either way I think the end effect of the blend commands are the same.
Code: Select all
transparent true;
blendSrc DestAlpha;
blendDest one;
This may present some issues with larger meshes depending on your fog settings and view distance. But for smaller scale things like perhaps animated displays, it should work just fine. though note that there may be a slight alteration of the color/appearance of the texture as a result of using this mode of transparency.