設定しました
m_lpD3DDevice->SetRenderTarget(0,Buffer1);
m_lpD3DDevice->SetRenderTarget(1,Buffer2);
m_lpD3DDevice->SetRenderTarget(2,Buffer2);
そして、ピクセルシェーダーをレンダリングすると、最初のレンダー ターゲットにのみ影響します。
その出力構造は
struct PS_OUTPUT
{
float4 Color0 : COLOR0;
float4 Color1 : COLOR1;
float4 Color2 : COLOR2;
};
他の 2 つのレンダー ターゲットにも影響を与えるにはどうすればよいですか?