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

14 lines
458 B
HLSL

// Copyright Epic Games, Inc. All Rights Reserved.
/*=============================================================================
SimplePixelShader_F32.usf: pixel shader source.
=============================================================================*/
sampler2D SourceTexture;
void main( float2 UV : TEXCOORD0, out float4 OutColor : COLOR0 )
{
float Result = tex2D( SourceTexture, UV ).r;
OutColor = float4( Result, Result, Result, Result );
}