Home Creators Posts Import Register Favorites Logout

Downloads

Content

First of all, I want to apologise about how long it all takes… It’s quite a lot bigger than any other part of this mod, and I don’t really want to cut any corners. But now all the big questions are solved, so hopefully it should be an easier from here.

Here are the few main things added lately:

• First of all, I found a very neat way for online servers to set CSP as a requirement. The idea is basically to alter track ID in server config in such a way that original launcher wouldn’t find the track and somebody without CSP wouldn’t be able to rename the track to match. For extra layer of protection, it also alters “surfaces.ini” on server side. Also, with a similar trick I added extra flags for entry list, allowing to, for example, force headlights on for certain car (or all of them).

• Refraction in rain drops seen in previous videos now works in triple screen and both VR modes as well. But also, now glass shader can use it as well.

It’s not as accurate as that raytraced refraction, but as a cheaper and easier to cofnigure alternative solution for cases like above, or for tracks, it should work pretty well.

• Soft particles (similar technique is used for rain drops) now too work with triple screen and VR, only requirement now is to keep YEBIS enabled. 

• Added new particles effect for drops of water falling from cars (in collisions or just slowly over time). 

• Windscreen raindrops have been pretty much fully reworked comparing to that video (that is what took most of the time).

I also made a new Trello board so both you and I could monitor progress and keep track of features to implement: https://trello.com/b/6rVlBH9O/ac-patch-rain.

Now, if you would have some spare time, maybe you could help me with a bit of testing? This build is not ready at all (as you can see from Trello board, some important things like WeatherFX integration or quite a few physics things are still left to do), but it has most of visual stuff. I might have gotten carried away in a few places, so I wonder how big of a performance hit it is and how much I need to cut away for it to work properly on different GPUs. You can use built-in WeatherFX debug app (the one at the bottom) to enable and adjust rain, check timings for different effects and quickly disable them to compare. So if you have any performance issues, please send me screenshot of those timings and your GPU model, that would be a great help.

I attached configs for Brands Hatch, Nordschleife and Spa, and config for GT86 (which isn’t really necessary, wipers guessing should work on most cars now, but just to be sure). If you want to test windscreen raindrops, switch PREVIEW_WINDSCREEN in rain_fx.ini to 1, although I suspect it won’t work on Windows 7 right now (will fix that). Oh, and please don’t use those track configs as an example, their format will most likely change before the release to add protection from changes.

To test rain physics, you need a car with extended physics and rain preview physics enabled. Just unpack car’s data.acd, move it aside (so AC would use data folder), open “data/car.ini”, change HEADER/VERSION to “extended-1” (or “extended-2” if original was 2) and add below: [_EXTENSION] RAIN_DEV=1

All of this to ensure people wouldn’t use possible quirks of wet physics to get an unfair advantage with competitive racing (also, yeah, whole rain thing wouldn’t work at all online, in special challenges or if it finds RSR app active). Of course, those limitations are only for development period, I just want to be extra safe for now.

Thank you for all the support and, again, very sorry for how long it all takes, I’m trying to get it finished faster now.  

Files

Comments

Alex Hyland

Damn man, of course it takes a long time. Incredible work for one guy to do, you deserve all you get from this.

rs01

Hi, as i understand you have to enable it manually in the app bar under PatchApps -> WeatherFXdebug -> Rain/Wetness/Water in percent.

Jay Enn

I can't seem to access the trello board, as it's not public. Is there a way to get an invite?

Sandro Gth

Outstanding work. Brilliant mate. I have a 1080ti an nearly no noticable impact on fps. Will check Pimax VR tomorrow.

Ilja Jusupov aka x4fab

Oh, awesome! Is that with windscreen raindrops? But I also will optimize a few things and add lower quality setting too, seems to have quite an impact on some GPUs

Sergi Canaleta

i am trying it with gt86 and nordscheleife tourist with sol enabled and doesn't work, how i can correctly setup it?

Hubert Jankowski

