# Mapping of DirectX (HLSL) materials

The following sections contains examples on how to setup, export and import Simplygon materials through MEL and Python. It is recommended to read Shading network concepts before proceeding.

# Simplygon PBR (DirectX)

This script loops through all Simplygon PBR materials (HLSL connected to DirectX) and sets up shading networks accordingly. Then it sends the selected assets to Simplygon for processing. When the processing is done the LODs are returned to Maya where the script takes over and maps the LOD materials back to a HLSL shader.

    ::::