Fixed cloth simulation generating incorrect normals
Fixed cloth simulation generating incorrect normals. Also added option in Cloth Component to update normals of static particles (disabled by default). User will want to keep the option disabled when continuity of the normals is important, like in characters, but for environmental cloth the mesh could look better when the normals of static particles are updated too. Enable 'Update normals of static particles' option on blind slices of Nvcloth gem Fix unit tests
This commit is contained in:
@@ -96,6 +96,7 @@ namespace NvCloth
|
||||
float m_solverFrequency = 300.0f;
|
||||
uint32_t m_accelerationFilterIterations = 30;
|
||||
bool m_removeStaticTriangles = true;
|
||||
bool m_updateNormalsOfStaticParticles = false;
|
||||
|
||||
// Fabric phases parameters
|
||||
float m_horizontalStiffness = 1.0f;
|
||||
|
||||
Reference in New Issue
Block a user