- 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()'
14 lines
No EOL
273 B
HLSL
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;
|
|
} |