always compute proper UV tangents if possible
parent
fa95593651
commit
03bb97fb95
|
@ -386,7 +386,6 @@ void TriMesh::configure() {
|
||||||
|
|
||||||
/* For manifold exploration: always compute UV tangents when a glossy material
|
/* For manifold exploration: always compute UV tangents when a glossy material
|
||||||
is involved. TODO: find a way to avoid this expense (compute on demand?) */
|
is involved. TODO: find a way to avoid this expense (compute on demand?) */
|
||||||
if (hasBSDF() && (m_bsdf->getType() & BSDF::EGlossy))
|
|
||||||
computeUVTangents();
|
computeUVTangents();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue