light/Engine/res/Shaders/Quad/Quad_VS.hlsl
Light 033a3b1dd1 Shader files: hlsl & glsl
- Moved #define LT_ENGINE_RESOURCES_*_SHADER_* definitions to files
       * Note: This was done so for a gcc compilation error caused by R"()" string

- Removed test print fps in  'Application::GameLoop()'
2021-07-10 19:59:27 +04:30

14 lines
No EOL
273 B
HLSL

struct VertexOut
{
float4 Color : COLOR;
float4 Position : SV_Position;
};
VertexOut main(float3 InPosition : POSITION, float4 InColor : COLOR)
{
VertexOut vso;
vso.Position = float4(InPosition.x, InPosition.y, InPosition.z, 1.0);
vso.Color = InColor;
return vso;
}