Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add support to load new style glossmap (more work remains to do befor…

…e this is complete)
  • Loading branch information...
commit d6c983cac38faf563bc3b57198367f999be0f101 1 parent e959d6c
@auriamg auriamg authored
Showing with 3 additions and 1 deletion.
  1. +1 −1  src/graphics/material.cpp
  2. +2 −0  src/graphics/material.hpp
View
2  src/graphics/material.cpp
@@ -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
2  src/graphics/material.hpp
@@ -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);

0 comments on commit d6c983c

Please sign in to comment.
Something went wrong with that request. Please try again.