Resource icon

stFlow shader 1.0

Log in to download, or make sure to confirm your account via email
Installation: open 7zip file, drop stFlow\ in MODS folder, use JSGME/CM to install.
Or, open it up, drop sdk+system into your AC root (they don't overwrite any built in files)

For modders:
Additional parameters are
offsetDSpeed (x,y) -> adds this much to UV coordinates of diffuse texture every second
offsetNMSpeed (x,y) -> adds this much to UV coordinates of first normal texture every second
offsetNMdetailSpeed (x,y) -> adds this much to UV coordinates of second normal texture every second
detailNMmult (x) -> just detail multiplier, nothing special
pauseTiming (x,y) -> x = how long to pause, y = how long to not pause (so you can have a marquee that stops every so often). If you set y=-1 then it doesn't slide, only adds offset every x amount.

Suggested use: Large waves in one normal map, small ones in the other, large waves moving faster in the direction of water flow, small ones moving at a different direction and slower. Just your typical reflective fresnel (0.04 c, 4 exp, 0.8 max). Make the diffuse texture the static colour of the water and don't animate it for flat water, maybe animate it for falling water.

Since it's constant in UV, if you want something to vary in speed you can stretch out your UVs in segments.

Example video -> https://gfycat.com/SafeFrequentAlligator
Author
Stereo
File size
4.3 KB
Downloads
11,398
Views
40,985
First release
Last update
Rating
5.00 star(s) 18 ratings

More resources from Stereo

Latest updates

  1. add NMmult

    For backwards compatibility reasons, the new parameter (NMmult) has a hidden +1 to it - since...
  2. fixed error log

    no functionality changes but one of the files had the wrong name and was making errors in the log.

Latest reviews

Thanks a lot.
ok Gracias
Works well with Fujimi.
Amazing Tool. Thank you.
Thank you!
Nice
Fun!
muchas Gracias
Assume we can use this for grass as well? Make it move lightly. Was thinking about pobjects, but the grass would just fly off. lol
muchas gracias, works like a charm.
Amaznig work man!
Brilliant job , thanks mate !
Great job, thank you!
This is brilliant, thank you very much @Stereo.
At Patrikpat's 2018 F1 Suzuka update there's no conflicts with Ilja's shaders as far as I could tell and no hit on framerates.
It's just one of those tiny little details that adds a lot to immersion.
Assetto Corsa keeps going from strength to strength thanks to the ingenuity and dedication of modders. Thank you thank you thank you, one and all!
Much brilliant ! Very wow ! TY Stereo, I love all your experiments. Especially since this is something that was bugging me since early days of AC.
Great!!!
Lovely work!
This is amazing, i hope i can use it for puddles
Amazing idea.