Code: Select all
//++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++//
// ENBSeries Fallout 4 adaptation file, hlsl DX11 //
//++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++//
// Histogram based adaptation by kingeric1992 //
// based on the description here: //
// https://docs.unrealengine.com/latest/INT/Engine/Rendering/PostProcessEffects/AutomaticExposure/
// //
//++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++//
Adapted to brighter scene:
and to a darker scene:
=================================
And a tiny tool to visualize the adaptation level: (shown in bottom right corner above)
Code: Select all
//++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++//
// ENBSeries Fallout 4 adaptation file, hlsl DX11 //
//++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++//
// Adaptation Level Visualizer by kingeric1992 //
// //
// Usage: Include this file in enbeffect.fx, then add //
// //
// pass ADAPT_TOOL_PASS //
// //
// after other passes in a technique. //
//++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++//
Code: Select all
#include "enbeffect_AdaptTool.fxh"
technique11 ORIGINALPOSTPROCESS <string UIName="Vanilla";>
{
pass p0
{
SetVertexShader(CompileShader(vs_5_0, VS_Quad()));
SetPixelShader(CompileShader(ps_5_0, PS_DrawOriginal()));
}
pass ADAPT_TOOL_PASS
}