Howto:Shader programming in FlightGear: Difference between revisions

Jump to navigation Jump to search
m
Line 299: Line 299:


== Varyings ==
== Varyings ==
* varying vec4 gl_FrontColor // vertex
* varying vec4 gl_BackColor; // vertex
* varying vec4 gl_FrontSecColor; // vertex
* varying vec4 gl_BackSecColor; // vertex
* varying vec4 gl_Color; // fragment
* varying vec4 gl_SecondaryColor; // fragment
* varying vec4 gl_TexCoord[]; // both
* varying float gl_FogFragCoord; // both


== Functions ==
== Functions ==
2,561

edits

Navigation menu