always compute proper UV tangents if possible
parent
fa95593651
commit
03bb97fb95
|
@ -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() {
|
||||
|
|
Loading…
Reference in New Issue