material transparency map, paint tool improvements

This commit is contained in:
Turánszki János
2024-02-14 09:55:44 +01:00
parent a73f92be86
commit fa70f6d465
12 changed files with 121 additions and 4 deletions
+6
View File
@@ -596,6 +596,9 @@ void MaterialWindow::Create(EditorComponent* _editor)
case MaterialComponent::ANISOTROPYMAP:
textureSlotComboBox.AddItem("Anisotropy map");
break;
case MaterialComponent::TRANSPARENCYMAP:
textureSlotComboBox.AddItem("Transparency map");
break;
default:
break;
}
@@ -648,6 +651,9 @@ void MaterialWindow::Create(EditorComponent* _editor)
case MaterialComponent::ANISOTROPYMAP:
tooltiptext = "RG: The anisotropy texture. Red and green channels represent the anisotropy direction in [-1, 1] tangent, bitangent space.\nThe vector is rotated by anisotropyRotation, and multiplied by anisotropyStrength, to obtain the final anisotropy direction and strength.";
break;
case MaterialComponent::TRANSPARENCYMAP:
tooltiptext = "R: transparency.";
break;
default:
break;
}