11 lines
168 B
HLSL
Raw Normal View History

2021-10-05 00:17:24 +13:00
struct PixelShaderInput
{
float4 pos : SV_POSITION;
float3 color : COLOR0;
};
float4 main(PixelShaderInput input) : SV_TARGET
{
return float4(input.color, 1.0f);
}