yum/demomo

A graphics engine built on wgpu.

git clone https://git.yummers.dev/yum/demomo

yumAdd Camerad4eeffd

master
840 B31 linesraw

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.

1# demomo
2
3demomo is my webGPU-based engine. I forked it out of
4[vfft](https://git.yummers.dev/yum/vfft) once I decided to start working on
5graphical tasks.
6
7**Demomo is not ready for general use. It currently exists solely to serve
8[vfft](https://git.yummers.dev/yum/vfft).** Over time I expect that it will
9mature enough to be of use to others. I will delete this disclaimer once I
10believe it has reached that point.
11
12## Conventions
13
14Right is +x, up is +y, near is +z.
15
16Vertex shaders must take a single struct input. Its inputs must conform to
17these names and types:
18
19* `float3 objPos`: vertex position in object space.
20* `float3 objNormal`: vertex normal vector in object space.
21* `float2 uv0`: 0th UV coordinate.
22
23## AI Disclosure
24
25This source code was written by a human and checked for errors with an
26LLM.
27
28## License.
29
30MIT License.
31