Ported ReShade 2.x effects
- Insomnia
- Topic Author
Hey everybody!
ReShade 3.x is great, no doubt! And even if it still comes with its own set of effects, I liked some of the effects in 2.x.
So I ported a few to ReShade 3.x, all with GUI annotations (however some shaders doesn't come with any available knobs).
Current list of ported effects:
- Chromatic Abberation (from SweetFX)
- Color Mod
- Color Mood
- Cross Process
- Custom Tone map
- HPD Tone mapping
- Reinhard (Marty McFly's version)
- Reinhard Linear
- Sin City
- Two versions of Fisheye CA lens distortion (horizontal version similar to Resident Evil 7 and P.T Demo, and vertical lens distortion)
- Emboss
- Spherical Tonemap
- Hue FX
- Watch Dogs Tonemapping
- Grain
- Gr8mmFilm (see screenshot)
Installation
Create an empty text file in reshade-shaders\Shaders, copy the code, and paste it in your text file, save it as something practical and end it with the .fx extension.
Example: Colormood.fx
Shaders
_________________________________________
Chromatic Abberation
Color Mod
Color mood
/*
Full credits to the ReShade team
*/
//Amateur port by Insomnia
uniform float fRatio <
ui_type = "drag";
ui_min = 0.0; ui_max = 3.0;
ui_label = "Strength";
ui_tooltip = "Amount of moody coloring you want";
> = 0.250;
uniform float moodR <
ui_type = "drag";
ui_min = 0.0; ui_max = 2.0;
ui_label = "Red";
ui_tooltip = "How strong dark red colors shall be boosted";
> = 1.0;
uniform float moodG <
ui_type = "drag";
ui_min = 0.0; ui_max = 2.0;
ui_label = "Green";
ui_tooltip = "How strong dark green colors shall be boosted";
> = 1.0;
uniform float moodB <
ui_type = "drag";
ui_min = 0.0; ui_max = 2.0;
ui_label = "Blue";
ui_tooltip = "How strong dark blue colors shall be boosted";
> = 1.0;
#include "ReShade.fxh"
float3 ColorMoodPass(float4 position : SV_Position, float2 texcoord : TexCoord) : SV_Target
{
//float3 x = tex2D(ReShade::BackBuffer, texcoord).rgb;
float3 color = tex2D(ReShade::BackBuffer, texcoord).rgb;
float3 colInput = color.rgb;
float3 colMood = 1.0f;
colMood.r = moodR;
colMood.g = moodG;
colMood.b = moodB;
float fLum = ( colInput.r + colInput.g + colInput.b ) / 3;
colMood = lerp(0, colMood, saturate(fLum * 2.0));
colMood = lerp(colMood, 1, saturate(fLum - 0.5) * 2.0);
float3 colOutput = lerp(colInput, colMood, saturate(fLum * fRatio));
color.rgb=max(0, colOutput);
return color.rgb;
}
technique ColorMood
{
pass
{
VertexShader = PostProcessVS;
PixelShader = ColorMoodPass;
}
}
Custom Tone Mapping
Cross Process
Haarm Peter Duiker (HPD) Filmic Tone mapping
Reinhard
Reinhard Linear
Sin city
Fisheye Horizontal
Fisheye Vertical
Emboss
Spherical Tonemap
Hue FX
Watch Dogs Tonemapping
Grain
Gr8mmFilm
Download this file as it contains a texture:
Gr8mmFilm shader
Screenshot with Gr8mmFilm and a Sepia filter
_________________________________________
Disclaimer
I haven't written these effects, I've only converted them to fit ReShade 3.x. Some effects will probably not look exactly like before, and certain features like depth checks are disabled due to incompetence. I won't take requests.
Please Log in or Create an account to join the conversation.
- Insomnia
- Topic Author
Added Spherical Tonemap.
Added Hue FX.
Please Log in or Create an account to join the conversation.
- Iddqd
Updated HueFX shader (Modded hueMid parameter range now it 0 to 360, added ability to disable HSL filter): pastebin.com/fT3327wE
Please Log in or Create an account to join the conversation.
- Marty McFly
Please Log in or Create an account to join the conversation.
- Insomnia
- Topic Author
Marty McFly wrote: I don't think that Cross Process was from me...I got it from some enbeffect.fx for GTA IV back in the days. I listed opezdl / AgainstAllAuthority as author in ME.
Thanks. Updated the info.
Please Log in or Create an account to join the conversation.
- XIIICaesar
Please Log in or Create an account to join the conversation.
- Insomnia
- Topic Author
Please Log in or Create an account to join the conversation.
- Sh1nRa358
mega.nz/#!Gh13gTYb!tDyElZ3bzYJv7vqy458Ds5V3JXbxGI0X6UUtXgM-Jk8
Please Log in or Create an account to join the conversation.
- XIIICaesar
***Nevermind
Got it working . You need to change the preprocessor part of the shader to:
Please Log in or Create an account to join the conversation.
- Insomnia
- Topic Author
XIIICaesar wrote: I'm getting errors when using the preprocessor definition for Grain Color being enabled.
***Nevermind
Got it working . You need to change the preprocessor part of the shader to:It was missing #ifndef & #endifCode://Preprocessor #ifndef GrainColored #define GrainColored 0 //[0:1] //-Whether grain should be colored or not. Colored grain is not as noticeable, so it helps to increase grain power. #endif
Will do, thanks!
Please Log in or Create an account to join the conversation.
- crubino
SmushrCZ wrote: Could you do splitscreen.fx?
I'm trying to porting Ganossa's splitscreen.fx but somehow it end-up with blank screen like this:
something wrong with my texture (Buffer_Witdh; Buffer_Height, RGBA8, or COLOR) and sampler for grab the original images
I wise there is a Reshade::OriginalColor like what we have in Reshade 2.x
Please Log in or Create an account to join the conversation.
- mbah.primbon
Splitscreen
Please Log in or Create an account to join the conversation.
I need them for archival reasons.
Please Log in or Create an account to join the conversation.
- mbah.primbon
Please Log in or Create an account to join the conversation.
However, doing the AO only would still be easier and better for both parties.
Please Log in or Create an account to join the conversation.
- mbah.primbon
It should work fine on ReShade 3.0.8, i dont test it yet on other ReShade 3.0 version. Let me know if you got some trouble when use those shaders.
For SSAO, you'll need 'noise' texture, you can download it here .
Screen Space Ambient Occlusion
Horizon Based Ambient Occlusion
Please Log in or Create an account to join the conversation.
I have no idea on what causes it tho.
Please Log in or Create an account to join the conversation.
- mbah.primbon
Please Log in or Create an account to join the conversation.
- mbah.primbon
Heat Haze
Please Log in or Create an account to join the conversation.
- crosire
Please Log in or Create an account to join the conversation.