Hi,
im currently exprementing and trying to learn about buffers/gbuffers and using diffrent rendering targets.
So my question is how do i texture that quad with render target 1 as a texture. All the help i verry much appreacheated.
struct PSOutput
{
float4 Color : SV_Target0;
float3 Normal : SV_Target1;
};
PSOutput main(PS_INPUT input)
{
PSOutput output;
output.Color = diffuse*txDiffuse.Sample(samLinear, input.texcoord);;
output.Normal = input.normal;
return output;
}