I have a question about BlendState.
Is it possible to make sprites outside of my spot light blend into dark ambient light with BlendState?
I kinda made sprites in my spot light translucent and those far away normal but I don't really know if I can make them blend with the ambient light
This is what I use to make the effect on the screenschot:
private Color _ambientLight = new Color(.1f, .1f, .1f, .1f); // for HLSL
public static BlendState BlendBlack = new BlendState
{
ColorBlendFunction = BlendFunction.Add,
ColorSourceBlend = Blend.One,
ColorDestinationBlend = Blend.One,
AlphaBlendFunction = BlendFunction.Add,
AlphaSourceBlend = Blend.SourceAlpha,
AlphaDestinationBlend = Blend.One
};
Any help or tip would be helpful.
Thanx