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. PandaSushi

    PandaSushi Guest

    Messages:
    39
    Likes Received:
    0
    GPU:
    GTX 780
    Here are some battlefield 3 screen shots with my settings,i only play on vanilla and close quarters maps and these settings work nicely.:)

    [​IMG]

    [​IMG]
    Code:
       /*-----------------------------------------------------------.   
      /                       Description                           /
      '------------------------------------------------------------/
    
    Game: Battlefield 3
    SweetFX version: 1.2
    Author: PandaSushi
    Description: These settings add a slight yellow tint to help remove the blue tint,
                 removing blue doesn't seem to work that well with the exception of death valley.
                 i have also increased gamma to darken shadows slightly.
    
       /*-----------------------------------------------------------.
      /                      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 1
    #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.1           // (0.08-0.20) Edge detection threshold
    #define SMAA_MAX_SEARCH_STEPS 24      // [0-98] Determines the radius SMAA will search for aliased edges
    #define SMAA_MAX_SEARCH_STEPS_DIAG 12  // [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.6 // (0.2-2.0)Strength of the sharpening
    #define sharp_clamp 0.035  // [0.0-1.0]Limits maximum amount of sharpening a pixel recieves - Default is 0.035
    
    // -- 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.0042
    
       /*-----------------------------------------------------------.
      /                        HDR settings                         /
      '-----------------------------------------------------------*/
    #define HDRPower 1.70  //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 5.0
    #define redNegativeAmount 0.33
    #define greenNegativeAmount 0.33
    #define blueNegativeAmount 1.00
    
    
       /*-----------------------------------------------------------.
      /                        Tonemap settings                     /
      '-----------------------------------------------------------*/
    
    #define Gamma 1.05
    
    #define Exposure 0.00
    
    #define Saturation 0.00
    
    #define Bleach 0.0
    
    #define Defog  -0.003 // Death valley use 0.020
    #define FogColor float3( 2.55, 2.55, 0.00) // Death valley use (0.00, 0.00, 2.55)
    
       /*-----------------------------------------------------------.
      /                       Vibrance settings                     /
      '-----------------------------------------------------------*/
    #define Vibrance 0.3  //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.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                    /
      '-----------------------------------------------------------*/
    float Red = 1.0;   //[1.0 - 15.0]
    float Green = 1.0; //[1.0 - 15.0]
    float Blue = 15.0;  //[1.0 - 15.0]
    
    float ColorGamma = 2.5f;    //[0.1 - 2.5]
    float DPXSaturation = 0.0f; //[5.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] 
     
  2. KingpinZero

    KingpinZero Master Guru

    Messages:
    916
    Likes Received:
    2
    GPU:
    MSI Armor GTX1080
    Awesome, thanks alot :)
     
  3. yosef019

    yosef019 Ancient Guru

    Messages:
    2,186
    Likes Received:
    17
    GPU:
    EVGA 1080 ti
    So any one have tryed smaa in windows 8 ???
    and no word from CeeJay.dk
     
  4. plywood99

    plywood99 Guest

    works fine in Win 8 pro RTM 64bit.
     

  5. CeeJay.dk

    CeeJay.dk Guest

    Messages:
    691
    Likes Received:
    14
    GPU:
    Radeon 6870
    I already replied to you - you must have missed it.

    Basically you need to change the folder permissions to allow for write access to that folder. There are many guides and videos on how to do that - just google for them.
     
  6. smashly

    smashly Master Guru

    Messages:
    988
    Likes Received:
    0
    GPU:
    2x GTX 560ti / GTX 670
  7. BetA

    BetA Ancient Guru

    Messages:
    4,536
    Likes Received:
    512
    GPU:
    G1-GTX980@1400Mhz
    lolo... @yosef019

    Just throw that damn Win 8 out of teh Window and installk a proper win 7 = no Probs anymore.. Dont get why u use win 8 anyways..hehe, last time i was on your PC and helping u via TeamView u sayd u hate Win 8, now ur on it..U are strange mate..

    And like CeeJay.dk sayd, Google it ;)
     
  8. yosef019

    yosef019 Ancient Guru

    Messages:
    2,186
    Likes Received:
    17
    GPU:
    EVGA 1080 ti
    No sucses

    Im the admin so why i cant use it
    i disable security service not help too
    Nvidia fxaa work via inspector but no luck with injectors:bang:
     
  9. lukegoodman2001

    lukegoodman2001 Guest

    Messages:
    7
    Likes Received:
    0
    GPU:
    pny gtx570
    no aa affect smaa

    hi i have used smaainjector with many games and dont notice any aa difference i switch on and off and notice its switch but add no bonus at all. what are the best setting for max aa i hate jaggies and normally use nvinspector if i cant use sgssa i try msaa + smaa
     
  10. BetA

    BetA Ancient Guru

    Messages:
    4,536
    Likes Received:
    512
    GPU:
    G1-GTX980@1400Mhz
    you could use these settings for smaa AA..

    and depend on what game ur playing u also can add
    if u play bf3 or such dont use corner rounding..

    going any higher in AA settings dont really make a visual difference anymore..These settings u can compare to smaa ULTRA presset..

    -BetA-
     

  11. yosef019

    yosef019 Ancient Guru

    Messages:
    2,186
    Likes Received:
    17
    GPU:
    EVGA 1080 ti
    LOL guys F***ing Fraps disaple the smma injector.... now i only found it
    no ned any permisions.... you tell me
     
  12. shankly1985

    shankly1985 Guest

    Messages:
    503
    Likes Received:
    1
    GPU:
    RX VEGA 64
    Question Is it possible to improve AA in the distance? Take a look at the towers in the distance on both images they look the same AA. But up close the AA is superb really do love this injector.

    ON
    [​IMG]

    Off
    [​IMG]
     
  13. BetA

    BetA Ancient Guru

    Messages:
    4,536
    Likes Received:
    512
    GPU:
    G1-GTX980@1400Mhz
    Try raising this here: marked red..

    try 64 and 98 and see if it makes a difference..
    Would be nice if u post the screens also. :)

    BetA
     
  14. shankly1985

    shankly1985 Guest

    Messages:
    503
    Likes Received:
    1
    GPU:
    RX VEGA 64
    They was taking with 98 I forgot to mention that. it was the first thing I changed.

     
  15. CeeJay.dk

    CeeJay.dk Guest

    Messages:
    691
    Likes Received:
    14
    GPU:
    Radeon 6870
    Increasing the max search steps won't work for that.
    SMAA 1x doesn't not detect it as one line if the line is broken like that because the details got smaller than 1 pixel in size and so some of the samples does not detect that something is there which results in a broken line.

    Humus invented a nice solution to this problem that is simple, fast and effective - but it requires game support (or an injector written specifically for the game you're trying to apply it to). I can't put it in SweetFX.

    To anti-alias such thin geometry you need an AA technique that uses subpixel samples - meaning it samples the same pixel in slightly different locations and then blends the result.

    MLAA, FXAA and SMAA 1x can't do this.

    MSAA, SSAA, SGSSAA, OGSSAA , TXAA and SMAA (T2x, S2x and 4x) can.

    In some games you can combine these with injected SMAA 1x.
    In the games where you can't you could combine SMAA with downsampling.
     

  16. CeeJay.dk

    CeeJay.dk Guest

    Messages:
    691
    Likes Received:
    14
    GPU:
    Radeon 6870
    I was busy - It slipped my mind - sorry.

    I would prefer to keep the settings.txt both human readable and machine readable. So we should try for something that look like something a human would write but a program could understand.

    About
    //START_USE_SMAA_ANTIALIASING
    //END_USE_SMAA_ANTIALIASING

    I don't see why you can detect
    "// ( Enabled by setting "

    as the start and end the section where you detect the next
    "// ( Enabled by setting " or you reach the end of the file

    Or you could detect the
    Code:
       /*-----------------------------------------------------------.
      /                  SMAA Anti-aliasing settings                /
      '-----------------------------------------------------------*/
    section dividers I already use.

    I could also change their look to be easier to detect.

    Alternatively I could change the start of the settings to have the USE_XXXXX keywords point to the human readable section they toggle.

    Like so :
    Code:
       /*-----------------------------------------------------------.
      /                      Choose effects                         /
      '-----------------------------------------------------------*/
    
    // Set to 1 for ON or 0 for OFF
    #define USE_SMAA_ANTIALIASING 1 //[0 or 1] SMAA Anti-aliasing : Smoothens jagged lines.
    #define USE_LUMASHARPEN 1 //[0 or 1] LumaSharpen : Also sharpens the antialiased edges which makes them less smooth - I'm working on fixing that.
    #define USE_BLOOM 0       //[0 or 1] Bloom : makes bright lights bleed their light into their surroundings (relatively high performance cost)
    #define USE_HDR 0         //[0 or 1] HDR : Not actual HDR - It just tries to mimic an HDR look (relatively high performance cost)
    #define USE_TECHNICOLOR 0 //[0 or 1] TECHNICOLOR : Attempts to mimic the look of an old movie using the Technicolor three-strip color process (Techicolor Process 4)
    #define USE_TONEMAP 0     //[0 or 1] Tonemap :
    #define USE_VIBRANCE 1    //[0 or 1] Vibrance : Intelligently saturates (or desaturates if you use negative values) the pixels depending on their original saturation.
    #define USE_CURVES 1      //[0 or 1] Curves :
    #define USE_SEPIA 0       //[0 or 1] Sepia :
    #define USE_VIGNETTE 0    //[0 or 1] Vignette : Darkens the edges of the image to make it look more like it was shot with a camera lens. May cause banding artifacts.
    #define USE_DITHER 0      //[0 or 1] Dither : Applies dithering to simulate more colors than your monitor can display. This lessens banding artifacts (mostly caused by Vignette)
    #define USE_DPX 0         //[0 or 1] Cineon DPX : Should make the image look like it's been converted to DXP Cineon - basically it's another movie-like look similar to technicolor
    
    Notice that after [0 or 1] comes the name of the section as it is written below (only without the settings bit)
    So from [0 or 1] to the ":" is the string that identifies the section and that the name of the section should begin with.

    Actually I like this idea the best - if you don't see a problem with that , then I say we go with that.
    It should be both human readable and machine readable.

    I think the delimiters :
    "-" = Negative
    "~" = To
    "|" = Or
    "," = Delimiter for multi param settings that require more controls.

    are good, though you could also just use " to " as the to delimiter and " or " as the or delimiter.
    Possible "->" would also be a more human readable delimiter or maybe " .. " or " -- "
     
  17. jordash

    jordash Guest

    Messages:
    27
    Likes Received:
    0
    GPU:
    GTX 670
    If you get it to work let me know because I tried EVERYTHING!!!!
     
  18. alientorni

    alientorni Guest

    Messages:
    88
    Likes Received:
    0
    GPU:
    MSI 5770 (bios6770) Hawk
    bf3 crashes after a while on my pc when i'm using the injector.
     
  19. BetA

    BetA Ancient Guru

    Messages:
    4,536
    Likes Received:
    512
    GPU:
    G1-GTX980@1400Mhz

    I talked to Yosef when we where playing BF3. And he sayd he had FRPAS running..He turned it off and now it works..

    hmm, are u overclocking?
    What settings do you use?

    Do you have ingame aa and at ati panel deactivated?
     
  20. CeeJay.dk

    CeeJay.dk Guest

    Messages:
    691
    Likes Received:
    14
    GPU:
    Radeon 6870
    Do you get the same result with InjectSMAA or FxaaTool ?
    How about with ENB?
     
Thread Status:
Not open for further replies.

Share This Page