Files
UnrealEngine/Engine/Shaders/Private/ScreenPixelShaderOES.usf
2025-05-18 13:04:45 +08:00

24 lines
550 B
HLSL

// Copyright Epic Games, Inc. All Rights Reserved.
/*=============================================================================
ScreenPixelShaderOES.usf: Filter pixel shader source.
=============================================================================*/
#include "Common.ush"
#if COMPILER_GLSL_ES3_1
TextureExternal InTexture;
#else
Texture2D InTexture;
#endif
SamplerState InTextureSampler;
void Main(
FScreenVertexOutput Input,
out float4 OutColor : SV_Target0
)
{
OutColor = InTexture.Sample(InTextureSampler, Input.UV);
}