Posted By: Metal_Thrasher
Realistic Blood Effect - 09/01/05 02:50
Here is an ffp shader (fixed-function pipeline shader, these work on virtualy any video car) for a realistic blood stain effect :
Here's the code
----------------------
material bloodeffect
{
effect="
technique burn
{
pass p0
{
AlphaBlendEnable=true;
//ColorOp[0.n] = Subtract;
srcblend=destcolor;
destblend=invsrcalpha;
}
}";
}
----------------------
Here's the code
----------------------
material bloodeffect
{
effect="
technique burn
{
pass p0
{
AlphaBlendEnable=true;
//ColorOp[0.n] = Subtract;
srcblend=destcolor;
destblend=invsrcalpha;
}
}";
}
----------------------
I think i'll use it.. [You gain Bookmark]



