Skip to content

Commit

Permalink
v-0.9.5 parse vertex shader enhance; push / pop added to applyShader …
Browse files Browse the repository at this point in the history
…(typo fixed in readme)
  • Loading branch information
nakednous committed Apr 15, 2024
1 parent bbae1a5 commit 0cd2693
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ The `readShader` and `makeShader` functions take a fragment shader —specified

**Vertex shader generation observations**

- The `matrices` parameter uses the following mask bit fields `Tree.vMatrix`, `Tree.pMatrix`, `Tree.mvMatrix`, `Tree.pmvMatrix`, and `Tree.NONE` which is the default, to determine how vertices are projected onto NDC, according to the following rules:
- The `matrices` parameter uses the following mask bit fields `Tree.vMatrix`, `Tree.pMatrix`, `Tree.mvMatrix`, `Tree.pmvMatrix`, `Tree.mMatrix` and `Tree.NONE` which is the default, to determine how vertices are projected onto NDC, according to the following rules:
| Mask bit fields | `gl_Position` |
|----------------------------------------------------|--------------------------------------------------------------|
| `Tree.NONE` | `aPosition` |
Expand Down

0 comments on commit 0cd2693

Please sign in to comment.