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