SimplePixelShader.hlsl 170 B

12345678910
  1. struct PixelShaderInput
  2. {
  3. float4 pos : SV_POSITION;
  4. float3 color : COLOR0;
  5. };
  6. float4 main(PixelShaderInput input) : SV_TARGET
  7. {
  8. return float4(input.color,1.0f);
  9. }