SweetFX Shader Suite release and discussion thread

Discussion in 'Games, Gaming & Game-demos' started by CeeJay.dk, Sep 23, 2012.

Thread Status:
Not open for further replies.
  1. BetA

    BetA Ancient Guru

    Messages:
    4,537
    Likes Received:
    518
    GPU:
    G1-GTX980@1400Mhz
    whoops, sorry...forgot em..Its based on TFL Replicas one, found in the sweetFX 1.2 Preview..

    The Settings are:



    @CeeJay-dk...

    Nice work with the new preview version..
    Im looking forward to the new DPX SHader...The effect looks really nice on movies, from what i saw at the other forum.. :)
     
  2. TFL Replica

    TFL Replica Guest

    Messages:
    387
    Likes Received:
    5
    GPU:
    RTX 3060 Ti
    Thanks BetA, glad you liked my Torchlight 2 settings. :)
     
  3. Super1

    Super1 Guest

    Messages:
    91
    Likes Received:
    0
    GPU:
    Nvidia
    Thanks TFL Replica & BetA :)
     
  4. lycanwrath

    lycanwrath Member Guru

    Messages:
    127
    Likes Received:
    11
    GPU:
    AMD RX480 8GB ref
    Your settings are great on BF3 man,
    Tested them on Nshr Canals and they look cool.
     

  5. CeeJay.dk

    CeeJay.dk Guest

    Messages:
    691
    Likes Received:
    14
    GPU:
    Radeon 6870
    I think my idea to include user made presets was a good one :)
    We should expand on this .. send me all your best presets and I'll include them so they can be shared with the world.

    Try to keep a similar format:

    Game:
    SweetFX version:
    Author:
    Description:
    Showcase:

    So people know what game is was meant for - it can be more than one) (I bet the Torchlight 2 settings work great for Torchlight 1 too), what SweetFX version it was created for (because sometimes variable names changes or disappear or the shader changes and the settings no longer produce the same result), who the author was (important if you find it somewhere else), what what look they were going for with this preset.
    Showcase links are nice too .. it gives people a chance to see the preset working and it helps promote the authors site/work/videos.

    Also if you're posting your presets here in the thread, please use the Code (#) tags, as they preserve the formatting of the preset - the Quote tag doesn't.

    Lets get a good sharing community thing going on, so interesting new presets come out , even when I'm busy doing other stuff.
     
    Last edited: Oct 1, 2012
  6. ninjafada

    ninjafada Guest

    Messages:
    308
    Likes Received:
    0
    GPU:
    pny 670
    thx CeeJay.dk for the shaders
    tested with bf3 gw2 ff14 working great

    Code:
    /*-----------------------------------------------------------.
    / Description /
    '------------------------------------------------------------/
    
    Game: Final Fantasy XIV 1.23b
    SweetFX version: 1.2 preview
    Author: ninjafada
    Description: "a little sharper, hdr and color"
    Showcase: http://ninjafada.com/ffxiv/smaaff14-3.png
       /*-----------------------------------------------------------.
      /                      Choose effects                         /
      '-----------------------------------------------------------*/
    
    // Set to 1 for ON or 0 for OFF
    #define USE_SMAA_ANTIALIASING 1
    #define USE_LUMASHARPEN 1 //Also sharpens the antialiased edges which makes them less smooth - I'm working on fixing that.
    #define USE_BLOOM 0       // Bloom makes bright lights bleed their light into their surroundings (relatively high performance cost)
    #define USE_HDR 1         // Not actual HDR - It just tries to mimic an HDR look (relatively high performance cost)
    #define USE_TECHNICOLOR 0 // Attempts to mimic the look of an old movie using the Technicolor three-strip color process (Techicolor Process 4)
    #define USE_TONEMAP 0
    #define USE_VIBRANCE 1    //Intelligently saturates (or desaturates if you use negative values) the pixels depending on their original saturation.
    #define USE_SEPIA 1
    #define USE_VIGNETTE 0    //Darkens the edges of the image to make it more look like it was shot with a camera lens. May cause banding artifacts.
    #define USE_DITHER 0      //Applies dithering to simulate more colors than your monitor can display. This lessens banding artifacts.
    
    #define USE_DPX 0         //Unfinished - Should make the image look like it's been converted to DXP Cineon - basically it's another movie-like look similar to technicolor
    
       /*-----------------------------------------------------------.
      /                  SMAA Anti-aliasing settings                /
      '-----------------------------------------------------------*/
    
    #define SMAA_THRESHOLD 0.12           // (0.08-0.20) Edge detection threshold
    #define SMAA_MAX_SEARCH_STEPS 32      // [0-98] Determines the radius SMAA will search for aliased edges
    #define SMAA_MAX_SEARCH_STEPS_DIAG 16  // [0-16] Determines the radius SMAA will search for diagonal aliased edges
    #define SMAA_CORNER_ROUNDING 0        // [0-100] Determines the percent of antialiasing to apply to corners.
    
    // -- Advanced SMAA settings --
    #define COLOR_EDGE_DETECTION 1        // 1 Enables color edge detection (slower but more acurate) - 0 uses luma edge detection (faster)
    #define SMAA_DIRECTX9_LINEAR_BLEND 0  // Using DX9 HARDWARE? (software version doesn't matter) if so this needs to be 1 - If not, leave it at 0.
    
    
       /*-----------------------------------------------------------.
      /                       LumaSharpen settings                  /
      '-----------------------------------------------------------*/
    // -- Sharpening --
    #define sharp_strength 0.8 // (0.2-2.0)Strength of the sharpening
    #define sharp_clamp 0.060  // [0.0-1.0]Limits maximum amount of sharpening a pixel recieves - Default is 0.030
    
    // -- Advanced sharpening settings --
    #define pattern 2          // Choose a sample pattern [ 1, 2, 3 or 4 ] - 1 = Fast, 2 = Normal, 3 = Wider, 4 = Pyramid shaped.
    #define offset_bias 1.0    // [0.0-6.0](1.0) Offset bias adjusts the radius of the sampling pattern.
                               // I designed the pattern for offset_bias 1.0, but feel free to experiment.
                               
    // -- Debug settings --
    #define splitscreen 0      // Enables the before-and-after splitscreen comparison mode. Left side is before.
    #define show_sharpen 0     // Visualize the strength of the sharpen (multiplied by 4 to see it better)
    
    
       /*-----------------------------------------------------------.
      /                       Bloom settings                        /
      '-----------------------------------------------------------*/
    #define BloomThreshold 20.25
    #define BloomPower 1.446
    #define BloomWidth 0.0142
    
       /*-----------------------------------------------------------.
      /                        HDR settings                         /
      '-----------------------------------------------------------*/
    #define HDRPower 1.10  //Strangely lowering this makes the image brighter
    #define radius2 0.8   //Raising this seems to make the effect stronger and also brighter
    
    
       /*-----------------------------------------------------------.
      /                      TECHNICOLOR settings                   /
      '-----------------------------------------------------------*/
    #define TechniAmount 0.11
    #define TechniPower 2.8
    #define redNegativeAmount 0.88
    #define greenNegativeAmount 0.88
    #define blueNegativeAmount 0.88
    
    
       /*-----------------------------------------------------------.
      /                        Tonemap settings                     /
      '-----------------------------------------------------------*/
    #define Gamma 1.0
    
    #define Exposure 0.05
    
    #define Saturation 0.0
    
    #define Bleach 0.0
    
    #define Defog -0.009  //How much of the color tint to remove
    #define FogColor float3( 1.25, 1.25, 0) //what color to remove - default is blue
    
    
       /*-----------------------------------------------------------.
      /                       Vibrance settings                     /
      '-----------------------------------------------------------*/
    #define Vibrance 0.27  //Intelligently saturates (or desaturates if you use negative values) the pixels depending on their original saturation.
    
    
       /*-----------------------------------------------------------.
      /                         Sepia settings                      /
      '-----------------------------------------------------------*/
    #define ColorTone float3(1.40, 1.10, 0.90)
    #define SepiaPower 0.22
    #define GreyPower 0.11  
    
       /*-----------------------------------------------------------.
      /                       Vignette settings                     /
      '-----------------------------------------------------------*/
    #define VignetteRadius 1.05  // lower values = stronger radial effect from center
    #define VignetteAmount -1.00 // Strength of black. -2.00 = Max Black, 1.00 = Max White.
    #define VignetteSlope 8      // How far away from the center the change should start to really grow strong (odd numbers cause a larger fps drop than even numbers)
    #define VignetteCenter float2(0.500, 0.500) // Center of effect.
    
    
       /*-----------------------------------------------------------.
      /                        Dither settings                      /
      '-----------------------------------------------------------*/
    //No settings yet, beyond switching it on or off in the top section.
    
    
    /////////////////////////////////////////////////////////////////
    ///////////////////////// Work in Progress //////////////////////
    /////////////////////////////////////////////////////////////////
    
       /*-----------------------------------------------------------.
      /                      Cineon DPX settings                    /
      '-----------------------------------------------------------*/
    //I have yet to find good default settings for this .. maybe you can?
    float Red = 8.0;   //[1.0 - 15.0]
    float Green = 8.0; //[1.0 - 15.0]
    float Blue = 8.0;  //[1.0 - 15.0]
    
    float ColorGamma = 2.5f;    //[0.1 - 2.5]
    float DPXSaturation = 2.0f; //[0.0 - 8.0]
    
    float RedC = 0.4f;     //[0.6 - 0.2]
    float GreenC  = 0.36f; //[0.6 - 0.2]
    float BlueC = 0.35f;   //[0.6 - 0.2]
    
    float Blend = 0.7f; //[1.0 - 0.0] How strong the effect should be
     
    Last edited: Oct 1, 2012
  7. CeeJay.dk

    CeeJay.dk Guest

    Messages:
    691
    Likes Received:
    14
    GPU:
    Radeon 6870
    Here is version 1.2

    Version 1.2
    Fixes a rounding problem on AMD hardware with the dither shader.
    Includes usermade presets - look in the SweetFX/Presets/ folder.
    Updated and expanded documentation.
    Minor speed improvements to most of the shaders. Hopefully it adds up.
    Based on user feeedback default settings now use more conservative sharpening
    Also default settings now use enable conservative Vibramce settings
    Slightly better default Sepia settings
    Vignette now more uniformly darkens all the color channels of the screen edges
    Adds the DPX shader - settings still need a lot of work though.

    Basically it's the preview version with very few changes.
    I've taken the non-working hotkey support out - It be back .. working .. in a later version.
    I've also updated and expanded the documentation

    If there are no serious bugs (please test) I'll update the first post tomorrow

    I'm short of time to work on SweetFX this week as I'm very busy with work (I'm a software tester/IT consultant in my day job) - I'm taking a course and the hours and transport is longer , so I'm putting in a lot more hours than usual.
    Hopefully I'll get some time to wind down on the weekend and maybe get back to developing.
     
    Last edited: Oct 2, 2012
  8. PhazeDelta1

    PhazeDelta1 Guest

    Messages:
    15,608
    Likes Received:
    14
    GPU:
    EVGA 1080 FTW
    Awesome. Thanks


    Also, if anyone is using this with Guild Wars 2, please post your settings. I'm curious to see how yours looks compared to mine.
     
  9. quickshot101

    quickshot101 New Member

    Messages:
    3
    Likes Received:
    0
    GPU:
    512 ati 4850 mobile
    Awesome

    This injector is just fantastic. My new injector of choice! Everything the fxaa injector has to offer but with the better smaa, who wouldn't want this :D Thank you!
     
  10. eclap

    eclap Banned

    Messages:
    31,468
    Likes Received:
    4
    GPU:
    Palit GR 1080 2000/11000
    Like that config you posted BetA, only tweaked a couple of figures for HDR to make it suit my monitor a bit more (it was a tad too dark). Like how it desaturates the colors, I usually have my colors turned down anyway, but looks really good in combination with all the other tweaks. thanks man.
     

  11. AUTh0r1ty

    AUTh0r1ty Guest

    Messages:
    10
    Likes Received:
    0
    GPU:
    nvidia 680
    @CeeJay.dk Thanks for 1.2!

    Regarding presets. :)
    In Battlefield 3, the ideal solution would be multiple presets. A preset that works on the vanilla Maps, does not look perfect on the B2K DLC. Or a preset that looks great on a daymap, looks not nice on a nightmap.

    Ideally, you would have presets like "BF3_B2K.txt, BF3_Vanilla.txt, BF3_AK.txt".
    In the sweetfx_present.txt you then have
    #include "BF3_B2K.txt"
    #include "BF3_Vanilla.txt"
    #include "BF3_AK.txt"

    By pressing i.e. pageup/pagedown you let the injector change presets.

    Would this be possible? :)
     
  12. PandaSushi

    PandaSushi Guest

    Messages:
    39
    Likes Received:
    0
    GPU:
    GTX 780
    Great idea,it could be done with autohotkey but that would be pointless seeing punkbuster kicks for using hotkey programs.
     
  13. Prophet

    Prophet Master Guru

    Messages:
    865
    Likes Received:
    34
    GPU:
    Msi 680
    Thanks Ceejay!

    May I please request that all updates are posted on the frontpage of this thread? It just makes it so much easier for me to follow the updates without having to read all the posts.
     
  14. burebista

    burebista Ancient Guru

    Messages:
    1,740
    Likes Received:
    36
    GPU:
    MSI GTX1060GAMING X
    Man maybe I'm dumb but I've changed PrtScreen key to 80 (p key) because my game screenshot shortcut is PrtScreen and I don't want duplicate screenshots. But unfortunately when I press PrtScreen SweetFX take the screenshot too. :(
    I'm missing something?
     
  15. TFL Replica

    TFL Replica Guest

    Messages:
    387
    Likes Received:
    5
    GPU:
    RTX 3060 Ti
    Fiddled with DPX for about an hour. Could not find any settings I liked. I'm going to try combining it with a bit of negative vibrance.
     

  16. Leviathan-

    Leviathan- Master Guru

    Messages:
    458
    Likes Received:
    0
    GPU:
    EVGA 780GTX SC ACX
  17. PhazeDelta1

    PhazeDelta1 Guest

    Messages:
    15,608
    Likes Received:
    14
    GPU:
    EVGA 1080 FTW

    Something like this would be nice. But lets be real, what someone thinks looks ok, others may not. But it's still would be nice to have options to choose from.
     
  18. CeeJay.dk

    CeeJay.dk Guest

    Messages:
    691
    Likes Received:
    14
    GPU:
    Radeon 6870
    If you edited the injector.ini correctly it should look something like this :
    Code:
    [injector]
    ; See the following URL to find out what keycode a key has:
    ; http://www.cambiaresearch.com/articles/15/javascript-char-codes-key-codes
    
    ;toggle shader keycode
    key_toggle = 145 ; the SCROLL_LOCK key
    
    ;make screenshot keycode
    key_screenshot = 80 ; P
    
    ;reload shader files keycode
    key_reload = 19 ; the PAUSE key
    
    
    [smaa]
    ;smaa preset one of {SMAA_PRESET_LOW, SMAA_PRESET_MEDIUM, SMAA_PRESET_HIGH, SMAA_PRESET_ULTRA}
    ;keep it set to SMAA_PRESET_CUSTOM to allow for custom settings
    preset = SMAA_PRESET_CUSTOM
    
    [misc]
    ;set to 1 to improve steam overlay compatibility
    weird_steam_hack = 1
    the injector.ini file also needs to be placed in the same directory as the d3d9.dll and dxgi.dll files.

    If you did that then it should work - I just tried it and it works for me.
     
  19. BetA

    BetA Ancient Guru

    Messages:
    4,537
    Likes Received:
    518
    GPU:
    G1-GTX980@1400Mhz
    hmm, got a strange problem here..

    I wanted to try your blue/fog remove settings for bf3 and when i enable TONEMAP with these settings:

    the Game doesnt start..The game loads up, the Icon appears on the Taskbar and when i go near it to push it (or whait) it just dissapears and the exe is gone..As soon i disable TONEMAP again it works fine..

    sadly, theres no log file, well, it didnt log anything..

    -BetA-

    EDIT...

    tried a few more times till i got an LOG finally...
    Here it is:

    Dont know exactly whats wrong but im guessing its the values..Strangly i took your values that u posted a few sites back...
     
    Last edited: Oct 3, 2012
  20. kurtferro

    kurtferro Guest

    Messages:
    115
    Likes Received:
    1
    GPU:
    SAPPHIRE NiTRO R9 390 WB
    Code:
     /*----------------------------------------------------------------.
    /   Game: Guild Wars 2                                             '
    '   SweetFX version: 1.2                                           '
    '   Author: kurtferro                                              '
    '   Description: "soft sharper, optimized smaa and light vibrance" /
    '----------------------------------------------------------------*/ 
    
       /*----------------------------------------------------------- .
      /                      Choose effects                         /
      '-----------------------------------------------------------*/
    
    // Set to 1 for ON or 0 for OFF
    #define USE_SMAA_ANTIALIASING 1
    #define USE_LUMASHARPEN 1 //Also sharpens the antialiased edges which makes them less smooth - I'm working on fixing that.
    #define USE_BLOOM 0      // Bloom makes bright lights bleed their light into their surroundings (relatively high performance cost)
    #define USE_HDR 0         // Not actual HDR - It just tries to mimic an HDR look (relatively high performance cost)
    #define USE_TECHNICOLOR 0 // Attempts to mimic the look of an old movie using the Technicolor three-strip color process (Techicolor Process 4)
    #define USE_TONEMAP 0
    #define USE_VIBRANCE 1    //Intelligently saturates (or desaturates if you use negative values) the pixels depending on their original saturation.
    #define USE_SEPIA 0
    #define USE_VIGNETTE 0    //Darkens the edges of the image to make it more look like it was shot with a camera lens. May cause banding artifacts.
    #define USE_DITHER 0      //Applies dithering to simulate more colors than your monitor can display. This lessens banding artifacts (mostly caused by vignette)
    #define USE_DPX 0         //Unfinished - Should make the image look like it's been converted to DXP Cineon - basically it's another movie-like look similar to technicolor
                              //I think the shader itself works, but the default settings need a lot of work. Maybe you can find some good settings?
    
       /*-----------------------------------------------------------.
      /                  SMAA Anti-aliasing settings                /
      '-----------------------------------------------------------*/
    
    #define SMAA_THRESHOLD 0.08           // (0.08-0.20) Edge detection threshold
    #define SMAA_MAX_SEARCH_STEPS 20      // [0-98] Determines the radius SMAA will search for aliased edges
    #define SMAA_MAX_SEARCH_STEPS_DIAG 16  // [0-16] Determines the radius SMAA will search for diagonal aliased edges
    #define SMAA_CORNER_ROUNDING 20        // [0-100] Determines the percent of antialiasing to apply to corners.
    
    // -- Advanced SMAA settings --
    #define COLOR_EDGE_DETECTION 1        // 1 Enables color edge detection (slower but more acurate) - 0 uses luma edge detection (faster)
    #define SMAA_DIRECTX9_LINEAR_BLEND 0  // Using DX9 HARDWARE? (software version doesn't matter) if so this needs to be 1 - If not, leave it at 0.
    
    
       /*-----------------------------------------------------------.
      /                       LumaSharpen settings                  /
      '-----------------------------------------------------------*/
    // -- Sharpening --
    #define sharp_strength 0.8 // (0.2-2.0)Strength of the sharpening
    #define sharp_clamp 0.038  // [0.0-1.0]Limits maximum amount of sharpening a pixel recieves - Default is 0.035
    
    // -- Advanced sharpening settings --
    #define pattern 4          // Choose a sample pattern [ 1, 2, 3 or 4 ] - 1 = Fast, 2 = Normal, 3 = Wider, 4 = Pyramid shaped.
    #define offset_bias 1.0    // [0.0-6.0](1.0) Offset bias adjusts the radius of the sampling pattern.
                               // I designed the pattern for offset_bias 1.0, but feel free to experiment.
                               
    // -- Debug settings --
    #define splitscreen 0      // Enables the before-and-after splitscreen comparison mode. Left side is before.
    #define show_sharpen 0     // Visualize the strength of the sharpen (multiplied by 4 to see it better)
    
       /*-----------------------------------------------------------.
      /                       Vibrance settings                     /
      '-----------------------------------------------------------*/
    #define Vibrance 0.3  //Intelligently saturates (or desaturates if you use negative values) the pixels depending on their original saturation.
    
       /*-----------------------------------------------------------.
      /                       Bloom settings                        /
      '-----------------------------------------------------------*/
    #define BloomThreshold 20.25
    #define BloomPower 1.446
    #define BloomWidth 0.0142
    
       /*-----------------------------------------------------------.
      /                        HDR settings                         /
      '-----------------------------------------------------------*/
    #define HDRPower 1.20  //Strangely lowering this makes the image brighter
    #define radius2 0.85   //Raising this seems to make the effect stronger and also brighter
    
       /*-----------------------------------------------------------.
      /                      TECHNICOLOR settings                   /
      '-----------------------------------------------------------*/
    #define TechniAmount 0.11
    #define TechniPower 2.8
    #define redNegativeAmount 0.88
    #define greenNegativeAmount 0.88
    #define blueNegativeAmount 0.88
    
       /*-----------------------------------------------------------.
      /                        Tonemap settings                     /
      '-----------------------------------------------------------*/
    #define Gamma 1.0
    
    #define Exposure 0.0
    
    #define Saturation 0.0
    
    #define Bleach 0.0
    
    #define Defog 0.010  //How much of the color tint to remove
    #define FogColor float3(0.00, 0.00, 2.55) //what color to remove - default is blue
    
       /*-----------------------------------------------------------.
      /                         Sepia settings                      /
      '-----------------------------------------------------------*/
    #define ColorTone float3(1.40, 1.10, 0.90)
    #define SepiaPower 0.58
    #define GreyPower 0.11  
    
       /*-----------------------------------------------------------.
      /                       Vignette settings                     /
      '-----------------------------------------------------------*/
    #define VignetteRadius 1.00  // lower values = stronger radial effect from center
    #define VignetteAmount -1.00 // Strength of black. -2.00 = Max Black, 1.00 = Max White.
    #define VignetteSlope 8      // How far away from the center the change should start to really grow strong (odd numbers cause a larger fps drop than even numbers)
    #define VignetteCenter float2(0.500, 0.500) // Center of effect.
    
       /*-----------------------------------------------------------.
      /                        Dither settings                      /
      '-----------------------------------------------------------*/
    //No settings yet, beyond switching it on or off in the top section.
    
    //Note that checkerboard pattern used by Dither, makes an image harder to compress.
    //This can make your screenshots and videos take up more space.
    
    
    /////////////////////////////////////////////////////////////////
    ///////////////////////// Work in Progress //////////////////////
    /////////////////////////////////////////////////////////////////
    
       /*-----------------------------------------------------------.
      /                      Cineon DPX settings                    /
      '-----------------------------------------------------------*/
    //I have yet to find good default settings for this .. maybe you can?
    float Red = 8.0;   //[1.0 - 15.0]
    float Green = 8.0; //[1.0 - 15.0]
    float Blue = 8.0;  //[1.0 - 15.0]
    
    float ColorGamma = 2.5f;    //[0.1 - 2.5]
    float DPXSaturation = 2.0f; //[0.0 - 8.0]
    
    float RedC = 0.4f;     //[0.6 - 0.2]
    float GreenC  = 0.36f; //[0.6 - 0.2]
    float BlueC = 0.35f;   //[0.6 - 0.2]
    
    float Blend = 0.7f; //[1.0 - 0.0] How strong the effect should be  
    
     
    Last edited: Oct 3, 2012
Thread Status:
Not open for further replies.

Share This Page