Description

After what feels like an eternity I found a Can of Bugs be Gone to pour on the code, enjoy a new less glitchy v0.1.3! Adds Screen Space Reflections (SSR) to glossy surfaces (mostly visible during the rain). Comes with a completely rewritten "optional" water shader (many might argue it's highly addictive and using it even once might make it mandatory). Inspired by ReShade SSR but didn't like having to turn it on and off for the rain, then it got out of hand as usual.

Preview
Glossy Surfaces and Water SSR v0.1.3
Post comment Comments  (0 - 50 of 154)
[𝚛𝚞𝚋𝚢]
[𝚛𝚞𝚋𝚢] - - 606 comments

*noice*

Reply Good karma Bad karma+1 vote
viking896
viking896 - - 202 comments

(buried)

i have tested it, but its already included in the enhanced shader mod;) you have to add real reflections from the environment ( all objects)... than its awesome;)

Reply Good karma Bad karma-6 votes
mbehm Author
mbehm - - 35 comments

Have you and does it or are you just talking out of your ***? Last I checked it doesn't have SSR (at least the one released on moddb). Therefore I conclude that you're just talking out of your ***.

PS. The screenshots are with Enhanced Shaders without SSR and with SSR ;).

Reply Good karma+10 votes
Guest
Guest - - 690,370 comments

Sorry for anxiety on can explain how to install it

Reply Good karma Bad karma+1 vote
LifeDecoded1997
LifeDecoded1997 - - 148 comments

Sorry for anxiety on can explain how to install it

Reply Good karma Bad karma+1 vote
JUSYruby
JUSYruby - - 22 comments

Sorry for anxiety on can explain how to install it

Reply Good karma Bad karma0 votes
mbehm Author
mbehm - - 35 comments

And to be slightly less assholish with the answer, you're probably confusing the Enhanced Shaders specular light reflections with what this mod does which can look similar in some cases however they're far from the same thing.

Reply Good karma+7 votes
viking896
viking896 - - 202 comments

be cool that was no attack on you i mean it only to support you ;()

Reply Good karma Bad karma+5 votes
mbehm Author
mbehm - - 35 comments

By talking BS about Enhanced Shaders already having SSR, yeah no I fail to see how that's support so you can keep it to yourself TYVM.

Reply Good karma+6 votes
RamseySparrow
RamseySparrow - - 833 comments

Woah, such toxicity, calm down there captain! Viking clearly meant no harm, perhaps he'd just confused something, it happens. Don't act like a child.

Reply Good karma Bad karma+10 votes
mbehm Author
mbehm - - 35 comments

Sure mom

Reply Good karma+4 votes
CapnCorndog
CapnCorndog - - 16 comments

You're a ****

Reply Good karma Bad karma+4 votes
Corsair_
Corsair_ - - 9 comments

I was waiting for this very much!! Awesome!

Reply Good karma Bad karma+2 votes
maxi666
maxi666 - - 135 comments

(buried)

Открою вам страшную тайну-не все играют на R3, уточнять не учили?

Reply Good karma Bad karma-12 votes
mbehm Author
mbehm - - 35 comments

Let me tell you a secret, not everyone speaks russian? And I'd have assumed it to be pretty self explanatory that if you want modern graphics then play with modern hardware etc but guess I'll need to clarify this yes.

Reply Good karma+18 votes
Guest
Guest - - 690,370 comments

Никого не ебет, что ты играешь на тостере

Reply Good karma Bad karma+7 votes
raulriera420
raulriera420 - - 9 comments

да, я на R4 играю например

Reply Good karma Bad karma+3 votes
Wang_Laoshi
Wang_Laoshi - - 328 comments

Gonna try this out. It's really good to have a patch for Beef's NVGs AND Enhanced Shaders!

Reply Good karma Bad karma+1 vote
☣GenezisO☢
☣GenezisO☢ - - 2,268 comments

What are the correct values for specular and gloss factor?

Reply Good karma Bad karma+1 vote
mbehm Author
mbehm - - 35 comments

Shouldn't really depend on them at least based on my testing, eg. the defaults should work fine as well as the values suggested by Aggressor ReShade.

Reply Good karma+1 vote
gregdaweson7
gregdaweson7 - - 4 comments

