LookingGlass/host/Shaders/Pixel.hlsl

13 lines
207 B
HLSL
Raw Normal View History

2018-07-27 20:15:55 +00:00
Texture2D texTexture;
SamplerState texSampler;
struct VS
{
float4 pos : SV_Position;
float2 tex : TEXCOORD;
};
float4 main(VS input): SV_Target
{
return texTexture.Sample(texSampler, input.tex);
}