|
struct PixelOutput {
|
|
float4 Color : SV_Target0; // First render target
|
|
float4 Emissive : SV_Target1; // Second render target
|
|
};
|
|
|
|
PixelOutput main(float3 Color : TEXCOORD0)
|
|
{
|
|
PixelOutput o;
|
|
o.Color = float4(Color * 4, 1.0);
|
|
o.Emissive = float4(Color * 4, 1.0);
|
|
|
|
return o;
|
|
}
|