Files
UnrealEngine/Engine/Shaders/Private/PostProcessEyeAdaptationUtils.usf
Brandyn / Techy fcc1b09210 init
2026-04-04 15:40:51 -05:00

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