Files
UnrealEngineUWP/Engine/Shaders/MobileMultiView.usf
Ben Marsh 20bf0eb6a1 Updating copyright notices to 2017 (copying from //Tasks/UE4/Dev-Copyright-2017).
#rb none
#lockdown Nick.Penwarden

[CL 3226823 by Ben Marsh in Main branch]
2016-12-08 08:52:44 -05:00

19 lines
665 B
Plaintext

// Copyright 1998-2017 Epic Games, Inc. All Rights Reserved.
/*=============================================================================
MobileMultiView.usf: Shader to blit from a multi-view render target array.
=============================================================================*/
#include "Common.usf"
Texture2DArray MobileMultiViewSceneColorTexture;
SamplerState MobileMultiViewSceneColorTextureSampler;
void MainPS(
FScreenVertexOutput Input,
out float4 OutColor : SV_Target0
)
{
OutColor = MobileMultiViewSceneColorTexture.Sample(MobileMultiViewSceneColorTextureSampler, float3(Input.UV.x, Input.UV.y, (float)View.StereoPassIndex));
}