Files
UnrealEngineUWP/Engine/Shaders/ScreenVertexShader.usf
Ben Marsh 149375b14b Update copyright notices to 2015.
[CL 2379638 by Ben Marsh in Main branch]
2014-12-07 19:09:38 -05:00

28 lines
701 B
Plaintext

// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
/*=============================================================================
ScreenVertexShader.usf: Filter vertex shader source.
=============================================================================*/
#include "Common.usf"
void Main(
float2 InPosition : ATTRIBUTE0,
float2 InUV : ATTRIBUTE1,
out FScreenVertexOutput Output
)
{
DrawRectangle( float4( InPosition, 0, 1 ), InUV, Output.Position, Output.UV);
}
void MainForGS(
float2 InPosition : ATTRIBUTE0,
float2 InUV : ATTRIBUTE1,
out FScreenVertexOutput Output
)
{
// this is just a wrapper of the normal function
Main(InPosition, InUV, Output);
}