17 lines
384 B
HLSL
17 lines
384 B
HLSL
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#include "Common.ush"
|
|
|
|
StructuredBuffer<float4> EyeAdaptationBuffer;
|
|
|
|
#if COMPUTESHADER
|
|
RWTexture2D<float4> RWEyeAdaptationTexture;
|
|
|
|
[numthreads(1, 1, 1)]
|
|
void CopyEyeAdaptationToTextureCS(uint2 DispatchThreadId : SV_DispatchThreadID)
|
|
{
|
|
RWEyeAdaptationTexture[DispatchThreadId] = EyeAdaptationBuffer[0];
|
|
}
|
|
|
|
#endif // COMPUTESHADER
|