<export_preset title="Redshift" description="Redshift rsMaterial export. Opacity map is packed into the alpha channel of the Color output map.">

  <output name="{name}_Color" format="png" bits="8">
    <channel type="rgb" src_map="color" default="0.5,0.5,0.5"/>
    <channel type="a" src_map="opacity" default="1"/>
  </output>
    
  <output name="{name}_Metalness" format="png" bits="8">
    <channel type="1" src_map="metallic" default="0"/>
  </output>

  <output name="{name}_Roughness" format="png" bits="8">
    <channel type="1" src_map="roughness" default="0.5"/>
  </output>

  <output name="{name}_DisplaceHeightField" format="png" bits="16">
    <channel type="1" src_map="displacement" default="0.5"/>
  </output>

  <output name="{name}_Normal" format="png" bits="16">
    <channel type="rgb" src_map="normal" op="normal_gl" default="0.5,0.5,1"/>
  </output>

  <output name="{name}_AO" format="png" bits="8">
    <channel type="1" src_map="ao" default="1"/>
  </output>

  <!--output name="{name}_EmissionColor" format="png" bits="8">
    <channel type="1" default="0"/>
  </output-->

</export_preset>