Skip to content

Latest commit

 

History

History
15 lines (9 loc) · 208 Bytes

Shader.md

File metadata and controls

15 lines (9 loc) · 208 Bytes

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