The code I have here is trying to just get the first part of to work where Stage 1 only blends onto Stage 0 using Stage 0's alpha. It still renders all of Stage 1 though.
Device.SetTexture(0, texture[0]);Device.SetTexture(1, texture[1]);Device.RenderState.SourceBlend = Blend.SourceAlpha;Device.RenderState.DestinationBlend = Blend.InvSourceAlpha;Device.RenderState.AlphaBlendEnable = true;Device.TextureState[0].AlphaOperation = TextureOperation.Disable;//Disable blending for base textureDevice.TextureState[1].ColorOperation = TextureOperation.Add;Device.TextureState[1].AlphaOperation = TextureOperation.BlendCurrentAlpha;Device.TextureState[1].AlphaArgument0 = TextureArgument.Diffuse;
[Edited by - TheSkyline13 on October 16, 2010 10:22:20 PM]