Work, but next one , I can't opened data.acd , when I opened looks like something artefacts and I can't changed extended on -1 etc and Dev rain added

rs01

Which car, did you copy the folder? If yes unpack data in original folder and copy to copy :)

Sandro Gth

Yes with windscreen. Any plans for spray of the cars or is there an option i didnt see?

N.seal2017

I tried it in my two pc as sigle gpu and sli titan xp x2 and 2080ti x2 all work perfect thanks

Hubert Jankowski

I have maindfaq xD i can't do this , which folder ?

rs01

No problem :) The folder where your data.acd is located

Ilja Jusupov aka x4fab

Great news! Although I’d be very upset if it would have any performance issues there 😅

Ilja Jusupov aka x4fab

Hmm, sorry about that, I’ll prepare something for it to make the whole process easier a bit later (if proper physics still wouldn’t be ready by that time)

Hubert Jankowski

Thanks a lot , because I idiot with this , I can't changed car for rain physics etc, and only kunos cars will be work physics in rain or random too ?

Sergi Canaleta

It doesn't show any rain, and the client crashes when i use another car instead of the gt86

Hakan Baykul

Hi i can't see any rain on the exterior of the car or on the track. I'm using sol 1.5.4 Rain sounds/wipers etc work fine but replays have no rain. This is with gt86 on nords with normal rain(sol) weather. Edit: and this is what i get when i click on weatherfx debug https://imgur.com/e0wVZjN

Zekkai

OOOOOOOOOOOOOOO, DAMN COOL!!!!

rs01

Did you extract the Patch version attached to this thread in your assettocorsa root folder?

Hakan Baykul

uuhhmm... yeah :D my csp correctly shows up as 1.62 preview13 :)

rs01

Ok good, it works offline i guess?

Hakan Baykul

Nope, exterior rain doesn't work... period. I only get rain sounds and raindrops on the windscreen(while in the interior view). No visible rain on the exterior, no rain drops on car etc. Online and offline.

rs01

hmm, strange.. Check rainfx.ini under /extension/config/ for following entries: [BASIC] ENABLED=1 [DEV] PREVIEW = 1 PREVIEW_WINDSCREEN = 0 And make sure there isn't such a file in Documents/assettocorsa/extension/config/

Hakan Baykul

Yes to both of those things. I completely deleted my documents extension folder to make sure i was using csp vanilla and i've also checked rain.fx but like i said in this screen, i don't even have rain debug on my weatherfx debug app https://imgur.com/FKEXlf7

rs01

Can you delete patch full via CM? And reinstall preview build?

Hakan Baykul

Oh my god i've found the reason. You simply MUST disable rsr if you want rain. Online or offline it doesn't matter. Rain simply doesn't work if you have rsr enabled. I thought ilja's warning about RSR above was regarding online play only... damn. :D

Hakan Baykul

Can you see any spray behind the car? Because i can't. The puddles and the overall wetness works and looks amazing but no spray for me. I've smoke and dust enabled in csp.

rs01

Not implemented yet.

Jay Enn

Check the trello board. There's a lot of features still being worked on and spray is one of them.

Hakan Baykul

Thanks guys. Appreciate letting me know.

Zekkai

Hey Ilja, I wonder if you could help me. WeatherFX won't show anything about rain on Debug, I disabled and changed lots of settings and stilll couldn't get it to work. I used the GT86 and Brands to make sure I was using correct configs, and not even that worked. I know this is a preview but I am dying to try it, please!

ANDRE TONIOLO

This is looking GREAT!!! Thank you so much!! I noticed that when I set lots of rain, I can see rain drops going through the dash too. But I guess this is because I incorrectly tested the AE86 instead of the GT86. In the GT86 it looks good! amazing!

Teslarossa4

If I could make one suggestion, grass should be darker and wetter. Other than that, very solid build!

Jay Enn

ParticlesFX Debug as shown in your screenshot is the wrong app to activate it. Go to Weather FX debug instead and click on "Rain Debug"

