default to 1

metadata
Wenzel Jakob 2012-04-25 17:55:38 -04:00
parent 42b4274428
commit a62d395874
1 changed files with 2 additions and 2 deletions

View File

@ -107,8 +107,8 @@ public:
m_repeatV = props.getFloat("repeatV");
/* Diffuse and specular multipliers */
m_kdMultiplier = props.getFloat("kdMultiplier");
m_ksMultiplier = props.getFloat("ksMultiplier");
m_kdMultiplier = props.getFloat("kdMultiplier", 1);
m_ksMultiplier = props.getFloat("ksMultiplier", 1);
}
IrawanClothBRDF(Stream *stream, InstanceManager *manager)