Neathan / grassrenderer

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

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

License:MIT License


Languages

Language:C++ 82.0%Language:GLSL 12.0%Language:CMake 5.2%Language:C 0.8%