- 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()'
7 lines
No EOL
193 B
HLSL
7 lines
No EOL
193 B
HLSL
sampler samplerState : register(s0);
|
|
Texture2D<float4> myTexture : register(t0);
|
|
|
|
float4 main(float2 InTexChoord : TEXCOORD) : SV_Target
|
|
{
|
|
return myTexture.Sample(samplerState, InTexChoord);
|
|
} |