los triangle
This commit is contained in:
22
enginecustom/Color.ps
Normal file
22
enginecustom/Color.ps
Normal file
@@ -0,0 +1,22 @@
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
// Filename: color.ps
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
//////////////
|
||||
// TYPEDEFS //
|
||||
//////////////
|
||||
struct PixelInputType
|
||||
{
|
||||
float4 position : SV_POSITION;
|
||||
float4 color : COLOR;
|
||||
};
|
||||
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
// Pixel Shader
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
float4 ColorPixelShader(PixelInputType input) : SV_TARGET
|
||||
{
|
||||
return input.color;
|
||||
}
|
||||
Reference in New Issue
Block a user