<?xml version="1.0" ?>
<!DOCTYPE adsui SYSTEM "../../ui.dtd">
<adsui version="2.0">
  <PageInfo>
    <Title>
      Solid Glass
    </Title>
  </PageInfo>
  <Fields>
    <StackPanel id="asset_information" 
                label="Information" 
                orientation="Vertical" 
                expanded="false">
      <AssetName id="asset_name"
                 label="Name"/>
      <AssetDescription id="asset_description"
                        label="Description"/>
      <AssetKeywords id="asset_keywords"
                     label="Keywords"/>
      <AssetType id="asset_type"
                 label="Type"/>
      <AssetSource id="asset_source"
                   label="Source"/>
      <AssetVersion id="asset_version"
                    label="Version"/>
      <AssetTexturePaths id="asset_texture_paths"
                         label="Texture Paths"/>
    </StackPanel>

    <StackPanel id="solidglass_solidglassgroup"
                label="Solid Glass"
                orientation="Vertical"
                expanded="true">
      
      <ChooseList id="solidglass_transmittance"
                  label="Color"
                  tooltip="Selects a predefined color, or Custom.">
        <Choice id="solidglass_clear" label="Clear"/>
        <Choice id="solidglass_green" label="Green"/>
        <Choice id="solidglass_gray" label="Gray"/>
        <Choice id="solidglass_blue" label="Blue"/>
        <Choice id="solidglass_bluegreen" label="Blue Green"/>
        <Choice id="solidglass_bronze" label="Bronze"/>
        <ChoiceDetail id="solidglass_custom_color" label="Custom">
          <MappableColor id="solidglass_transmittance_custom_color"
                         tooltip="Select a color, image, or procedural texture to create the appearance of the material."
                         colorbyobject="true"
                         label="Custom Color">
            <BoolColorByObject id="solidglass_color_by_object" />
          </MappableColor>
        </ChoiceDetail>
      </ChooseList>
      
      
      <Percent id="solidglass_reflectance"
               label="Reflectance"
               min="0" max="100"
               precision="0"
               tooltip="Adjusts the amount of light that reflects off the surface of the glass rather than passing through it. Default is 15, range is 0-100."/>
      
      <FloatMenu id="solidglass_refr_ior"
                 label="Refraction"
                 max="5" min="0.01"
                 tooltip="Adjusts the amount that light bends when it passes through a surface. Default is 1.52, range 0-5."
                 >
        <FloatMenuChoice id="solidglass_refr_ior_air"
                         label="Air" value="1.0" />
        <FloatMenuChoice id="solidglass_refr_ior_water"
                         label="Water" value="1.33" />
        <FloatMenuChoice id="solidglass_refr_ior_alcohol"
                         label="Alcohol" value="1.36" />
        <FloatMenuChoice id="solidglass_refr_ior_quartz"
                         label="Quartz" value="1.46" />
        <FloatMenuChoice id="solidglass_refr_ior_glass"
                         label="Glass" value="1.52" />
        <FloatMenuChoice id="solidglass_refr_ior_diamond"
                         label="Diamond" value="2.3" />
        <FloatMenuChoice id="solidglass_refr_ior_custom"
                         label="Custom" value="0.0" />
      </FloatMenu>
      
      <Float id="solidglass_glossiness"
             label="Roughness"
             min="0.0"
             max="1.0"
             tooltip="Adjusts the roughness of the glass surface. Reduce to get smooth, shiny glass, or increase to get frosted glass. Default is 0, range is 0-1."/>
    </StackPanel>
    
    <StackPanel id="solidglass_bump_enable"
                label="Relief Pattern"
                labelid="solidglass_bump_enable_panel_label" 
                orientation="Vertical"
                checkbox="true"
                checkonvalue="solidglass_rippled">
      
      <ChooseList id="solidglass_bump_enable"
                  label="Type"
                  labelid="solidglass_bump_enable_list_label" 
                  onebased="true"
                  tooltip="Selects from rippled (rough noise), wavy (soft noise), or custom.">
        <Choice id="solidglass_rippled" label="Rippled"/>
        <Choice id="solidglass_wavy" label="Wavy"/>
        <ChoiceDetail id="solidglass_custom" label="Custom">
          <MappableFloat id="solidglass_bump_map"
                         tooltip="Selects a bitmap image for the relief pattern."
                         nosinglevalue="true"
                         bump="true"
                         label="Image"/>
        </ChoiceDetail>
      </ChooseList>
      <Float id="solidglass_bump_amount"
             label="Amount"
             min="0.0"
             max="2.0"
             tooltip="Slides from 0 to 2 to control the height of the bumps."/>
      
    </StackPanel>

    <StackPanel id="common_Tint_toggle" 
                label="Tint" 
                orientation="Vertical" 
                checkbox="true"
                expanded="false">
      <Color id="common_Tint_color"
             label="Tint Color"
	     tooltip="Selects a color to tint the appearance of the material." />
      
    </StackPanel>
    
  </Fields>
</adsui>
