mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-03-24 00:00:13 +00:00
Add water footstep splashes and reduce lake wave amplitude
- Play WaterFootstep splash sounds when wading in shallow water - Spawn foot splash particles at water surface on each water footstep - Reduce inland water wave amplitude from 0.18 to 0.08 for calmer lakes
This commit is contained in:
parent
93f873b521
commit
c35b40391f
4 changed files with 37 additions and 2 deletions
|
|
@ -782,7 +782,7 @@ void WaterRenderer::render(VkCommandBuffer cmd, VkDescriptorSet perFrameSet,
|
|||
uint8_t basicType = (surface.liquidType == 0) ? 0 : ((surface.liquidType - 1) % 4);
|
||||
// WMO water gets no wave displacement — prevents visible slosh at
|
||||
// geometry edges (bridges, docks) where water is far below the surface.
|
||||
float waveAmp = isWmoWater ? 0.0f : (basicType == 1 ? 0.35f : 0.18f);
|
||||
float waveAmp = isWmoWater ? 0.0f : (basicType == 1 ? 0.35f : 0.08f);
|
||||
float waveFreq = canalProfile ? 0.35f : (basicType == 1 ? 0.20f : 0.30f);
|
||||
float waveSpeed = canalProfile ? 1.00f : (basicType == 1 ? 1.20f : 1.40f);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue