title: Multiple Rendertargets in DX9
body: <p>I've set</p>
  
  <pre><code>m_lpD3DDevice-&gt;SetRenderTarget(0,Buffer1);
  m_lpD3DDevice-&gt;SetRenderTarget(1,Buffer2);
  m_lpD3DDevice-&gt;SetRenderTarget(2,Buffer2);
  </code></pre>
  
  <p>and if I render the pixelshader only affects the first render target.</p>
  
  <p>It's output structure is </p>
  
  <pre><code>struct PS_OUTPUT
  {
      float4 Color0    :  COLOR0;
      float4 Color1    :  COLOR1;
      float4 Color2    :  COLOR2;
  };
  </code></pre>
  
  <p>what do I need to do to affect the other two render targets too?</p>