Files
UnrealEngineUWP/Engine/Shaders/SimpleF32PixelShader.usf
2014-03-14 14:13:41 -04:00

14 lines
468 B
Plaintext

// Copyright 1998-2014 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 );
}