Skip to content

Latest commit

 

History

History
35 lines (22 loc) · 1.36 KB

README.md

File metadata and controls

35 lines (22 loc) · 1.36 KB

Elara GFX

A GPU programming library for Project Elara, focused on functionality and speed.

Note: Elara GFX is developed concurrently with NanoGL. Unlike its sister library, Elara GFX does not aim to be lightweight or zero-dependency, and will not be backwards-compatible until the release of 1.0.

Shoutouts: See Acknowledgements

Demos

These demos use a variety of fragment shaders from Shadertoy as well as custom-created shaders, and all use only the library's functionality. Note that by default the library renders to .ppm images, these can be converted to PNGs with ImageMagick.

Black hole Glowing circle Gradient Grid Orbits UI rendering

Install

Make sure to clone the repository and grab submodules:

git clone --recursive https://github.com/elaraproject/elara-gfx.git

On macOS and Windows (untested), Elara GFX should compile without any need to download additional libraries. On many Linux distributions, this is also the case, but if Elara GFX does not compile out of the box, follow these instructions.

Debian-based Linux

sudo apt install xorg-dev mesa-utils libglu1-mesa-dev freeglut3-dev mesa-common-dev