Hello, just got this installed along with beefs shader based NVGs and enhanced shaders but I am not seeing much of a difference when this mod is active and when it isn't and I was wondering if it could be due to a mistake on my end.

Is this the correct load order for having beef and enhanced shaders installed with this?

Enhanced shaders color grading
Beefs shader based NVGs
Patch for beefs NVGs
Glossy surfaces SSR
Glossy surfaces SSR patch

If this LO is correct, would the problem be the fact that I am spawning in the rain to see the effects, would that be why SSR doesn't kick in?

Reply Good karma Bad karma+3 votes
mbehm Author
mbehm - - 35 comments

Yes that should be correct assuming the SSR Patch is the ES PBR & BSB NVGs one and changing the weather from the debug menu should affect straight away. One thing that comes to mind is that the effect is barely noticeable unless it's dark since the environment lighting is usually much stronger than the reflection, that's on the list of thing to try to tweak.

Please check with w_storm1 and if you still don't notice any changes let me know and I'll try to sort it out.

Reply Good karma+3 votes
reter
reter - - 615 comments

ok, i tried to figure out, works if the SSAO is set on HIGH, this means that if you're using HBAO-HDAO and SSAO on low-medium the SSR won't work at all

I wanted to use HBAO without setting SSAO on high because it's pretty gpu intensive compared, if you can manage to do a fix would be great!

Reply Good karma Bad karma+5 votes
mbehm Author
mbehm - - 35 comments

Thank you for the information, I'll see what I can do about it.

Reply Good karma+2 votes
gregdaweson7
gregdaweson7 - - 4 comments

Sorry about the delay in reply, I turned on darker nights and tried what Reter did and it worked like a charm.

So far things are looking amazing and it's well worth the frames going from medium to high.

Anyway, thank you for the assistance and I will definitely be watching this to see how things develop.

Reply Good karma Bad karma+2 votes
reter
reter - - 615 comments

AWESOME!

Reply Good karma Bad karma+1 vote
SeriousToni
SeriousToni - - 626 comments

Hello I just downloaded and installed the mod since the screenshot looks great. However I don't see any difference ingame. I checked in debug mode against a bright light and wet asphalt in Rostok at 3:45 with weather stormy_1.
With and without the mod activated I only see some minor small white dots on the asphalt (I guess they're from the anomaly standard wet surface shader).

SSAO is set on high in the game visual options.
I am using Reshade. Could that conflict with your mod probably which results in no difference? Can I check somehow in debug mode / console if your mod is working currently?

Thanks for any help!

Reply Good karma Bad karma+1 vote
mbehm Author
mbehm - - 35 comments

ReShade shouldn't directly interfere with the effect, I haven't tested others but works at least with Aggressor. I'd assume you have checked that nothing overwrites the mod? If so pretty much the only thing that comes to mind is some weird combination of graphics settings that again makes it disappear (have had to fix few of those already).

Sorry that I can't help more, if you manage to figure out what the issue is I'll try to fix it for the next version.

Reply Good karma+1 vote
mbehm Author
mbehm - - 35 comments

Please check the updated version and if it still doesn't seem to work then uncomment the following lines, set weather to storm1 and send me a screenshot.
// #define SSR_DEBUG_NO_REFLECTION float3(0, 0, 1)
// #define SSR_DEBUG_NO_HIT float3(1, 0, 0)
// #define SSR_DEBUG_HIT ray.dir

Reply Good karma+2 votes
SeriousToni
SeriousToni - - 626 comments

Nothing overwrites the mod. I'm using a mod manager to make sure.
Thank you for your answer and the update. I will check this evening and reply here again.

Reply Good karma Bad karma+1 vote
SeriousToni
SeriousToni - - 626 comments

Seems to work now, however it is only be seen on very dark surfaces and with rain I believe. I don't know. I guess I'll wait a little longer for the Addon to develop. Good luck I will check here every now and then for progress. Looks promising

Reply Good karma Bad karma+1 vote
LVutner
LVutner - - 766 comments

Impressive how did you implemented SSR without engine edits. Great job!

Reply Good karma Bad karma+2 votes
mbehm Author
mbehm - - 35 comments

Applied Magic ;). The engine uses a deferred shading pipeline which basically does the final image lighting and coloring as a post process step, allowing me to relatively easily do screen space effects with more information than is available during normal post processing (eg. how glossy the surface is).

Hmm just noticed your name so I'd assume you know the above already xD.

