Add code-level support for new clamping flag
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8992 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
@@ -53,9 +53,13 @@ Material::Material(const XMLNode *node, int index)
|
||||
init(index);
|
||||
|
||||
bool b = false;
|
||||
node->get("clampU", &b); if (b) m_clamp_tex |= UCLAMP;
|
||||
|
||||
node->get("clampu", &b); if (b) m_clamp_tex |= UCLAMP; // blender 2.4 style
|
||||
node->get("clampU", &b); if (b) m_clamp_tex |= UCLAMP; // blender 2.5 style
|
||||
b = false;
|
||||
node->get("clampV", &b); if (b) m_clamp_tex |= VCLAMP;
|
||||
node->get("clampv", &b); if (b) m_clamp_tex |= VCLAMP; // blender 2.4 style
|
||||
node->get("clampV", &b); if (b) m_clamp_tex |= VCLAMP; // blender 2.5 style
|
||||
|
||||
node->get("transparency", &m_alpha_testing );
|
||||
node->get("lightmap", &m_lightmap );
|
||||
std::string s;
|
||||
|
||||
Reference in New Issue
Block a user