Tiny Farm

Cultivate a procedurally generated landscape into the serene farm of your dreams!

Tools Platforms Inputs

Context

Developed as a personal project to experiment with terrain generation techniques and a variety of shaders.

Highlights

  • Implemented culling and batching techniques to support large farms with many objects
  • Developed procedural generation system to shape and decorate terrain
  • Designed shaders to render terrain biomes and weather effects

Dynamic Environment

  • Procedurally generated terrain creates gentle hills, valleys, and lakes with a variety of biomes
  • Audio system highlights effects in the player's view, making the world feel alive but not overcrowded
  • Variable soundscapes, lighting, wind, and rain based on weather

Object Culling

  • Objects grouped into sectors that are disabled once they leave the camera's view
    • Improved framerate by ~25%
  • Batched crop updates distributed between frames, improving performance for large farms

Crop Growth System

  • Crop state machine drives sizes, colors, and duration of crop growth
  • Configured on scriptable objects for efficient iteration
  • Rain affects crop appearance and growth

Gallery