Files
UnrealEngineUWP/Engine/Shaders/Private/MobileMultiView.usf
Ryan Vance 7c51ff94af Merging //UE4/Dev-Main to Dev-VR (//UE4/Dev-VR)
CL 1 of 8
#rb integration

[CL 4748712 by Ryan Vance in Dev-VR branch]
2019-01-17 18:54:05 -05:00

19 lines
665 B
Plaintext

// Copyright 1998-2019 Epic Games, Inc. All Rights Reserved.
/*=============================================================================
MobileMultiView.usf: Shader to blit from a multi-view render target array.
=============================================================================*/
#include "Common.ush"
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));
}