Zekkai

I know, and I already fixed it. Somehow.

Callum

It would be great to try the new bakery tool. Does the new Optix bakery work for tracks also? Another thing regarding the bakery, would it be possible to integrate it in Content Manager so you could just click a button as if you are updating the previews. Some sort of batch VAO baking for many cars at once with Content Manager would be great, similar to batch updating previews. The rain looks amazing, well done!

bruh bruh bruh b

drove nordschleife for around two hours with no crashes or lag spikes, my computer has a 3700x and a 5700xt with mostly max graphics and the k34 filter. it looks absolutely incredible, only suggestion is that the grass doesnt look particularly wet, maybe make it less bright? other than that its amazing

Michael Kitchens

I am all over this, Ilja. You are incredible. Will test today. Fantastic work. Absolutely brilliant.

Hubert Jankowski

I have drop fps from 15-25fps :/ sometime more on rtx 2070 super

Ztirom Winter

Sensational! In my opinion the droplets falling from the sky are still a little bit too long (the "white lines"), maybe half the length would look better, or increasing the translucency... Especially during night it looks like driving with a white wall in front of you: https://www.youtube.com/watch?v=_in8GGMXvps the effect is really cool, but toning it down a little bit would result in an even better immersion imho... I think in reality this effect is really subtle: https://youtu.be/up04YnXbhq4?t=1074 Other than that, I have no words for what you've already achieved! Thank you a thousand times, Ilja!

Jonas Derrien

Je ne conprend pas comment l'instal j'ai payer sa m'envoie vers un lien pour telecharge content manager full que j'ai deja

Screaming in Silence

The link for the rain equipped CSP is above, 'lights-patch-v0.1.62...

Michael Kitchens

Unfortunately, I dropped the patch. Tried out the GT86 and I get this error Error might have something to do with: AC\cameraforward.cpp (443): CameraForward::renderBlurred AC\cameraforwardyebis.cpp (1261): CameraForwardYebis::renderApplyEffect AC\cameraforwardyebis.cpp (1182): CameraForwardYebis::render AC\sim.cpp (2564): Sim::renderScene AC\game.cpp (275): Game::render AC\game.cpp (275): Game::render AC\game.cpp (275): Game::render AC\game.cpp (126): Game::onIdle AC\game.cpp (210): Game::run AC\acs.cpp (477): wWinMain f:\dd\vctools\crt\crtw32\dllstuff\crtexe.c (618): __tmainCRTStartup

Michael Kitchens

Okay, turned off Motion Blur and it fixed the problem. HOLY CRAP, ILJA, THIS IS AMAZING!

Felipe Cunha

So, my pc is not good, is a FX-6300 and a GTX 1050. The FPS have dropped from 40/50fps to less than 20 fps with the 1.62. But the quality of the rain is amazing. Hope to get a new pc soon to play with the rain.

Felipe Cunha

We will have a mode for low end pc's in the future?

Josh Kerr

Can you please put a screenshot of your Extra FX settings? Thanks

MrJr

This may have broken my AC. All I get on start of race is this: AC\game.cpp (23): Game::Game AC\acs.cpp (450): wWinMain f:\dd\vctools\crt\crtw32\dllstuff\crtexe.c (618): __tmainCRTStartup

Caribbean SIM-Racing Organisation

Still not able to get this working, can someone share their process or help me get going, please? I dropped the files into the AC root folder, replaced what they asked me to replace and in the CSP About & Updates I can see it in the option, it has been selected but is also greyed out. When I open the game, Spa with GT86 for instance, Rain sounds are there (because of SOL?) but when I got to Weather Fx Debug, there are no options to enable.

Michael Kitchens

I wouldn't drop it into the root folder...drop it into content manager and then install it using the green dropdown.

MrJr

Tried turning it off. Still crashes

Fyne.Ty

i'm loving it thanks my pictures are on point!!!

Tim Leighton

