fixes to the previous commit
parent
c34ad9f58a
commit
503d7ab6c7
|
@ -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;
|
||||
|
|
|
@ -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() ||
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue