2 uniform GLUPStateBlock {
4 bool vertex_colors_enabled;
9 bool draw_mesh_enabled;
13 bool lighting_enabled;
14 bool vertex_normals_enabled;
15 bool normal_mapping_enabled;
17 vec3 light_half_vector;
20 bool texturing_enabled;
21 bool indirect_texturing_enabled;
32 bool clipping_enabled;
35 vec4 world_clip_plane;
38 bool alpha_discard_enabled;
39 float alpha_threshold;
41 bool primitive_filtering_enabled;
43 mat4 modelviewprojection_matrix;
44 mat4 modelview_matrix;
45 mat4 projection_matrix;
48 mat4 inverse_modelviewprojection_matrix;
49 mat4 inverse_modelview_matrix;
50 mat4 inverse_projection_matrix;
58 uniform sampler2D texture1Dsampler;
59 uniform sampler2D texture2Dsampler;
60 uniform sampler3D texture3Dsampler;
62 #define GLUP_PRIMITIVE_FILTER
63 uniform usamplerBuffer texturePrimitiveFiltersampler;
Matrix< 4, Numeric::float64 > mat4
Represents a 4x4 matrix.
vecng< 3, Numeric::float64 > vec3
Represents points and vectors in 3d.
vecng< 4, Numeric::float64 > vec4
Represents points and vectors in 4d.
Matrix< 3, Numeric::float64 > mat3
Represents a 3x3 matrix.