mirror of
https://gitlab.bixilon.de/bixilon/minosoft.git
synced 2025-09-08 06:50:22 -04:00
16 lines
208 B
Markdown
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`
|