Texture2D ScreenTexture; SamplerState ScreenTextureSampler; struct VS_to_PS { float4 position : SV_POSITION; float2 texCoord0 : TEXCOORD0; }; float4 SimpleTexturePixelShader(VS_to_PS input) : SV_TARGET { float4 textureColor; textureColor = ScreenTexture.Sample(ScreenTextureSampler, input.texCoord0); return textureColor; }