Add support to load new style glossmap (more work remains to do before this is complete)

This commit is contained in:
Marianne Gagnon 2014-06-10 18:59:36 -04:00
parent e959d6c857
commit d6c983cac3
2 changed files with 3 additions and 1 deletions

View File

@ -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 );

View File

@ -224,6 +224,8 @@ private:
/** 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);