always compute proper UV tangents if possible

metadata
Wenzel Jakob 2014-06-04 16:56:09 +02:00
parent fa95593651
commit 03bb97fb95
1 changed files with 1 additions and 2 deletions

View File

@ -386,8 +386,7 @@ void TriMesh::configure() {
/* For manifold exploration: always compute UV tangents when a glossy material
is involved. TODO: find a way to avoid this expense (compute on demand?) */
if (hasBSDF() && (m_bsdf->getType() & BSDF::EGlossy))
computeUVTangents();
computeUVTangents();
}
void TriMesh::prepareSamplingTable() {