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

208 B

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