Fix importing emissive, roughness, metalness and wireframe properties of materials with Assimp
#3418
This commit is contained in:
@@ -327,14 +327,23 @@ struct FLAXENGINE_API MaterialSlotEntry
|
||||
{
|
||||
float Value = 0.5f;
|
||||
int32 TextureIndex = -1;
|
||||
uint8 Channel = 0;
|
||||
} Roughness;
|
||||
|
||||
struct
|
||||
{
|
||||
float Value = 0.0f;
|
||||
int32 TextureIndex = -1;
|
||||
uint8 Channel = 0;
|
||||
} Metalness;
|
||||
|
||||
struct
|
||||
{
|
||||
int32 TextureIndex = -1;
|
||||
} Normals;
|
||||
|
||||
bool TwoSided = false;
|
||||
bool Wireframe = false;
|
||||
|
||||
bool UsesProperties() const;
|
||||
static float ShininessToRoughness(float shininess);
|
||||
|
||||
Reference in New Issue
Block a user