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. CeeJay.dk

    CeeJay.dk Master Guru

    Messages:
    689
    Likes Received:
    8
    GPU:
    Radeon 6870
    A quick update.

    I'm still sick but between coughing up my lungs and enjoying my headaches, I've figured out a workaround for the weird black lines in Bioshock 2 / Sleeping Dogs when both LumaSharpen and HDR is enabled.

    You can edit the main.h file to change the order the effects are applied.
    If HDR is applied before LumaSharpen instead of after then this bug does not show up.

    So open up main.h and find the
    Code:
       /*-----------------------------------------------------------.   
      /                        Effect passes                        /
      '-----------------------------------------------------------*/
    section.

    Then put Lumasharpen under HDR

    Code:
    	// HDR
        #if (USE_HDR == 1)
    		FinalColor = HDRPass (FinalColor,tex);
    	#endif
    
    	// LumaSharpen (has to be the first pass because it samples multiple texels)
        #if (USE_LUMASHARPEN == 1)
    		FinalColor = LumaSharpenPass(FinalColor,tex);
    	#endif
    That should do the trick.

    You do not need to change the order of the #include lines earlier in the file. They just specify loading order and that has no absolutely effect on the order the effects are applied in.
     
  2. Maken

    Maken Master Guru

    Messages:
    287
    Likes Received:
    18
    GPU:
    Gigabyte 980Ti 6GB
    Thank you Wanny, i say the same for your Sleeping Dogs screenshots.. i will buy it later to give it a try :). You guys lucky that can do and experiment with extra settings because your hardware, mine is limited =/ but still i do all i can.

    Keep working guys, i really enjoy to see your lastest updates / screenies / works any day, its great inspiration.
     
  3. Wanny

    Wanny Ancient Guru

    Messages:
    7,480
    Likes Received:
    1
    GPU:
    GTX 980 Ti GAMING 6G
    I really don't know what you are talking about but i did it anyway. Haha. Where/when did these lines appear?
     
  4. Terrasque

    Terrasque Member

    Messages:
    36
    Likes Received:
    0
    GPU:
    amd / something / somethi
    Nice to know you're still alive, CeeJay :) May good medicine come your way and banish the demons :D

    Also, for the settings people here, there was a small thing I was wondering about.. No one seem to use sfx.thelazy.net - any specific reason why? Something that should be changed or added? Kinda suck spending time making it, and then no one use it :(
     
    Last edited: Nov 24, 2012

  5. Wanny

    Wanny Ancient Guru

    Messages:
    7,480
    Likes Received:
    1
    GPU:
    GTX 980 Ti GAMING 6G
    ^ I hate giving my email to a random site these days... who's running it?

    I just tried Fastone's lanczos and it comes out a bit sharper than IrFanView. Thanks!

    [​IMG]

    My bad guys I think I fell in love with the engine. :D
     
    Last edited: Nov 24, 2012
  6. kaicooper

    kaicooper Master Guru

    Messages:
    519
    Likes Received:
    41
    GPU:
    GTX 780 SC ACX
    its ok but u should make it sharper..cus u didnt even touch the sharp stuff

    ============

    guys anyone of u have any .ini for any game
    just upload it here http://sfx.thelazy.net/games/
     
  7. Terrasque

    Terrasque Member

    Messages:
    36
    Likes Received:
    0
    GPU:
    amd / something / somethi
    Moi :D

    I could add an OpenID based login too, if that would help. I could also add anonymous contribution, but my experience is that it would be full of porn and real estate ads within minutes. Besides, with users content is tied to an account, and I can easily add editing for the uploader, and if needed nuke all from a user with one click.

    Now, email registration will not STOP spam in all cases, but it will slow it down considerably (and since the registration page is a bit non standard, most automated bots won't pick it up properly). There are also bots just roaming around trying to find forms to fill in with spam (just ask anyone running an open "Contact Us" form - they'll probably have some choice words about it), so the only real alternatives are funky tricks (like css hiding an input field and see if it's filled in - bots are getting better there) and *cough* captchas - which bots are starting to get better at than humans anyway.

    Yep, it royally SUCKS, but the alternatives are at least as sucky :(

    Edit: And when you deal with accounts and passwords, having email for resetting passwords are golden. Seriously :D
     
  8. xvt

    xvt Member

    Messages:
    43
    Likes Received:
    0
    GPU:
    MSI GTX 1070 Z
    I did sign up but stupid hotmail seems to have blocked the confirmation email so I can't activate my acc. It's not even showing as spam.

    I'm not a big fan of sharpening, much less in a game where you have detailed high tech characters against a detailed high tech backdrop, it just hurts my eyes.
    You're more than welcome to modify the preset to your liking tho.
     
    Last edited: Nov 24, 2012
  9. Terrasque

    Terrasque Member

    Messages:
    36
    Likes Received:
    0
    GPU:
    amd / something / somethi
    Hmm... Wonder if anyone else have had problems with registration emails.. Were 2 gmail and one hotmail based account that was not activated.. BTW, enabled yours, xvt.

    Will see if I get the time to add OpenID support over the weekend. It will still ask for an email address, but won't verify it. You can fake it, but if you do that, and lose your OpenID id later on, that account is most likely gone. Plus, if I do get as far as adding optional email notification if anyone comments on a preset / game / screenshot you uploaded, then that obviously won't work :p

    On a tangent: Google does a really good job regarding OpenID, it even gives a seperate id string for each website (I guess hash of orig string + domain name) so even if I have two sites, both openid enabled, and you have an account at each, using same google account to log in on both .. I have no way of telling from the OpenID string. Also, Google support 2 factor auth, so the google account itself can be configured to be pretty secure. On a tangent to the tangent: Google's authenticator app is using open standards, and 3rd party systems (like SSH) can use it :D

    (Yeah, I admit it, I'm a security (and web .. and linux) geek :nerd: )
     
  10. Maken

    Maken Master Guru

    Messages:
    287
    Likes Received:
    18
    GPU:
    Gigabyte 980Ti 6GB
    COD Modern Warfare 2

    Call of Duty Modern Warfare 2

    [​IMG]

    [​IMG]
    [​IMG]
    [​IMG]
    [​IMG]
    [​IMG]
    [​IMG]
    [​IMG]
     
    Last edited: Nov 24, 2012

  11. xvt

    xvt Member

    Messages:
    43
    Likes Received:
    0
    GPU:
    MSI GTX 1070 Z
    Much appreciated sir, will make sure to add my presets soon.
     
  12. Mikedogg

    Mikedogg Banned

    Messages:
    2,844
    Likes Received:
    0
    GPU:
    Radeon HD 4650M 1GB
    Oh stop being so paranoid, Wanny, Gawd! :paranoid:

    It's just a hosting site - nothing more and it cuts down on page clutter. :)
     
  13. kaicooper

    kaicooper Master Guru

    Messages:
    519
    Likes Received:
    41
    GPU:
    GTX 780 SC ACX
    im with u bro..
     
  14. kaicooper

    kaicooper Master Guru

    Messages:
    519
    Likes Received:
    41
    GPU:
    GTX 780 SC ACX
    guys i just have a small Quistion and nots about Sweefx and im sorry

    just wonder what should i choose here in Nvidia Driver
    in Multi-Disply/Mixed GPU-accelration?

    single or multi?

    cus i have only one LCD 40 inch screen
    and 1 GPU

    should i choose single?
     
  15. Wanny

    Wanny Ancient Guru

    Messages:
    7,480
    Likes Received:
    1
    GPU:
    GTX 980 Ti GAMING 6G
    Something can be done with GTA4 but... a bit useless with Icenhancer out there.

    [​IMG]

    [​IMG]
     

  16. BitterSound

    BitterSound New Member

    Messages:
    2
    Likes Received:
    0
    GPU:
    EVGA GTX 570
    Hi everyone i'm having a extrange fps problem with sweetfx in borderlands 2

    I was checking today my fps with fraps and during the main menu with sweetfx my fps barely go up from 35 during gameplay is almost the same and in some areas is super low like in oasis where the robot censor is, if i disable sweetfx during the main menu my fps go from 55-60 and during gameplay no problem at all i knew i was going to loose a few fps but nothing like 20-30 fps.

    I'm using in the config file smaa, lumasharpen, bloom, hrd and s-curves if i leave only the sharpent on the fps go down, is i disable the sharpen and enable the rest the same

    the configs i'm using is the next one, Also i dont have this problem with dishonored, borderlands 1 and torchlight 2

    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         1 //[0 or 1] Bloom : Makes bright lights bleed their light into their surroundings (relatively high performance cost)
    #define USE_HDR           1 //[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_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.
    #define USE_LIFTGAMMAGAIN 0 //[0 or 1] Lift Gamma Gain : Adjust brightness and color of shadows, midtones and highlights (avoids clipping)
    #define USE_TONEMAP       0 //[0 or 1] Tonemap : Adjust gamma, exposure, saturation, bleach and defog. (may cause clipping)
    #define USE_VIBRANCE      0 //[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 : Contrast adjustments using S-curves.
    #define USE_SEPIA         0 //[0 or 1] Sepia : Sepia tones the image.
    #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_SPLITSCREEN   0 //[0 or 1] Splitscreen : Enables the before-and-after splitscreen comparison mode.
    
    
       /*-----------------------------------------------------------.
      /                  SMAA Anti-aliasing settings                /
      '-----------------------------------------------------------*/
    
    #define SMAA_THRESHOLD 0.08           // (0.08-0.20) Edge detection threshold
    #define SMAA_MAX_SEARCH_STEPS 40      // [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 40        // [0-100] Determines the percent of antialiasing to apply to corners.
    
    // -- Advanced SMAA settings --
    #define COLOR_EDGE_DETECTION 1        // [0 or 1] 1 Enables color edge detection (slower but slightly more acurate) - 0 uses luma edge detection (faster)
    #define SMAA_DIRECTX9_LINEAR_BLEND 0  // [0 or 1] 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 1.8   // [0.10 to 3.00] Strength of the sharpening
    #define sharp_clamp    0.035  // [0.000 to 1.000] Limits maximum amount of sharpening a pixel recieves - Default is 0.035
    
    // -- Advanced sharpening settings --
    #define pattern 2        // [1|2|3|4] Choose a sample pattern. 1 = Fast, 2 = Normal, 3 = Wider, 4 = Pyramid shaped.
    #define offset_bias 1.0  // [0.0 to 6.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 sharpening settings --
    #define show_sharpen 0   // [0 or 1] Visualize the strength of the sharpen (multiplied by 4 to see it better)
    
    
       /*-----------------------------------------------------------.
      /                       Bloom settings                        /
      '-----------------------------------------------------------*/
    #define BloomThreshold 20.25
    #define BloomPower 1.0
    #define BloomWidth 0.0120
    
    
       /*-----------------------------------------------------------.
      /                        HDR settings                         /
      '-----------------------------------------------------------*/
    #define HDRPower 1.32  //[0.0 to 8.0] Strangely lowering this makes the image brighter
    #define radius2  0.80  //[0.0 to 8.0] Raising this seems to make the effect stronger and also brighter
    
    
       /*-----------------------------------------------------------.
      /                      TECHNICOLOR settings                   /
      '-----------------------------------------------------------*/
    #define TechniAmount 0.11        //[0.0 to 1.0]
    #define TechniPower  2.8         //[0.0 to 8.0]
    #define redNegativeAmount   0.88 //[0.0 to 1.0]
    #define greenNegativeAmount 0.88 //[0.0 to 1.0]
    #define blueNegativeAmount  0.88 //[0.0 to 1.0]
    
    
       /*-----------------------------------------------------------.
      /                      Cineon DPX settings                    /
      '-----------------------------------------------------------*/
    #define Red   8.0  //[1.0 to 15.0]
    #define Green 8.0  //[1.0 to 15.0]
    #define Blue  8.0  //[1.0 to 15.0]
    
    #define ColorGamma    2.5  //[0.1 to 2.5] Adjusts the colorfulness of the effect in a manner similar to Vibrance. 1.0 is neutral.
    #define DPXSaturation 3.0  //[0.0 to 8.0] Adjust saturation of the effect. 1.0 is neutral.
    
    #define RedC   0.36  //[0.6 to 0.2]
    #define GreenC 0.36  //[0.6 to 0.2]
    #define BlueC  0.34  //[0.6 to 0.2]
    
    #define Blend 0.2    //[0.0 to 0.1] How strong the effect should be.
    
    
       /*-----------------------------------------------------------.
      /                      Lift Gamma Gain settings               /
      '-----------------------------------------------------------*/
    #define RGB_Lift  float3(0.940, 0.880, 0.920)  //[0.000 to 2.000] Adjust shadows for Red, Green and Blue
    #define RGB_Gamma float3(0.920, 0.890, 0.880)  //[0.000 to 2.000] Adjust midtones for Red, Green and Blue
    #define RGB_Gain  float3(1.110, 1.080, 1.000)  //[0.000 to 2.000] Adjust highlights for Red, Green and Blue
    
    
       /*-----------------------------------------------------------.
      /                        Tonemap settings                     /
      '-----------------------------------------------------------*/
    #define Gamma 1.02        //[0.00 to 2.00] Adjust midtones
    
    #define Exposure 0.00    //[-1.00 to 1.00] Adjust exposure
    
    #define Saturation 0.00  //[-1.00 to 1.00] Adjust saturation
    
    #define Bleach 0.00      //[0.00 to 1.00] Brightens the shadows and fades the colors
    
    #define Defog 0.000  //[0.00 to 1.00] How much of the color tint to remove
    #define FogColor float3(0.00, 0.00, 2.55) //[0.00 to 1.00, 0.00 to 1.00, 0.00 to 1.00] What color to remove - default is blue
    
    
       /*-----------------------------------------------------------.
      /                       Vibrance settings                     /
      '-----------------------------------------------------------*/
    #define Vibrance -0.05 //[-1.0 to 1.0] Intelligently saturates (or desaturates if you use negative values) the pixels depending on their original saturation.
    
    
       /*-----------------------------------------------------------.
      /                        Curves settings                      /
      '-----------------------------------------------------------*/
    #define Curves_contrast 0.3  //[-1.0 to 1.0] The amount of contrast you want
    
    // -- Advanced curve settings --
    #define Curves_formula 7      //[1|2|3|4|5|6|7] The constrast s-curve you want to use. 
    
    
       /*-----------------------------------------------------------.
      /                         Sepia settings                      /
      '-----------------------------------------------------------*/
    #define ColorTone float3(1.40, 1.10, 0.90) //[0.00 to 1.00, 0.00 to 1.00, 0.00 to 1.00] What color to tint the image
    #define GreyPower  0.11                    //[0.0 to 1.0] How much desaturate the image before tinting it
    #define SepiaPower 0.58                    //[0.0 to 1.0] How much to tint the image
    
    
    
       /*-----------------------------------------------------------.
      /                       Vignette settings                     /
      '-----------------------------------------------------------*/
    #define VignetteRadius 1.00   //[-1.00 to 3.00] lower values = stronger radial effect from center
    #define VignetteAmount -1.00  //[-2.00 to 1.00] Strength of black. -2.00 = Max Black, 1.00 = Max White.
    #define VignetteSlope 8       //[1 to 16] 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)  //[0.00 to 1.00] Center of effect.
    
    
       /*-----------------------------------------------------------.
      /                        Dither settings                      /
      '-----------------------------------------------------------*/
    //No settings yet, beyond switching it on or off in the top section.
    
    //Note that the checkerboard pattern used by Dither, makes an image harder to compress.
    //This can make your screenshots and video recordings take up more space.
    
    
       /*-----------------------------------------------------------.
      /                     Splitscreen settings                    /
      '-----------------------------------------------------------*/
    #define splitscreen_mode 3  //[1|2|3|4|5]  1 = Vertical 50/50 split, 2 = Vertical 25/50/25 split, 3 = Vertical 50/50 angled split, 4 = Horizontal 50/50 split, 5 = Horizontal 25/50/25 split
     
    Last edited: Nov 24, 2012
  17. Alex.Outer

    Alex.Outer Active Member

    Messages:
    93
    Likes Received:
    0
    GPU:
    AMD 7970
    Trying to make a new preset with less sharpening and vibrance and also add some HDR:

    [​IMG]
    [​IMG]
    [​IMG]
     
  18. ninjafada

    ninjafada Master Guru

    Messages:
    308
    Likes Received:
    0
    GPU:
    pny 670
    kaicooper for codbop2 you should try http://sfx.thelazy.net/games/preset/7/
    and
    ----------------------------

    Alex.Outer the only problem i see is areas with fog have too much white
    perhaps try to reduce it with LIFTGAMMAGAIN

    -----------------------------

    Bittersound try #define sharp_strength 1.3
    my setting is here http://sfx.thelazy.net/games/preset/12/
     
    Last edited: Nov 24, 2012
  19. Gembel

    Gembel Master Guru

    Messages:
    780
    Likes Received:
    0
    GPU:
    Asus GTX660 DirectCU 2
    Get well soon CeeJay.dk :)
    God bless..
     
  20. private_joker

    private_joker Member

    Messages:
    48
    Likes Received:
    0
    GPU:
    dunno
    CeeJay.dk how about FilmGrain effect, is it postprocess, right?
    P.S. Thank you for great work.
     
Thread Status:
Not open for further replies.

Share This Page