You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
Fixing MaterialX crash caused by a wrong override of the material functions in the project settings that ends up trying loading one of the material function outside the Game Thread. The idea behind this rework, is to have a better control of the Material Function paths, instead of using directly the different paths, using the types given by the different enums that were originally defined in the MaterialX pipeline is less error-prone. - Moving InterchangeMaterialXDefinitions.h intoits own module/ - Moving the different Shader/BSDF enums from MaterialX Pipeline to InterchangeMaterialXDefinitions.h - Refactoring the MaterialXManager matching material functions path data structure, using either a path (used by MF that are not overridable) or the enums types of the Shaders/BSDF - Fixing MaterialXPipeline taking the wrong material function based on Substrate boolean - Changing the different Shader surface to use the enum values instead of the material function path. - Fixing OpenPBR normal textures to be created in tangent space (avoiding the prompt message in the editor by atuo-detecting normal maps) #rb JeanLuc.Corenthin #jira UE-197530 [CL 31384855 by danny kabrane in ue5-main branch]