yum/demomo
A graphics engine built on wgpu.
git clone https://git.yummers.dev/yum/demomo
ff99423
master
languages
- Rust 95.2%
- TOML 2.2%
- Markdown 1.5%
- HTML 0.7%
- JSON 0.3%
files
| .zed/ | |
| demos/hello-web/ | |
| shaders/ | |
| src/ | |
| .gitignore | 76 B |
| Cargo.toml | 865 B |
| LICENSE | 1.0 KiB |
| README.md | 840 B |
| build.rs | 210 B |
demomo
demomo is my webGPU-based engine. I forked it out of vfft once I decided to start working on graphical tasks.
Demomo is not ready for general use. It currently exists solely to serve vfft. Over time I expect that it will mature enough to be of use to others. I will delete this disclaimer once I believe it has reached that point.
Conventions
Right is +x, up is +y, near is +z.
Vertex shaders must take a single struct input. Its inputs must conform to these names and types:
float3 objPos: vertex position in object space.float3 objNormal: vertex normal vector in object space.float2 uv0: 0th UV coordinate.
AI Disclosure
This source code was written by a human and checked for errors with an LLM.
License.
MIT License.