mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-12-28 16:27:12 +00:00
13 lines
207 B
HLSL
13 lines
207 B
HLSL
|
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);
|
||
|
}
|