pass_template: 
    samplerstates:
        samLinear:
            filter: MIN_MAG_MIP_LINEAR
            addressU: CLAMP
            addressV: CLAMP
    type: match-color-input
    constant-buffers: 
        globalParams: {screenSize: SCREEN_SIZE, elapsedTime: ELAPSED_TIME, captureState: CAPTURE_STATE}
        controlBuf: {g_sldExposure: exposureSlider, g_sldHighlightsIntensity : highlightsSlider, g_sldShadowsIntensity : shadowsSlider} 

typical_slider:
      type: float
      minimum-value: -1.0
      maximum-value: 1.0
      default-value: 0.0
      ui-sticky-region: 0.01
      ui-value-unit: "%"
      ui-value-min: -100
      ui-value-max: 100
      ui-value-step: 5

user-constants:
    - name: exposureSlider 
      ui-label: "Exposure"
      ui-label-localized:
          ru-RU:  "Экспозиция"
          fr-FR:  "Exposition"
          it-IT:  "Esposizione"
          de-DE:  "Belichtung"
          es-ES:  "Exposición"
          es-MX:  "Exposición"
          zh-CHS: "曝光"
          zh-CHT: "曝光"
          ja-JP:  "露出"
          cs-CZ:  "Expozice"
          da-DK:  "Eksponering"
          el-GR:  "Έκθεση"
          en-UK:  "Exposure"
          fi-FI:  "Valotus"
          hu: "Expozíció"
          ko-KR:  "노출"
          nl-NL:  "Belichtingstijd"
          nb-NO:  "Eksponering"
          pl: "Ekspozycja"
          pt-PT:  "Exposição"
          pt-BR:  "Exposição"
          sl-SI:  "Osvetlitev"
          sk-SK:  "Expozícia"
          sv-SE:  "Exponering"
          th-TH:  "การเปิดรับแสง"
          tr-TR:  "Pozlama"        
      default-value: 0.0
      ui-sticky-value: 0.0
      import: [typical_slider]
    - name: highlightsSlider 
      ui-label: "Highlights"
      ui-label-localized:
          ru-RU:  "Подсветка"
          fr-FR:  "Hautes lumières"
          it-IT:  "Luminosità"
          de-DE:  "Highlights"
          es-ES:  "CASOS DESTACADOS"
          es-MX:  "Luces"
          zh-CHS: "强光"
          zh-CHT: "強光"
          ja-JP:  "ハイライト"
          cs-CZ:  "Světlé části"
          da-DK:  "Højdepunkter"
          el-GR:  "Φωτεινά σημεία"
          en-UK:  "Highlights"
          fi-FI:  "Korostukset"
          hu: "Kiemelések"
          ko-KR:  "강조"
          nl-NL:  "Markeringen"
          nb-NO:  "Høylys"
          pl: "Jaskrawość"
          pt-PT:  "Realces"
          pt-BR:  "Realces"
          sl-SI:  "Svetli deli"
          sk-SK:  "Svetlé časti"
          sv-SE:  "Högdagar"
          th-TH:  "ไฮไลท์"
          tr-TR:  "Vurgular"        
      default-value: 0.0
      ui-sticky-value: 0.0
      import: [typical_slider]   
    - name: shadowsSlider 
      ui-label: "Shadows"
      ui-label-localized:
          ru-RU:  "Тени"
          fr-FR:  "Ombres"
          it-IT:  "Ombreggiatura"
          de-DE:  "Schatten"
          es-ES:  "Sombras"
          es-MX:  "Sombras"
          zh-CHS: "阴影"
          zh-CHT: "陰影"
          ja-JP:  "シャドウ"
          cs-CZ:  "Tmavé časti"
          da-DK:  "Skygger"
          el-GR:  "Σκιές"
          en-UK:  "Shadows"
          fi-FI:  "Varjot"
          hu: "Árnyékok"
          ko-KR:  "음영"
          nl-NL:  "Shadows"
          nb-NO:  "Skygger"
          pl: "Cieniowanie"
          pt-PT:  "Sombras"
          pt-BR:  "Sombras"
          sl-SI:  "Temni deli"
          sk-SK:  "Tmavé časti"
          sv-SE:  "Skuggor"
          th-TH:  "เงา"
          tr-TR:  "Gölgeler"        
      default-value: 0.0
      ui-sticky-value: 0.0
      import: [typical_slider]        
main:
    import: [pass_template]
    shader: PS_Exposure@Exposure.yfx
    textures:
        texColor:
            channel: PIPE_INPUTS_COLOR
