light/Assets/Shaders/Quad/Quad_VS.hlsl
Light 0c06164509 Major Changes
- Moved every resource files to the <Assets/> directory
- We now use the argc, argv, from main so the Engine responds if a scene file is
      opened by it
- Fixed relative paths <../../> problem, now we use the <Asets/> path
2021-10-08 22:59:47 +03:30

19 lines
No EOL
331 B
HLSL

struct VertexOut
{
float4 Color : COLOR;
float4 Position : SV_Position;
};
cbuffer cv_ViewProjection : register(b0)
{
row_major matrix viewProjection;
}
VertexOut main(float4 InPosition : POSITION, float4 InColor : COLOR)
{
VertexOut vso;
vso.Position = mul(InPosition, viewProjection);
vso.Color = InColor;
return vso;
}