Add support for importing material emissive and roughness from fbx file

#2153
This commit is contained in:
Wojtek Figat
2024-02-23 17:46:27 +01:00
parent a72d20e3ca
commit 01d123b099
7 changed files with 91 additions and 76 deletions

View File

@@ -237,9 +237,10 @@ public:
Color& operator*=(const float b)
{
R = Math::Saturate(R * b);
G = Math::Saturate(G * b);
B = Math::Saturate(B * b);
R = R * b;
G = G * b;
B = B * b;
A = A * b;
return *this;
}