Advertisement
Guest User

Untitled

a guest
Jan 2nd, 2016
524
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.73 KB | None | 0 0
  1. Midhras
  2. "BLACK WOLF"
  3. The Witcher 3: Wild Hunt - Lanczos3 dowsampled from ~11MP | ReShade Framework 18.6 /w custom palettes | ini tweaks | Zanzer's CE table | PhotoMode2inOne, AMM, ULM, UGOM, Debug Console Extensions, &c.
  4.  
  5. Nothing to see here except my messing with tonemapping, AO and curves. After playing in Fallout, trying to make AO look good with logarithmic depth detection is not fun to say the least. I don't know how Natty does it.
  6.  
  7. Natty Dread
  8. Why what do you mean? It's easy to tweak it for specific locations / shots but doing an all around config probably won't work. Having AO on top of fog is the biggest problem. No amount of low AO_LUMINANCE_UPPER will help as the fog is usually not that bright and when the night kicks in AO goes all over the place.
  9. I guess severely limiting it's range could be a solution now with that AO_FADE parameter but the cutoff is very harsh as the AO_FADE_START is broken currently.
  10.  
  11. I see you're waiting for Boris to get back to FO4 :)
  12.  
  13. Midhras
  14. I'm always caught between two approaches: tweaking for gameplay, and per-shot tweaking. And that's not easy, especially if the way the depth buffer is used differs between gameplay and freecam. But yeah, I'm brightening fog now and limiting by luminance. Tweaking for both day and night is nigh impossible. I'm still on 18.6 for The Witcher 3. Maybe I'll port over all values once AO_FADE_START and DOF are fixed in ReShade 1.1.
  15.  
  16. piltrafo
  17. i fixed the ao fade start in reshade a while ago. is a simple line of code that was probably left out. i can dig it and share it if you guys are interested. may i ask midras what is your issue with dof in reshade 1.1?
  18.  
  19. Midhras
  20. My issue was with AO in 18.6. A working ao fade would be great yeah. The problem with logdepth is that for some reason after tweaking AO to look good at native res, it doesn't when changing to 10MP or something. Although that could also be a problem with linear depth detection.
  21.  
  22. piltrafo
  23. Midhras
  24. on reshade 1.1 open the ssao.h file and search for 'float4 PS_AO_AOCombine'
  25.  
  26. then add this two lines at the end of the pass, right before 'color.xyz *= ao;'
  27.  
  28. float depth = tex2D(RFX_depthTexColor, texcoord.xy).x;
  29. ao =lerp(ao,1.0,smoothstep(AO_FADE_START, AO_FADE_END,depth));
  30.  
  31. Natty Dread
  32. piltrafo
  33. Hey man, thanks so much for this. I totally got ignored on reshade forums abut this bug.
  34.  
  35. Coincidentally, do you know of a way to successfully combine and use 2 AO methods like we were able to do in those first versions of MasterEffect?
  36.  
  37. The issue with DoF currently is that the near blur curve does nothing! Whenever you change it's value and hit save it just says "Already Compiled".
  38.  
  39. piltrafo
  40. To fix the near dof control curve you should edit the DOF.h file and find every copy of this lines:
  41. #if(DOF_AUTOFOCUS != 0)
  42. discRadius*=(centerDepth < 0.5) ? (1.0 / max(DOF_NEARBLURCURVE * 2.0, 1.0)) : 1.0;
  43. #endif
  44.  
  45. and then edit out or comment the #if and #endif so it looks like this:
  46. //#if(DOF_AUTOFOCUS != 0)
  47. discRadius*=(centerDepth < 0.5) ? (1.0 / max(DOF_NEARBLURCURVE * 2.0, 1.0)) : 1.0;
  48. //#endif
  49.  
  50. piltrafo
  51. Natty Dread I'll see if I can post all this in the reshade forums so is more clear.
  52.  
  53. piltrafo
  54. Natty Dread And which two AO are you trying to combine? You can easily enable GI with any other AO by just commenting the #if and #endif in the GI techniques section at the end of the ssao.h file.
  55.  
  56. piltrafo
  57. Midhras Midhras I'm also having a hard time handling the shader effects changes depending on the resolution. Many effects like DOF and AO and Bloom depend on radiuses. Those are probably set in pixels. When you add more pixels to the image the effect usually falls short. My images usually look better at low res because of this, but they don't have the IQ of a downsampled snapshot. My intuition tells me that there should be an automatic way to proportionaly scale those effects radiuses depending on the resolution. But I haven't put the work on it. And most probably I won't :)
  58.  
  59. Midhras
  60. Thanks for all that piltrafo. I can't wait to try and see if it all works. I hope they'll patch in your solutions to the next ReShade if it does. I'm afraid the new Bloodborne DLC and work will keep me from much in the way of experimenting for the next week, though.
  61.  
  62. piltrafo
  63. Midhras You're welcome. I may end up adding the changes into the github repository as they recomended me in the reshade forums. so you can always download last reshade version from there with all the current fixes. Have fun and keep those great shots coming.
  64.  
  65. Natty Dread
  66. piltrafo
  67. Great, thanks! I've yet to try out that DoF fix but the AO one works flawlessly.
  68.  
  69. I mostly use SSAO and HBAO, and since both have it's strengths and weaknesses I often wish I could mix them both up at the same time. This is for screenshots only mind you.
  70. Lately I've been having a blast with that new SAO using it in AC: Syndicate.
  71. Not a huge fan of SSGI but thanks for the tip, I'll try it out.
  72.  
  73. piltrafo
  74. Natty Dread My pleasure Mr Dread. :)
  75. I believe you need to create extra textures to contain various AO in order to combine them all at one point. Except for GI. that has its own pipeline. I'm not sure its worth it. Here is why.
  76. We have similar ideas. My current AO of choice is raymarchAO. I was trying to get a nice and soft wide coverage combined with narrow concentrated detail around objects. I successfully combined tree passes of it at different radius. However the results where not what I expected. It looked like a sharper shadow inside an already shadowed area. Not very natural. It draw too much attention to objects that where supposed to almost disappear and blend into darkness. I'm sure it can be improved but not sure anymore its the right path.
  77. By the way. My other favorite AO is EudaPPFx. Your DarkSouls test convinced me. so Thank you.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement