Skip to content

Instantly share code, notes, and snippets.

@klutch
Created April 17, 2015 02:06
Show Gist options
  • Save klutch/aba9fc68ce06d5bc0e16 to your computer and use it in GitHub Desktop.
Save klutch/aba9fc68ce06d5bc0e16 to your computer and use it in GitHub Desktop.
struct PixelShaderOutput
{
float4 ColorA : COLOR0;
float4 ColorB : COLOR1;
float4 ColorC : COLOR2;
};
PixelShaderOutput PixelShaderFunction(VertexShaderOutput input)
{
PixelShaderOutput output;
output.ColorA = float4(1, 0, 0, 1);
output.ColorB = float4(0, 1, 0, 1);
output.ColorC = float4(0, 0, 1, 1);
return output;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment