Added shaders

This commit is contained in:
Boria138
2023-09-23 14:39:09 +06:00
parent 08a3b09c2f
commit 3e1ab5ddd3
120 changed files with 36866 additions and 9 deletions

View File

@ -0,0 +1,27 @@
#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;
}
}