mirror of
https://github.com/overte-org/overte.git
synced 2025-04-23 06:33:35 +02:00
USing metallic and not gloss map
This commit is contained in:
parent
903824809c
commit
e103fd364e
1 changed files with 2 additions and 1 deletions
|
@ -378,7 +378,8 @@ ShapeKey ModelMeshPartPayload::getShapeKey() const {
|
|||
|
||||
bool isTranslucent = drawMaterialKey.isTransparent() || drawMaterialKey.isTransparentMap();
|
||||
bool hasTangents = drawMaterialKey.isNormalMap() && !mesh.tangents.isEmpty();
|
||||
bool hasSpecular = drawMaterialKey.isGlossMap();
|
||||
//bool hasSpecular = drawMaterialKey.isGlossMap();
|
||||
bool hasSpecular = drawMaterialKey.isMetallicMap();
|
||||
bool hasLightmap = drawMaterialKey.isLightmapMap();
|
||||
|
||||
bool isSkinned = _isSkinned;
|
||||
|
|
Loading…
Reference in a new issue