Added: matrix buffer
Added: world, view & projection matrices Added: delta time calculation Added: quad mesh
This commit is contained in:
@@ -1,4 +1,11 @@
|
||||
float4 main() : SV_TARGET
|
||||
struct PixelInput
|
||||
{
|
||||
return float4(1.0f, 1.0f, 1.0f, 1.0f);
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user