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