36 lines
909 B
Markdown
36 lines
909 B
Markdown
# GPU Renderer
|
|
|
|
A (very) WIP GPU-accelerated renderer using Vulkan, capable of
|
|
animating rigged (GLB) models and drawing shadows.
|
|
|
|

|
|
|
|
I mostly made this to learn about GPU-accelerated 3D rendering, so
|
|
it's not the most tidy, and probably not particular reliable or
|
|
performant.
|
|
|
|
## Building and Running
|
|
|
|
The only runtime dependencies are Vulkan and GLFW. For building,
|
|
you'll need the development headers for those, along with CMake, a
|
|
GLSL compiler and a C23 toolchain.
|
|
|
|
Given those are available, the project can be build with:
|
|
|
|
```
|
|
cmake -B build
|
|
cmake --build build
|
|
```
|
|
|
|
This should produce a demo binary `build/demo`, which can be ran
|
|
passing a GLB model as the first argument:
|
|
|
|
```
|
|
build/model CesiumMan.glb
|
|
```
|
|
|
|
## License and Copyright
|
|
|
|
Copyright © Camden Dixie O'Brien, available under the Komorebi 2.0.0
|
|
license. See [LICENSE.md](./LICENSE.md) for details.
|