I have the following HLSL technique. I want to do additive blending on RGB (color) only, not alpha. The alpha should just override the underlying alpha. This also does additive blending on alpha.
How do I modify it to only do additive blending on RGB?
technique AdditiveTest
{
pass Pass1
{
AlphaBlendEnable = FALSE;
VertexShader = compile vs_3_0 AdditiveVertexShader();
PixelShader = compile ps_3_0 AdditivePixelShader();
SrcBlend = ONE;
DestBlend = ONE;
}
}