Howto talk:Shader programming in FlightGear: Difference between revisions

From FlightGear wiki
Jump to navigation Jump to search
 
Line 12: Line 12:
* branching (if, else, loops)
* branching (if, else, loops)
* FlightGear effects
* FlightGear effects
Practical programming tips, where errors are reported, etc.

Latest revision as of 02:12, 19 March 2017

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.