Hi Ilja, I upgraded to 1.62, installed the configs, and edited the car.ini for a couple of cars, but now the track seems to load ok, but when the car is loading I can see it says "Initializing WeatherFX: creating volume texture . . ." and it then hangs forever with the blue cursor whirling. Any ideas? Thanks

Josh Kerr

Try with gyazo and send link

Corma97

i have this error, help me pleasee! 00007FFC6BD9CF44 (DWrite): (filename not available): lj_get_camera_params_as_vec3 00007FFC6BF8CC24 (DWrite): (filename not available): FW1CreateFactory 00007FFC6BF28263 (DWrite): (filename not available): lj_set_fireworks 00007FFC6BF21E1C (DWrite): (filename not available): lj_set_fireworks 00007FFC6BF231A3 (DWrite): (filename not available): lj_set_fireworks 00007FFC6BED4837 (DWrite): (filename not available): lj_set_fireworks AC\stereocameraforward.cpp (660): StereoCameraForward::oculusRenderPass 00007FFC6BF3BA2F (DWrite): (filename not available): lj_set_fireworks 00007FFC6BED63CA (DWrite): (filename not available): lj_set_fireworks 00007FFC6BED4D12 (DWrite): (filename not available): lj_set_fireworks 00007FFC6BF3BB1E (DWrite): (filename not available): lj_set_fireworks AC\stereocameraforward.cpp (611): StereoCameraForward::render AC\sim.cpp (2564): Sim::renderScene 00007FFC6BF365AD (DWrite): (filename not available): lj_set_fireworks AC\game.cpp (275): Game::render AC\game.cpp (275): Game::render AC\game.cpp (275): Game::render

Ilja Jusupov aka x4fab

Could you please make a screenshot of timers section of WeatherFX debug app and DM it to me? That would be a massive help to see which effects need to be cut or disabled. And, of course, I’ll work on adding a more optimized mode

Ilja Jusupov aka x4fab

Thank you! Just to clarify, do you mean grass for Grass FX or original Kunos grass?

Ilja Jusupov aka x4fab

Hmm, that is pretty strange. Could you please DM me a screenshot of timing section of WeatherFX debug app?

Ilja Jusupov aka x4fab

Thank you! I shortned them and made them more transparent in the new build, could you please check if it’s better now?

Ilja Jusupov aka x4fab

Very sorry for the delay. I think it might have been because RSR live timing app was mentioned in python.ini.

Zekkai

Don't worry man, I got a way around it as I mentioned to you. Can I manually delete the mention in that said .ini?

ANDRE TONIOLO

Yup, new build works perfectly in the AE86 and few other cars I have tested so far. No more rain drops in the dash. By the way, the new build looks photo-real to me :) THANK YOU!!

Jesse Graffam

"Not available to install" from the list of versions that are online and downloadable through Content Manager. It's actually installed though, if you look to the left where it says "Currently active" "Shaders Patch version:" and the version that's installed. Cheers

Tim Leighton

OK now I can get the GT86 on track with build 15, but I can't get it to rain! Rain is selected in Sol. Thanks for any help!

Josh Kerr

No problem!! Thanks for the quick update!

Teslarossa4

I meant grass for Grass FX, but if it's possible for the original grass too, then definitely :)

Ztirom Winter

That's exactly what I was talking about, it's just perfect now! Can't thank you enough! :)

Vegeta

where i can make RSR off

Steven Bools

I still cant get the puddles to show. SSLR enabled. Motion blur disabled. RSR not even installed. The rain works, but only if I use the debug tool. If I set the rain in the race settings, it doesn't start, I have to do it manually. Any help would be greatly appreciated.

Ryan Magid

You can get the puddles to work by going into weather debug app, and clicking 'link' and increasing rain. I don't think sol makes the puddles appear yet, and my wipers will no longer auto activate in rain

雨澍 闫

Most of the time, I can't load the game properly.Only a few tracks and vehicles can work properly.