I've been trying to figure this out but I'm not getting anywhere. How do you set up AlphaBlending AND specify the alpha values to use?
So far I've 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. I'm using PositionColored primitive squares.
So far I've got:
Visual Basic:
Dev.RenderState.AlphaSourceBlend = Blend.SourceAlpha
Dev.RenderState.AlphaDestinationBlend = Blend.InvSourceAlpha
Dev.RenderState.AlphaBlendEnable = True