Files
UnrealEngineUWP/Engine/Shaders/Private/GameplayMediaEncoderShaders.usf
Marc Audy 360d078ca3 Second batch of remaining Engine copyright updates.
#rnx
#rb none

[CL 10871248 by Marc Audy in Main branch]
2019-12-27 09:26:59 -05:00

20 lines
610 B
Plaintext

// Copyright Epic Games, Inc. All Rights Reserved.
/*=========================================================================================
GameplayMediaEncoderShaders.usf: utility shaders for the GameplayMediaEncoder module
=========================================================================================*/
#include "Common.ush"
Texture2D InTexture;
SamplerState InTextureSampler;
// Swizzle color channels from RGBA to BGRA
void ScreenSwizzlePS(
FScreenVertexOutput Input,
out float4 OutColor : SV_Target0
)
{
OutColor = Texture2DSample(InTexture, InTextureSampler, Input.UV).bgra;
}