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_sldVibrance : vibranceSlider, g_sldColor : colorenhancerSlider} 

typical_slider1:
      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

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

user-constants:
    - name: vibranceSlider 
      ui-label: "Vibrance"
      ui-label-localized:
          ru-RU: "Насыщенность"
          fr-FR: "Éclat"
          it-IT: "Brillantezza"
          de-DE: "Farbanpassung"
          es-ES: "Intensidad"
          es-MX: "Vibrance"
          zh-CHS: "亮丽"
          zh-CHT: "振動"
          ja-JP: "自然な彩度"
          cs-CZ: "Živost"
          da-DK: "Dynamik"
          el-GR: "Ζωντάνια"
          en-UK: "Vibrance"
          fi-FI: "Elävä"
          hu: "Vibrálás"
          ko-KR: "바이브런스"
          nl-NL: "Vibrance"
          nb-NO: "Livlighet"
          pl: "Jaskrawość"
          pt-PT: "Brilho"
          pt-BR: "Vibração"
          sl-SI: "Živahne barve"
          sk-SK: "Živosť"
          sv-SE: "Livfull"
          th-TH: "ความสดใส"
          tr-TR: "Titreşim"          
      default-value: 0.0
      ui-sticky-value: 0.0
      import: [typical_slider1]
    - name: colorenhancerSlider 
      ui-label: "Color Enhancer"
      ui-label-localized:
          ru-RU: "Изменение цвета"
          fr-FR: "Amél. couleurs"
          it-IT: "Ottimiz. colori"
          de-DE: "Farbverbesserung"
          es-ES: "Potenc. color"
          es-MX: "Optimiz. de color"
          zh-CHS: "颜色优化器"
          zh-CHT: "色彩增强器"
          ja-JP: "色の強調"
          cs-CZ: "Vylepšení barev"
          da-DK: "Farveforstærker"
          el-GR: "Βελτίωση χρωμάτων"
          en-UK: "Color enhancer"
          fi-FI: "Värinvahvennin"
          hu: "Színjavítás"
          ko-KR: "색상 보정기"
          nl-NL: "Kleurversterker"
          nb-NO: "Fargeforbedring"
          pl: "Wzmacniacz koloru"
          pt-PT: "Intensificador de cor"
          pt-BR: "Realce de cores"
          sl-SI: "Poudarjanje barv"
          sk-SK: "Zosilňovač farieb"
          sv-SE: "Färgförstärkare"
          th-TH: "เพิ่มสี"
          tr-TR: "Renk geliştirici"          
      default-value: 0.0
      ui-sticky-value: 0.0
      import: [typical_slider2]

main:
    import: [pass_template]
    shader: PS_SmartSat@Color.yfx
    textures:
        texColor:
            channel: PIPE_INPUTS_COLOR
