You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
23 lines
708 B
Plaintext
23 lines
708 B
Plaintext
// Copyright 1998-2017 Epic Games, Inc. All Rights Reserved.
|
|
|
|
/*=============================================================================
|
|
EyeAdaptationCommon.usf: PostProcessing shared functions and structures.
|
|
=============================================================================*/
|
|
|
|
#ifndef __EYE_ADAPTATION_COMMON__
|
|
#define __EYE_ADAPTATION_COMMON__
|
|
|
|
|
|
// Single pixel RT used for EyeAdaptation, use function EyeAdaptationLookup() to access.
|
|
Texture2D EyeAdaptation;
|
|
#if FEATURE_LEVEL >= FEATURE_LEVEL_SM5
|
|
//Provides access to the EyeAdaptation RT. Only available in SM5.
|
|
float EyeAdaptationLookup()
|
|
{
|
|
return EyeAdaptation.Load(int3(0, 0, 0)).r;
|
|
}
|
|
#endif
|
|
|
|
|
|
#endif // __EYE_ADAPTATION_COMMON__
|