Material Libraries
When a model is loaded it comes with its own materials, otherwise a default material is assigned to it. NAU allows the replacement, either total or partial, of the original materials by a new material or selected components.
Materials, and its components are defined in a separate file, called the material library. Material libraries are included in the project in the assets section with the tag materialLibs. Material libraries allow the reuse of common elements across projects, hence being in a separate file.
Material libraries allow the definition of new materials and the following components:
- render targets
- shaders
- textures
- rendering state
- buffers