pass_template:
    samplerstates:
        samLinear:
            filter: MIN_MAG_MIP_LINEAR
            addressU: CLAMP
            addressV: CLAMP
        samLinearWrap:
            filter: MIN_MAG_MIP_LINEAR
            addressU: WRAP
            addressV: WRAP
    type: match-color-input
    constant-buffers:
        globalParams: {screenSize: SCREEN_SIZE, elapsedTime: ELAPSED_TIME, captureState: CAPTURE_STATE, tileUV: TILE_UV_RANGE}
        controlBuf: {g_maskID: idSlider, g_sldTRANSP: transSlider, g_sldDIST: distSlider, g_sldINV: invSlider, g_sldPosX: xposSlider, g_sldPosY: yposSlider, g_sldSIZE: sizeSlider, g_sldROTATE: rotateSlider}

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

typical_slider2:
      type: float
      minimum-value: 1.0
      maximum-value: 8.0
      default-value: 1
      ui-sticky-region: 0.01
      ui-value-unit: "#"
      ui-value-min: 1
      ui-value-max: 8
      ui-value-step: 1

typical_slider3:
      type: float
      minimum-value: -1.0
      maximum-value: 1.0
      default-value: 0.5
      ui-sticky-region: 0.01
      ui-value-unit: "#"
      ui-value-min: -100
      ui-value-max: 100
      ui-value-step: 2.01

boolean_slider:
      type: bool

