57 #include "EnvMapNode.hh" 71 const std::string& _name ,
73 GLint _texture_filter)
74 :
TextureNode(_parent, _name,_texture_repeat,_texture_filter)
100 if (_state.compatibilityProfile())
117 if(_state.compatibilityProfile())
void leavePick(GLState &_state, PickTarget _target, const DrawModes::DrawMode &_drawMode) override
Do nothing in picking.
static void enable(GLenum _cap, bool _warnRemoved=true)
replaces glEnable, but supports locking
void leave(GLState &_state, const DrawModes::DrawMode &_drawmode) override
restores original texture (or no-texture)
DrawMode SOLID_ENV_MAPPED
draw environment mapped
Namespace providing different geometric functions concerning angles.
void enter(GLState &_state, const DrawModes::DrawMode &_drawmode) override
set texture
PickTarget
What target to use for picking.
EnvMapNode(BaseNode *_parent=0, const std::string &_name="<EnvMapNode>", bool _texture_repeat=true, GLint _texture_filter=GL_LINEAR)
Default constructor. Applies all properties.
static void disable(GLenum _cap, bool _warnRemoved=true)
replaces glDisable, but supports locking
void leave(GLState &_state, const DrawModes::DrawMode &_drawmode) override
Unbind Texture.
DrawModes::DrawMode availableDrawModes() const override
add env mapping
static void setTexGenMode(GLenum _coord, GLenum _name, GLint _param)
replaces glVertexPointer, supports locking
void enter(GLState &_state, const DrawModes::DrawMode &_drawmode) override
set default texture and states for the nodes children
void enterPick(GLState &_state, PickTarget _target, const DrawModes::DrawMode &_drawMode) override
Do nothing in picking.