Pixel shader always returning white
<p>I have a pixel shader that tries to return a static colour</p>

<pre><code>float4 PPBright(PS_POSTPROCESS_INPUT ppIn) : SV_Target
{
    return (1.00f, 0.00f, 0.00f, 1.0f);
}
</code></pre>

<p>no matter the colour values it returns white, I can change the alpha values and it affects the colour (white, grey, black).</p>

<p>here's my cpp code:</p>

<pre><code>g_pd3dDevice-&gt;OMSetRenderTargets(1, &amp;BackBufferRenderTarget, DepthStencilView);
BloomTextureVar-&gt;SetResource(SceneShaderResource);
g_pd3dDevice-&gt;IASetInputLayout(nullptr);
g_pd3dDevice-&gt;IASetPrimitiveTopology(D3D10_PRIMITIVE_TOPOLOGY_TRIANGLESTRIP);
tech-&gt;GetPassByIndex(index)-&gt;Apply(0);
g_pd3dDevice-&gt;Draw(4, 0);
</code></pre>