Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include "ReShade.fxh"
- #include "PI/Blur.fx"
- namespace ShoterXX
- {
- void PS_ImagePass(in float4 vpos : SV_Position, in float2 xy : TEXCOORD, in float4x4 fetchMatrix : TEXCOORD1, out float4 put : SV_Target0)
- {
- DoBlurNP(2, PI_Blur, xy, put, fetchMatrix);
- put.rgb = sqrt(put.rgb);
- }
- }
- technique SXX_Pipeline
- {
- pass
- {
- VertexShader = ShoterXX::VS_PI_BLUR6;
- PixelShader = ShoterXX::PS_PI_BlurGet;
- RenderTarget0 = ShoterXX::PI_Blur2Tex;
- }
- DoBlurPassEven(1)
- DoBlurPassOdd(2)
- DoBlurPassEven(3)
- DoBlurPassOdd(4)
- DoBlurPassEven(5)
- pass
- {
- VertexShader = ShoterXX::VS_PI_BLUR2;
- PixelShader = ShoterXX::PS_ImagePass;
- }
- }
Add Comment
Please, Sign In to add comment