Howto:Shader programming in FlightGear: Difference between revisions

m
Line 249: Line 249:


== Vertex Attributes ==
== Vertex Attributes ==
Only available in vertex shaders.
* attribute vec4 gl_Vertex;
* attribute vec4 gl_Vertex;
* attribute vec3 gl_Normal;
* attribute vec3 gl_Normal;
2,561

edits