Skip to content

CIS-566-Fall-2022/lab05-erosion

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 

Repository files navigation

lab05-Erosion

Let's practice working with cellular operations.

1. Code-In-The-Blanks

Imagine a terrain height field, where white is the highest height and black is the lowest height. We'll stick to 2d for ease of visualization. We can generate an interesting organic-looking height field like this with noise:

Screenshot 2022-10-18 214809

Not bad, but not good either. We can make it look MORE like terrain by mimicking the effects of erosion. If you imagine material sliding down steep slopes to re-distribute some of the height, it might look more like this:

Screenshot 2022-10-18 214636

Fork this base code and replicate (to the best of your ability) this erosion effect. More detailed instructions inside!

2. Beautiful colors

Add some coloring to give the terrain some personality.

3. Extra Credit

Too easy? Copy pasta some ray marching code in so we can see your terrain erosion work in 3D!

Submission

  • Create a pull request to this repository
  • In the README, include the names of both your team members
  • In the README, create a link to your shader toy solutions
  • Make sure your shadertoy is set to UNLISTED or PUBLIC (so we can see them!)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published