Professional Documents
Culture Documents
Color Ps
Color Ps
//// TYPES
//////////////////////
struct PixelInputType
{
float4 position : SV_POSITION;
float4 color : COLOR;
};
//////////////////////
//// Pixel Shader
/////////////////////
float4 ColorPixelShader(PixelInputType input) : SV_TARGET
{
return input.color;
}