branchRust/hackweek-rainy-dayscancel
48 Commits over 0 Days - Infinitycph!
Whoops, forgot some files
Lower the wetness level on players and viewmodel to 70%, they should look a bit less slick
Fixed snow terrain appearing shinier when rain is active
Fixed some cliff shaders not applying wetness
Increased fade time when starting the under-roof ambience sfx
Add some positional variance to rain drops
Add some noise variance to the terrain wetness
Expose advanced weather options in settings
Merge branch 'main' into hackweek-rainy-days
Merge branch 'main' into hackweek-rainy-days
Added option for rain benchmark to suppress effects in editor
Remove a weather hack forcing full rain
Set rain collision quality back to high
*Bizarrely, setting this to Low actually made performance worse for reasons I do not understand
Modify rain material slightly to be less visible in the day
Merge branch 'main' into hackweek-rainy-days
Gated all of the new rain features behind a graphics.advancedweather convar
* Good news is the convar doesn't seem to change perf at all so these changes were very performant
Merge remote-tracking branch 'origin/main' into hackweek-rainy-days
Fixed some issues with the wetness effects and glass shaders
Animated building blocks now update the rain grid when open/closed
Playing around with a new puddle feature
*Hand placed in monuments, animates in and out via alpha over time
Works nicely with the hand placed water spout fx I added earlier, so when it rains some parts of a structure can have big gushes of water and puddles can appear beneath them
Puddles don't respect the rain occlusion system so we can use them in placed that would otherwise not be wet but might make sense for a puddle
Just using some generic noise as a puddle texture, could be replaced with something a bit nicer
https://files.facepunch.com/jarryd-campi/2026/November/Unity_KZCezAcmDg.mp4
thumb_up
216
thumb_down
186
Testing out some manually placed water effects
Raindrops are now illuminated by distant light flares
* https://files.facepunch.com/jarryd-campi/2026/November/Unity_wKkR1wBhvT.mp4
Picks the 16 flares closest to the center of the screen to pass to the shader
Has some issues, there's no simple way to handle the flares being occluded by other geometry, we could maybe get away with it?
Expose wind turbulence to weather preset, raise it on heavy rain so we get more foliage movement
Some randomisation to rain speeds
Fixed small band of wetness in some base corners
Fix water drops appearing to clip through the ceiling when standing underneath them
Disable any wetness rendering in edit mode, better terrain falloff
Added a new weather preset editing window, sets weather settings instantly bypassing any easing
Merge remote-tracking branch 'origin/hackweek-rain-benchmark' into hackweek-rainy-days
Merge branch 'main' into hackweek-rainy-days
Player skin is now affected by rain, disabled drops so it's just shine
Enforced a minimum visibility for rain, it was getting lost during the day
Fixed some viewmodel rain effect issues
* https://files.facepunch.com/jarryd-campi/2026/November/Unity_1QZcAB3TL7.mp4
Added a new ambience system to play a rain on roof sfx when under cover during rain
* Currently just using the one temp sfx, but has support for per physics material sfx so we could do rain on wood/metal/etc roof
https://files.facepunch.com/jarryd-campi/2026/November/Unity_GIXWpMBA6y.mp4
Apply wetness to terrain and foliage shaders, fade out based on foliage render range (looks bad at a distance)
*Automatically inherited the rain grid functionality so terrain looks dry underneath solid objects
https://files.facepunch.com/jarryd-campi/2026/November/Unity_OITx5EusZO.mp4
Added some noise and speed variance to pfx and wall/floor effects
* https://files.facepunch.com/jarryd-campi/2026/November/Unity_PzCYQtMcz1.mp4
Lower rain drop collisions to low quality, just use the rain collision grid we made yesterday (saves CPU time)
Rain drops pick up lighting around them
* https://files.facepunch.com/jarryd-campi/2026/November/Unity_dwa0rv3Zt0.mp4
https://files.facepunch.com/jarryd-campi/2026/November/Unity_Hf2pPVSJgl.mp4
Make the rain particles themselves a bit longer and more visible
Wetness and rain drops on viewmodels, looks a bit jank
More perf work, rain calc now costs less than 0.01ms when camera is moving, free if stationary
Added a RainShadowGrid - a grid of cells around the camera that store where the rain is hitting
Create a new rain wetness feature on the standard rust shader