# Mapping of DirectX (HLSL) materials

The following sections contain examples on how to map DirectX materials to Simplygon materials. 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.