I have a pixel shader for simple sprites like this:
float4 ps_Sprite( vs_out input_p ) : SV_TARGET{
return tex2D.Sample( samplerMode, input_p.uv ) * input_p.color;
} Should I check for alpha == 0 and return float4(0.0, 0.0, 0.0, 0.0) ? Should I also check for color (0.0, 0.0, 0.0) and return the color without sampling?