Home Creators Posts Import Register Favorites Logout

Content

There is still some work to be done here, but it seems that proof-of-concept works! 

The way this effect is working, it uses texture for keeping water so actual final windscreen render pass can be done effectively. However, my initial attempt to store and move rain drops within that texture failed, couldn’t get them to make them stable and not fade out or stretch and cover everything. So here I use particles moving within UV space of that water texture. And the fact that it uses UV space means all windows have to be arranged on a single texture. The way they made in AC, their UV often overlaps, so that’s not good. However, thanks to UVAtlas by Microsoft (https://github.com/microsoft/UVAtlas), now CSP can generate that alternative UV mapping during loading, where all windows are arranged on a same texture. It doesn’t work with all cars, but so far it seems to only have an issue with cars like Alfa Romeo 33 Stradale or other similar cars with windows in their windows.

Here is how generated UV mapping looks like:

Files

Assetto Corsa - Rain on windscreen (WIP)

Still needs some work, but as a proof-of-concept, whole idea seems to work. One issue though is that some rare cars might need some UV adjustments. Also, it crashed at the end, but that’s unrelated to these raindrops, bug with another part of upcoming Rain FX. In case you have some extra money and would want to support the development: https://www.patreon.com/x4fab

Comments

Cold.701

rain is not working for me i need help

GhostMig

Sick bro ! Great job man !

Zekkai

i cant wait for a preview with rain, aghh MAN!

Josh Kerr

Hmmm...btw...raindrops works too on external rear-view mirror, i guess

Mario Moretti

Genius at work, please do no disturb....

Zekkai

Hello hello Ilja!!! Is it true that you will deliver some good news for tomorrow or after??!!

Ilja Jusupov aka x4fab

I’m not sure, tbh… It seems to work here (for a crappy preview build with nothing but visual effects), but you know how it is, I worry if it would break for others 😅

Zekkai

As long as the preview fixes extended physics and adds a bit of visual things, I bet everyone will be happy as hell.

Zekkai

thanks for your amazing work!!!!

karoui 99

bonjour il faut paye ce mod ?

Mashiro Kagura

thx for the awesome rain effect, btw some mod cars are missing effects/have rain on windscreen but wipers not working, is there any hint i could change it pls?

Aaron

I subscribed, how do I get rain version?

Quinto Gala

How.do I cancel membership