Skip to content

Commit

Permalink
Add support to load new style glossmap (more work remains to do befor…
Browse files Browse the repository at this point in the history
…e this is complete)
  • Loading branch information
auriamg committed Jun 10, 2014
1 parent e959d6c commit d6c983c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/graphics/material.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ Material::Material(const XMLNode *node, int index, bool deprecated)
node->get("fog", &m_fog );

node->get("mask", &m_mask );

node->get("gloss-map", &m_gloss_map );
node->get("water-splash", &m_water_splash );
node->get("jump", &m_is_jump_texture );
node->get("has-gravity", &m_has_gravity );
Expand Down
2 changes: 2 additions & 0 deletions src/graphics/material.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,8 @@ class Material : public NoCopy
/** If m_splatting is true, indicates the fourth splatting texture */
std::string m_splatting_texture_4;

std::string m_gloss_map;

bool m_deprecated;

void init (unsigned int index);
Expand Down

0 comments on commit d6c983c

Please sign in to comment.