/grassrenderer

A simple grass renderer utilizing compute shaders and vertex manipulation to efficently render grass.

Primary LanguageC++MIT LicenseMIT

grassrenderer

Now works on Linux!

A simple grass renderer utilizing compute shaders and vertex manipulation to efficently render grass.

splash

Getting started

The project uses submodules so to clone properly clone the repository please use --recurse-submodules.

git clone --recurse-submodules git@github.com:Neathan/grassrenderer.git
git clone --recurse-submodules https://github.com/Neathan/grassrenderer.git

To build the project use cmake to generate build files appropriate for your system. Example:

mkdir build
cd build
cmake ..

Requirements

The code is tested on Windows and Linux using the MSVC/gcc compiler and OpenGL 4.6. The code is written with C++17 in mind but is likely not required.

For linux the GLSL compiler it not included (glslc, ~600 MB file). Instead the executable is assumed to already be installed or placed in the bin directory.