2023-09-23 14:39:09 +06:00

28 lines
549 B
HLSL

#include "ReShadeUI.fxh"
uniform float3 Tint < __UNIFORM_COLOR_FLOAT3
> = float3(0.55, 0.43, 0.42);
uniform float Strength < __UNIFORM_SLIDER_FLOAT1
ui_min = 0.0; ui_max = 1.0;
ui_tooltip = "Adjust the strength of the effect.";
> = 0.58;
#include "ReShade.fxh"
float3 TintPass(float4 vois : SV_Position, float2 texcoord : TexCoord) : SV_Target
{
float3 col = tex2D(ReShade::BackBuffer, texcoord).rgb;
return lerp(col, col * Tint * 2.55, Strength);
}
technique Tint
{
pass
{
VertexShader = PostProcessVS;
PixelShader = TintPass;
}
}