You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
14 lines
468 B
Plaintext
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 );
|
|
}
|