Sailing Demo
UnityC#ProcGenShader Graph
View on Github
For my gameplay programming coursework I was tasked with making a game demo focusing on a few core gameplay mechanics and systems. I chose to make a ship sailing demo with procedurally generated desert islands, realistic ship physics and a Gerstner wave vertex shader.
  • Procedurally generated islands using Perlin noise and a circular falloff gradient
  • Gerster wave displacement written in HLSL
  • Ship physics model where bouyoancy, viscous water resistance and pressure drag forces are calculated for each of the hull mesh's triangles that are under the water line
  • Lower and turn the sails to change the movement speed, turn the rudder to apply a torque force and aim and fire cannons!