minosoft/doc/Shader.md
2021-07-30 13:34:11 +02:00

16 lines
208 B
Markdown

# Shader
## Variable declarations/naming
All variables are prefixed with:
- Vertex: `v`
- Geometry: `g`
- Fragment: `f`
followed by `in`. So `vinPosition` is a valid name.
## Uniforms
Prefixed with `u`