mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-03-22 23:30:14 +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
|
|
@ -24,6 +24,7 @@ public:
|
|||
void update(const Camera& camera, const CameraController& cc,
|
||||
const WaterRenderer& water, float deltaTime);
|
||||
void render(VkCommandBuffer cmd, VkDescriptorSet perFrameSet);
|
||||
void spawnFootSplash(const glm::vec3& footPos, float waterH);
|
||||
|
||||
private:
|
||||
struct Particle {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue