CodeWalker/CodeWalker.Shaders/MarkerPS.hlsl
2019-11-18 16:25:40 +01:00

16 lines
307 B
HLSL

Texture2D<float4> Colourmap : register(t0);
SamplerState TextureSS : register(s0);
struct VS_OUTPUT
{
float4 Position : SV_POSITION;
float2 Texcoord : TEXCOORD0;
};
float4 main(VS_OUTPUT input) : SV_TARGET
{
//return float4(1,0,0,1);
return Colourmap.Sample(TextureSS, input.Texcoord);
}