struct PixelInput { float4 position : SV_Position; float4 color : COLOR; }; float4 main(PixelInput INPUT) : SV_TARGET { //return float4(1.0f, 1.0f, 1.0f, 1.0f); // solid color return INPUT.color; // vertex color }