cyj407 / Snow-Simulation

Simulate snowing and snow accumulation in Unity.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Snow Simulation

Environment

  • Unity 2018.1

Introduction

  • Simulate the snowing based on four forces, gravity, buoyant, lift and drag. The detail is in Modeling Falling and Accumulating Snow. Due to the subtle influence on the snow movement, we ignore the force of buoyant.
  • Simulate the snow accumulation based on shader.

Run

  • Clone this project
git clone https://github.com/cyj407/Snow-Simulation.git
  • Open in Unity
    • Run the SnowScene scene to see the result of considering the force of gravity and drag. You could drag the slider to change the wind velocity.
    • Run the pureFormula scene to see the result of considering the force of gravity, drag and lift.

Reference

About

Simulate snowing and snow accumulation in Unity.


Languages

Language:C# 100.0%