Ive been trying to figure this out but Im not getting anywhere. How do you set up AlphaBlending AND specify the alpha values to use?
So far Ive got:
But I have no idea where to set the alpha property, or whether the declaration is correct anyway, so that the geometry is rendered translucently. Im using PositionColored primitive squares.
So far Ive got:
Code:
Dev.RenderState.AlphaSourceBlend = Blend.SourceAlpha
Dev.RenderState.AlphaDestinationBlend = Blend.InvSourceAlpha
Dev.RenderState.AlphaBlendEnable = True