Howto talk:Shader programming in FlightGear

From FlightGear wiki
Jump to navigation Jump to search

Todo

  • shader primitives/elements
  • explain shaders available in FlightGear

Topics to be covered

  • what is a vertex
  • what is a fragment
  • the OGL rendering pipeline
  • swizzling/component access
  • operators
  • ctors
  • branching (if, else, loops)
  • FlightGear effects

Practical programming tips, where errors are reported, etc.