Reply Good karma+2 votes
Guest
Guest - - 690,370 comments

Love the addon, but certain weapons became too shiny for me, on clear daytime it looked strange. (was using svt40)

Reply Good karma Bad karma+2 votes
mbehm Author
mbehm - - 35 comments

Thank you for the information, I'll see if I can tweak the values to avoid this.

Reply Good karma+1 vote
mbehm Author
mbehm - - 35 comments

The updated version still has reflections on some weapons but with the fixed lighting calculation they hopefully shouldn't be an issue. If they still bother you, you can get rid of them by uncommenting the SSR_MIN_DEPTH line in ssr_settings.h, thou that will also disable the effect on any other surface too close to the camera.

Reply Good karma+1 vote
xaer3d
xaer3d - - 121 comments

THANK YOU! this version is much faster!
translate.google.com

Reply Good karma Bad karma+2 votes
reter
reter - - 615 comments

in my playthrough i noticed a lot of ssr on the right side of my weapon on the ground, i tried to uncomment in the ssr_settings.h but didn't worked

here's the issue:
I.imgur.com
I.imgur.com

as you can see, on the right side of the weapon there's a lot of gloss/reflection on the grass/ground

Reply Good karma Bad karma+1 vote
SeriousToni
SeriousToni - - 626 comments

You mean.. on the left side of the weapon..? Right?

Reply Good karma Bad karma+1 vote
reter
reter - - 615 comments

nope, on the right side of the weapon you can see tons of reflection on the ground (the second image is more noticeable), it's caused by the headlight that somehow think that the ground is near the weapon (i think) so creates a lot of reflection even on the grass

it's still tolerable anyway

Reply Good karma Bad karma+1 vote
SeriousToni
SeriousToni - - 626 comments

Oh okay, I see! Thanks for clarification, yes you're right!

Reply Good karma Bad karma+1 vote
mbehm Author
mbehm - - 35 comments

Thank you for the report, I'll see what I can do about it.

Reply Good karma+2 votes
IgorDolvich
IgorDolvich - - 62 comments

I'm getting this error after doing the "Clear Shader Cache" in the launch menu.

combine_1.ps(7,10): error X1507: failed to open source file: 'ssr.h'

I'm using Enhanced Shaders PBR along with your mod/patch.

Edit: My bad lol, accidentally installed just the patch and not both files. It's good now.

Reply Good karma Bad karma+2 votes
GaRRuSS
GaRRuSS - - 59 comments

Is there any possibility to add SSR on the water surfaces?
I've seen some screenshots with SSR enabled on water but couldn't find any mod/guide to add this effect.
Great mod btw!

Reply Good karma Bad karma+2 votes
mbehm Author
mbehm - - 35 comments

Yes currently the water surfaces for some reason don't have gloss on them and thus don't trigger the reflections, it's on the list of things to try adding.

Reply Good karma+2 votes
GaRRuSS
GaRRuSS - - 59 comments

Thanks for the water SSR update, It looks great!

Reply Good karma Bad karma+1 vote
StronGV
StronGV - - 589 comments

Will it work with dx11?

Reply Good karma Bad karma+1 vote
mbehm Author
mbehm - - 35 comments

I guess you didn't read the description? Yes, it probably won't work without DX11 (DX10 maybe, haven't tested and even then probably not too performantly).

Reply Good karma+1 vote
caesar_salad
caesar_salad - - 43 comments

good job

Reply Good karma Bad karma+3 votes
viking896
viking896 - - 202 comments

it works man thx. Sorry about that earlier maybe i havn´t understand. Is there reflections like in demosfen planned for the future? That would be great!!!

Reply Good karma Bad karma+3 votes
mbehm Author
mbehm - - 35 comments

Apology accepted. As for the demosfen reflections, I haven't played it so based on the images and the description if you mean the "puddles after rain" then yes and no.

I do have plans to try make the water appear to form puddles on flat horizontal surfaces and crevices _during the rain_ but I have doubts on how feasible it'll be without engine modifications.

If I get that working then I might also be able to make the reflections stick around after the rain with some shader_param scripting.

If it requires engine modifications then that's a rabbit hole I don't want to climb down at least just yet.

Reply Good karma+2 votes
Post a comment

Your comment will be anonymous unless you join the community. Or sign in with your social account: