Modify a 3D model for rendering by shaders. More...
#include "base/module.hh"#include "base/stack.hh"#include "gfx/module.hh"#include "gfx/osg.hh"#include "shader/module.hh"#include "shader/conf.hh"#include "shader/shader_model.hh"#include "shader/shader_funcs.hh"#include "shader/shader_name.hh"Classes | |
| class | shader::ShaderVisitor |
| ShaderVisitor (private implementation of ShaderModel). More... | |
Namespaces | |
| namespace | shader |
shader module. | |
Defines | |
| #define | SHADER_SHADER_MODEL_CC 1 |
Modify a 3D model for rendering by shaders.
ShaderModel::ModifyModelForShaders() is the interface. ShaderVisitor is the private implementation.
Optimization faux-pas: This visitor traversal does seem to set uniforms redundantly, but the CULL/DRAW TRAVERSAL will follow a different path than this one.
GLSL does not have bitwise operators (so individual uniform bools).
| #define SHADER_SHADER_MODEL_CC 1 |
Palomino Flight Simulator documents generated by doxygen 1.7.1 on Tue May 15 2012 22:40:10