fixes to the previous commit

metadata
Wenzel Jakob 2011-06-23 05:34:16 +02:00
parent c34ad9f58a
commit 503d7ab6c7
3 changed files with 10 additions and 10 deletions

View File

@ -45,7 +45,7 @@ public:
m_componentCount = 2;
m_type = new unsigned int[m_componentCount];
m_type[0] = EDeltaReflection | EFrontSide;
m_type[0] = EDeltaReflection | EFrontSide | EBackSide;
m_type[1] = EDeltaTransmission | EFrontSide | EBackSide;
m_combinedType = m_type[0] | m_type[1];
m_usesRayDifferentials = false;
@ -60,7 +60,7 @@ public:
m_componentCount = 2;
m_type = new unsigned int[m_componentCount];
m_type[0] = EDeltaReflection | EFrontSide;
m_type[0] = EDeltaReflection | EFrontSide | EBackSide;
m_type[1] = EDeltaTransmission | EFrontSide | EBackSide;
m_combinedType = m_type[0] | m_type[1];
m_usesRayDifferentials = false;

View File

@ -46,8 +46,8 @@ public:
m_componentCount = 2;
m_type = new unsigned int[m_componentCount];
m_type[0] = EDeltaReflection | EFrontSide;
m_type[1] = EDeltaTransmission | EFrontSide;
m_type[0] = EDiffuseReflection | EFrontSide;
m_type[1] = EGlossyReflection | EFrontSide;
m_combinedType = m_type[0] | m_type[1];
m_usesRayDifferentials = false;
}
@ -64,8 +64,8 @@ public:
m_componentCount = 2;
m_type = new unsigned int[m_componentCount];
m_type[0] = EDeltaReflection | EFrontSide;
m_type[1] = EDeltaTransmission | EFrontSide;
m_type[0] = EDiffuseReflection | EFrontSide;
m_type[1] = EGlossyReflection | EFrontSide;
m_combinedType = m_type[0] | m_type[1];
m_usesRayDifferentials =
m_diffuseReflectance->usesRayDifferentials() ||

View File

@ -40,8 +40,8 @@ public:
m_componentCount = 2;
m_type = new unsigned int[m_componentCount];
m_type[0] = EDeltaReflection | EFrontSide | EBackSide;
m_type[1] = EDeltaTransmission | EFrontSide | EBackSide;
m_type[0] = EGlossyReflection | EFrontSide | EBackSide;
m_type[1] = EGlossyTransmission | EFrontSide | EBackSide;
m_combinedType = m_type[0] | m_type[1];
m_usesRayDifferentials = false;
}
@ -56,8 +56,8 @@ public:
m_componentCount = 2;
m_type = new unsigned int[m_componentCount];
m_type[0] = EDeltaReflection | EFrontSide | EBackSide;
m_type[1] = EDeltaTransmission | EFrontSide | EBackSide;
m_type[0] = EGlossyReflection | EFrontSide | EBackSide;
m_type[1] = EGlossyTransmission | EFrontSide | EBackSide;
m_combinedType = m_type[0] | m_type[1];
m_usesRayDifferentials = false;
}