SweetFX Shader Suite release and discussion thread #4

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

Thread Status:
Not open for further replies.
  1. CeeJay.dk

    CeeJay.dk Master Guru

    Messages:
    686
    Likes Received:
    1
    GPU:
    Radeon 6870
    That should now be unnecessary.

    I figured out the problem and fixed it in 1.5

    It required creating a new technique (that's a section of the code that tells DirectX "here is a vertex and pixel shader pair") for DX10/11

    I could not get this to work originally. I'd code a correct technique and figured it would work, but it wouldn't. I tried many variations and still it wouldn't work - it was very infuriating :bang:

    Then some weeks ago I was talking with Crosire - discussing who made the original InjectSMAA codebase? .. how much was [SomeDude]s work and how much was MrHaandis? , when it hit me that what was true for the dx9 injector was not necessary true for the dx10/11 injector.

    So I tried again and after a short while I figured out the problem.

    The DX9 injector works just fine when you name the technique whatever you like - the DX10/11 however will not run any technique that doesn't have the name of one of the SMAA techniques.

    The fix was simple .. rename the technique.

    It now has the same name as the edge detection technique in SMAA and this fools the injector to run it.
     
    Last edited: Oct 1, 2013
  2. sidspyker

    sidspyker Master Guru

    Messages:
    409
    Likes Received:
    0
    GPU:
    MSI GTX 1080 Gaming X
    So just SMAA=0?

    Lovely.
     
  3. Sajittarius

    Sajittarius Master Guru

    Messages:
    281
    Likes Received:
    0
    GPU:
    Gigabyte GTX980Ti
    Says file deleted.. also 2 questions:

    1) will this work in win8.1 (im considering downloading it)
    2) will this work in Final Fantasy 14? (main game i am playing, lol)
    3) I love you guys :)
     
  4. Wanny

    Wanny Ancient Guru

    Messages:
    7,480
    Likes Received:
    0
    GPU:
    GTX 980 Ti GAMING 6G
    It was working for me in FF14, but not any of the new effects (CA, explosion, levels). So I went back to old Boulotaur release.

    I miss the guy's work... where is he?
     

  5. 007.SirBond

    007.SirBond Master Guru

    Messages:
    295
    Likes Received:
    0
    GPU:
    NVIDIA GTX Titan 6GB
    I think he took the download down because it had a older version, 1.5.1 came out after that one, maybe he is updating his version as well.
     
  6. Sajittarius

    Sajittarius Master Guru

    Messages:
    281
    Likes Received:
    0
    GPU:
    Gigabyte GTX980Ti
    Good to know, thanks!
     
  7. 007.SirBond

    007.SirBond Master Guru

    Messages:
    295
    Likes Received:
    0
    GPU:
    NVIDIA GTX Titan 6GB
    Hmm did you fix the luma sharpen so it doesn't sharpen the aliasing edges as well?
     
  8. DarthNorther

    DarthNorther New Member

    Messages:
    2
    Likes Received:
    0
    GPU:
    gtx 550 ti
    CeeJay.dk, first of all thanks a lot for this new version, Ive been looking forward to it.

    This may be a tricky question, but does this new version have better performance than bolotaurs one?

    Im positive Bolotaurs version was faster overall than 1.4 version, I notice it cause my computer is not that great, and gpu is quite old.
     
  9. TCPIP

    TCPIP Active Member

    Messages:
    67
    Likes Received:
    0
    GPU:
    AMD Radeon R9 290
    With Levels i didn't have such a problem, unless you go insanely high with black level. Even if you say "(I) don't saturate Levels because after Levels come other color modifying effects and they might pull the details back into the 0 - 1 range between black and white so the details are visible again" it doesn't mean people won't have settings for other effects that only increase those negative or >1 values , so to saturate the result would be like fixing a flaw in the algorithm. Of course there is always a way of changing the formula itself to fix that.
     
  10. TCPIP

    TCPIP Active Member

    Messages:
    67
    Likes Received:
    0
    GPU:
    AMD Radeon R9 290
    Levels are already in the MPC-HC, it's called 16-235 -> 0-255 [SD][HD]
     

  11. r3dfield

    r3dfield Active Member

    Messages:
    57
    Likes Received:
    0
    GPU:
    GTX980 OC@1541Mhz/4001Mhz
    Is there a way to get SweetFX working with BF4 Beta?
     
  12. kurtferro

    kurtferro Member Guru

    Messages:
    112
    Likes Received:
    0
    GPU:
    SAPPHIRE NiTRO R9 390 WB
    In 1.5 i have a darken image if i disable SMAA, i don't know in 1.5.1 again.
     
  13. Zomgerd

    Zomgerd Master Guru

    Messages:
    304
    Likes Received:
    0
    GPU:
    Asus R9 280X DC2T
    Read the FAQ, some games still work in dx10/11 on win 8.1 but not all.


    He did not changed the code of the dxgi dll, he only added the new and changed effects to the the corresponding shader files and main.h file.
     
  14. PandaSushi

    PandaSushi Member

    Messages:
    39
    Likes Received:
    0
    GPU:
    GTX 780
    Radeonpro works in windows 8.1 preview with BF4.
     
  15. Martigen

    Martigen Member Guru

    Messages:
    174
    Likes Received:
    6
    GPU:
    GTX 1080Ti SLI
    Congratulations on the new release Ceejay!

    This is a function of Bolotaur's injector by moving SMAA to the end of the chain. SMAA works and looks considerably better this way too. However I don't think the sequence has changed in 1.5 as it's still using the MrHaandi injector.

    And so speaking of which Ceejay: what's the state of injectors at the moment? Is this correct:
    • Default, MrHaandi -- No 64 bit support. SMAA at start of chain.
    • Bolotaur -- 64-bit support, SMAA at end of chain.
    • Crosire -- super secret sauce no release yet? :)
    Is Bolotaur still working on his injector? It's been great for most games but there are a handful where Bolotaur won't work at all where the MrHaandi injector does, so it still needs refining.
     

  16. Psychor

    Psychor Member

    Messages:
    40
    Likes Received:
    0
    GPU:
    pc.thedigitalfoundry.com
    Glad to see you back at work on this CeeJay.dk. Keep up the excellent work! :cheers:
     
  17. CeeJay.dk

    CeeJay.dk Master Guru

    Messages:
    686
    Likes Received:
    1
    GPU:
    Radeon 6870
    Today I found out that the HiAlgo team solved the problem with Optimus and other hybrid GPU solutions, by making a wrapper for other d3d9.dlls - including the one SweetFX uses.

    And it was published in march .. why doesn't anyone tell me these things? :)

    HiAlgo Optimus fix is here

    So if you have an optimus pc or use some other form of hybrid gpu and SweetFX won't normally run on the fast GPU, then try this.

    It's only available for DX9 though.
     
  18. RavenGT

    RavenGT Member

    Messages:
    10
    Likes Received:
    0
    GPU:
    FX5600 256mb
    Are there any newbie guides on how to write a custom pixel shader? I want to learn how to draw and align simple text on the screen using just the custom.h capability. Sort of like a watermark.
     
  19. teff

    teff New Member

    Messages:
    3
    Likes Received:
    0
    GPU:
    SAPPHIRE HD 7850 OC 2GB G
    Thank you CeeJay.dk! Can't wait to try it!!
     
  20. Psychor

    Psychor Member

    Messages:
    40
    Likes Received:
    0
    GPU:
    pc.thedigitalfoundry.com
    CeeJay.dk,

    I have a few requests regarding screenshots:

    1. Option to have the game/application .EXE name and current date included in each screenshot filename (e.g., Borderlands2.exe_DX9_20130621_XXXXXX.png)
    2. Option to specify a static screenshot save location (e.g., C:\Pics\Games\)
    3. Option to save screenshots in PNG

    Keep up the great work and thank you!
     
    Last edited: Oct 4, 2013
Thread Status:
Not open for further replies.

Share This Page