user-constants:
    - name: idSlider
      ui-label: "Select Sticker"
      ui-label-localized:
        cs-CZ: "Vybrat nálepku"
        da-DK: "Vælg klistermærke"
        de-DE: "Sticker auswählen"
        el-GR: "Επιλογή αυτοκόλλητου"
        en-UK: "Select Sticker"
        es-ES: "Seleccionar pegatina"
        es-MX: "Seleccionar etiqueta"
        fi-FI: "Valitse tarra"
        fr-FR: "Sélectionner l’autocollant"
        hu: "Címke kiválasztása"
        it-IT: "Seleziona Adesivo"
        ja-JP: "ステッカーを選択"
        ko-KR: "스티커 선택"
        nl-NL: "Sticker selecteren"
        nb-NO: "Velg klistremerke"
        pl: "Wybierz naklejkę"
        pt-PT: "Seleccionar autocolante"
        pt-BR: "Selecionar adesivo"
        ru-RU: "Выбрать стикер"
        sk-SK: "Vybrať nálepku"
        sl-SI: "Izberite nalepko"
        sv-SE: "Välj klistermärke"
        th-TH: "เลือกสติกเกอร์"
        tr-TR: "Çıkartma Seç"
        zh-CHS: "选择贴纸"
        zh-CHT: "選取貼紙"
      default-value: 1.0
      import: [typical_slider2]
    - name: xposSlider
      ui-label: "Left / Right"
      ui-label-localized:
        cs-CZ: "Vlevo/vpravo"
        da-DK: "Venstre/højre"
        de-DE: "Links/Rechts"
        el-GR: "Αριστερά / Δεξιά"
        en-UK: "Left / Right"
        es-ES: "Izquierda / Derecha"
        es-MX: "Izquierda/derecha"
        fi-FI: "Vasen / oikea"
        fr-FR: "Gauche / Droite"
        hu: "Balra / Jobbra"
        it-IT: "Sinistra / destra"
        ja-JP: "左 / 右"
        ko-KR: "왼쪽/오른쪽"
        nl-NL: "Links/Rechts"
        nb-NO: "Venstre/høyre"
        pl: "Z lewej / z prawej"
        pt-PT: "Esquerda / Direita"
        pt-BR: "Esquerda/Direita"
        ru-RU: "Влево / вправо"
        sk-SK: "Vľavo/vpravo"
        sl-SI: "Levo / Desno"
        sv-SE: "Vänster / Höger"
        th-TH: "ซ้าย / ขวา"
        tr-TR: "Sola/Sağa"
        zh-CHS: "左 / 右"
        zh-CHT: "向左 / 向右"
      default-value: 0.5
      import: [typical_slider]
    - name: yposSlider
      ui-label: "Up / Down"
      ui-label-localized:
        cs-CZ: "Nahoru/dolů"
        da-DK: "Op/ned"
        de-DE: "Oben/Unten"
        el-GR: "Πάνω / Κάτω"
        en-UK: "Up / Down"
        es-ES: "Arriba / Abajo"
        es-MX: "Arriba/abajo"
        fi-FI: "Ylös / alas"
        fr-FR: "Haut / Bas"
        hu: "Fent / Lent"
        it-IT: "Su / giù"
        ja-JP: "上 / 下"
        ko-KR: "위/아래"
        nl-NL: "Omhoog/Omlaag"
        nb-NO: "Opp/ned"
        pl: "U góry / u dołu"
        pt-PT: "Para cima / baixo"
        pt-BR: "Para cima/Para baixo"
        ru-RU: "Вверх / вниз"
        sk-SK: "Hore/dole"
        sl-SI: "Gor / Dol"
        sv-SE: "Upp / Ner"
        th-TH: "บน / ล่าง"
        tr-TR: "Yukarı/Aşağı"
        zh-CHS: "上 / 下"
        zh-CHT: "向上 / 向下"
      default-value: 0.5
      import: [typical_slider] 
    - name: sizeSlider
      ui-label: "Size"
      ui-label-localized:
        cs-CZ: "Velikost"
        da-DK: "Størrelse"
        de-DE: "Größe"
        el-GR: "Μέγεθος"
        en-UK: "Size"
        es-ES: "Tamaño"
        es-MX: "Tamaño"
        fi-FI: "Koko"
        fr-FR: "Taille"
        hu: "Méret"
        it-IT: "Dimensioni"
        ja-JP: "サイズ"
        ko-KR: "크기"
        nl-NL: "Formaat"
        nb-NO: "Størrelse"
        pl: "Rozmiar"
        pt-PT: "Tamanho"
        pt-BR: "Tamanho"
        ru-RU: "Размер"
        sk-SK: "Veľkosť"
        sl-SI: "Velikost"
        sv-SE: "Storlek"
        th-TH: "ขนาด"
        tr-TR: "Boyut"
        zh-CHS: "尺寸"
        zh-CHT: "尺寸"
      default-value: 0.5
      import: [typical_slider]
    - name: rotateSlider
      ui-label: "Rotation"
      ui-label-localized:
        cs-CZ: "Otočení"
        da-DK: "Rotation"
        de-DE: "Drehung"
        el-GR: "Περιστροφή"
        en-UK: "Rotation"
        es-ES: "Rotación"
        es-MX: "Giro"
        fi-FI: "Kierto"
        fr-FR: "Rotation"
        hu: "Elforgatás"
        it-IT: "Rotazione"
        ja-JP: "回転"
        ko-KR: "회전"
        nl-NL: "Draaien"
        nb-NO: "Rotering"
        pl: "Obrót"
        pt-PT: "Rotação"
        pt-BR: "Rotação"
        ru-RU: "Поворот"
        sk-SK: "Otočenie"
        sl-SI: "Zasuk"
        sv-SE: "Rotation"
        th-TH: "การหมุน"
        tr-TR: "Döndürme"
        zh-CHS: "旋转"
        zh-CHT: "旋轉"
      ui-value-unit: "#"
      minimum-value: -180
      maximum-value: 180
      default-value: 0
      ui-sticky-region: 0.01
      ui-value-unit: "#"
      ui-value-min: -180
      ui-value-max: 180
      ui-value-step: 5
      import: [typical_slider3]                
    - name: transSlider
      ui-label: "Opacity"
      ui-label-localized:
        cs-CZ: "Průhlednost"
        da-DK: "Gennemsigtighed"
        de-DE: "Deckkraft"
        el-GR: "Αδιαφάνεια"
        en-UK: "Opacity"
        es-ES: "Opacidad"
        es-MX: "Opacidad"
        fi-FI: "Peittävyys"
        fr-FR: "Opacité"
        hu: "Átlátszatlanság"
        it-IT: "Opacità"
        ja-JP: "不透明度"
        ko-KR: "불투명도"
        nl-NL: "Ondoorzichtigheid"
        nb-NO: "Opasitet"
        pl: "Nieprzezroczystość"
        pt-PT: "Opacidade"
        pt-BR: "Opacidade"
        ru-RU: "Непрозрачность"
        sk-SK: "Nepriehľadnosť"
        sl-SI: "Nepropustnost"
        sv-SE: "Opacitet"
        th-TH: "ความทึบแสง"
        tr-TR: "Opaklık"
        zh-CHS: "不透明度"
        zh-CHT: "不透明度"
      default-value: 1.0
      import: [typical_slider]
    - name: distSlider
      ui-label: "Depth"
      ui-label-localized:
        cs-CZ: "Hloubka"
        da-DK: "Dybde"
        de-DE: "Tiefe"
        el-GR: "Βάθος"
        en-UK: "Depth"
        es-ES: "Profundidad"
        es-MX: "Profundidad"
        fi-FI: "Syvyys"
        fr-FR: "Profondeur"
        hu: "Mélység"
        it-IT: "Profondità"
        ja-JP: "深度"
        ko-KR: "깊이"
        nl-NL: "Diepte"
        nb-NO: "Dybde"
        pl: "Głębia"
        pt-PT: "Profundidade"
        pt-BR: "Profundidade"
        ru-RU: "Глубина"
        sk-SK: "Hĺbka"
        sl-SI: "Globina"
        sv-SE: "Djup"
        th-TH: "ความลึก"
        tr-TR: "Derinlik"
        zh-CHS: "深度"
        zh-CHT: "深度"
      default-value: 0.0
      import: [typical_slider]
    - name: invSlider
      ui-label: "Invert Depth"
      ui-label-localized:
        cs-CZ: "Převrátit hloubku"
        da-DK: "Invertér dybde"
        de-DE: "Tiefe umkehren"
        el-GR: "Αναστροφή βάθους"
        en-UK: "Invert Depth"
        es-ES: "Invertir profundidad"
        es-MX: "Invertir profundidad"
        fi-FI: "Käännön syvyys"
        fr-FR: "Inverser la profondeur"
        hu: "Mélység megfordítása"
        it-IT: "Inverti profondità"
        ja-JP: "深度を反転"
        ko-KR: "깊이 반전"
        nl-NL: "Diepte omkeren"
        nb-NO: "Omvendt dybde"
        pl: "Odwróć głębię"
        pt-PT: "Inverter profundidade"
        pt-BR: "Inverter profundidade"
        ru-RU: "Инвертировать глубину"
        sk-SK: "Invertovať hĺbku"
        sl-SI: "Negativna globina"
        sv-SE: "Inverterat djup"
        th-TH: "กลับความลึก"
        tr-TR: "Derinliği Tersine Çevir"
        zh-CHS: "反转深度"
        zh-CHT: "反轉深度"
      import: [boolean_slider]
      
main:
    import: [pass_template]
    shader: PSMain@Stickers.yfx
    textures:
        texColor:
            channel: PIPE_INPUTS_COLOR
        texDepth:
            channel: PIPE_INPUTS_DEPTH    
        texOv01:
            filename: Sticker01.png
            excludeHash: Yes
        texOv02:
            filename: Sticker02.png
            excludeHash: Yes
        texOv03:
            filename: Sticker03.png
            excludeHash: Yes
        texOv04:
            filename: Sticker04.png
            excludeHash: Yes
        texOv05:
            filename: Sticker05.png
            excludeHash: Yes
        texOv06:
            filename: Sticker06.png
            excludeHash: Yes
        texOv07:
            filename: Sticker07.png
            excludeHash: Yes
        texOv08:
            filename: Sticker08.png
            excludeHash: Yes
         
