Skip to content

Lucaffo/marching-squares

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

97 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Unity Marching Square

Stars Badge Github Contributors

A marching square algorithm showcaser that uses compute shaders.

Marching Squares Algorithm

This project is realized for paper research on procedural content generation and aims to show how the marching squares algorithm works with interactive software.

Features

  • Multichunk up to 4x4.
  • Option to use a compute shader.
  • Changing the single chunk resolution (1x1 to 500x500)
  • Moving and changing the noise settings from UI and the noise offset using the keyboard.
  • Enabling/Disabling vertex interpolation.
  • Enabling/Disabling UV mapping.
  • Choose between the use of the compute shader or the CPU.
  • Multiple default noise presets
  • Grid feature to monitor visually the vertices.

Notes

(!) Grid feature it's expansive, use it with low chunk resolutions.

Commands

Use WASD and DPAD to move the noise offset.

Resources