A simple 3D game engine written from scratch in Hare

ee7a0ac add contributing section

~vladh pushed to ~vladh/hare-hazel git

2 months ago

1cf209c move shaders into files

~vladh pushed to ~vladh/hare-hazel git

1 year, 5 months ago


This is a very simple 3D game engine written from scratch in Hare. It's loosely based on the peony game engine, but implements a much more minimalistic render pipeline.

Here's a picture of a scene from the full C++ engine. After I've done some more work on hare-hazel I'll add a screenshot that's more representative.

peony screenshot

For more details on 3D graphics in Hare, check out hare-3d-graphics.


  • Make sure to clone with submodules (git clone --recurse-submodules git@git.sr.ht:~vladh/hare-hazel)
  • Install libsdl2
  • Run make run to run the demo


Please note that make run will delete some cache directories in ~/.cache/hare/ due to bug 569.


Send patches to ~vladh/general@lists.sr.ht using subject prefix [PATCH hare-hazel]. For example:

git config sendemail.to '~vladh/general@lists.sr.ht'
git config format.subjectPrefix 'PATCH hare-hazel'
git send-email HEAD^

For more information, see git-send-email.io.