Changes

Jump to: navigation, search

Howto:Shader programming in FlightGear

394 bytes added, 11:01, 27 March 2010
m
Uniforms
== Uniforms ==
(TODO)* uniform mat4 gl_ModelViewMatrix;* uniform mat4 gl_ProjectionMatrix;* uniform mat4 gl_ModelViewProjectionMatrix;* uniform mat3 gl_NormalMatrix;* uniform mat4 gl_TextureMatrix[n];  struct gl_MaterialParameters { vec4 emission; vec4 ambient; vec4 diffuse; vec4 specular; float shininess; }; * uniform gl_MaterialParameters gl_FrontMaterial;* uniform gl_MaterialParameters gl_BackMaterial;
== Varyings ==
2,561
edits

Navigation menu