add D3D11 project
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
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
|
||||
//return INPUT.color * 0.5f; // darker vertex color
|
||||
//return INPUT.color * 2.0f; // lighter vertex color
|
||||
|
||||
//float4 color = INPUT.color;
|
||||
//color.r = 0.0f; // no red channel
|
||||
|
||||
//return color;
|
||||
}
|
||||
Reference in New Issue
Block a user