{"id":5658,"date":"2026-11-15T01:11:07","date_gmt":"2026-11-14T23:11:07","guid":{"rendered":"https:\/\/www.octantastudio.com\/?page_id=5658"},"modified":"2026-11-16T12:42:32","modified_gmt":"2026-11-16T10:42:32","slug":"unity-vfx-shader-techniques","status":"publish","type":"page","link":"https:\/\/www.octantastudio.com\/en\/unity-vfx-shader-techniques\/","title":{"rendered":"Unity VFX Shader Techniques"},"content":{"rendered":"\n<div class=\"wp-block-group alignwide is-nowrap is-layout-flex wp-container-core-group-is-layout-3a88641f wp-block-group-is-layout-flex\">\n<style>\n:root {\n    --primary: #8B5CF6;\n    --primary-light: rgba(139, 92, 246, 0.5);\n    --secondary: #49B3FF;\n    --secondary-light: #63D2FF;\n    --accent: #6366f1;\n    --accent-hover: #4f46e5;\n    --bg-dark: #121218;\n    --bg-card: rgba(30, 32, 46, 0.85);\n    --bg-card-hover: rgba(40, 42, 56, 0.95);\n    --text: #F1F5F9;\n    --text-muted: rgba(255, 255, 255, 0.7);\n    --text-subtle: rgba(255, 255, 255, 0.4);\n    --border: rgba(255, 255, 255, 0.1);\n    --border-highlight: rgba(255, 255, 255, 0.2);\n\n    \/* type scale: change sizes here only *\/\n    --fs-h1: clamp(1.7rem, 1.4rem + 1.3vw, 2.25rem);\n    --fs-h2: clamp(1.2rem, 1.05rem + 0.6vw, 1.5rem);\n    --fs-h3: 1.15rem;\n    --fs-body: clamp(16px, 15px + 0.2vw, 17px);\n    --lh-body: 1.65;\n    --fs-small: 14px;   \/* text on sheets and inside practice cards *\/\n    --fs-ui: 13px;      \/* buttons, tabs *\/\n    --fs-label: 11px;   \/* badges, mono tags, numbers *\/\n}\n\nbody {\n    font-family: -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, sans-serif;\n    background-color: var(--bg-dark);\n    color: var(--text);\n}\n\n\/* grid texture: put on a container, lift its content with z-index: 1 *\/\n.oct-grid { position: relative; }\n.oct-grid::before {\n    content: \"\";\n    position: absolute;\n    inset: 0;\n    background-image:\n        linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),\n        linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);\n    background-size: 20px 20px;\n    pointer-events: none;\n}\n\n\/* corner marks: .oct-corners = two corners, .oct-corner-tl = one (parent needs position: relative) *\/\n.oct-corners::before,\n.oct-corners::after,\n.oct-corner-tl::before {\n    content: \"\";\n    position: absolute;\n    width: 14px;\n    height: 14px;\n    pointer-events: none;\n    z-index: 2;\n}\n.oct-corners::before,\n.oct-corner-tl::before {\n    top: 6px;\n    left: 6px;\n    border-left: 1px solid rgba(255, 255, 255, 0.16);\n    border-top: 1px solid rgba(255, 255, 255, 0.16);\n}\n.oct-corners::after {\n    bottom: 6px;\n    right: 6px;\n    border-right: 1px solid rgba(255, 255, 255, 0.16);\n    border-bottom: 1px solid rgba(255, 255, 255, 0.16);\n}\n\n\/* note: a quiet notice line with an icon, no card. Used by the hero callout and the key phrase in \"Gain\".\n   Markup: <aside class=\"oct-note\"><p class=\"oct-note-text\">...<\/p><\/aside> *\/\n.oct-note {\n    position: relative;\n    box-sizing: border-box;\n    margin: 0;\n    padding: 12px 14px 12px 52px;\n    background: linear-gradient(90deg, rgba(139, 92, 246, 0.09) 0%, rgba(139, 92, 246, 0) 80%);\n    border-left: 2px solid rgba(139, 92, 246, 0.35);\n}\n\n.oct-note::before {\n    content: \"\";\n    position: absolute;\n    left: 14px;\n    top: 13px;\n    box-sizing: border-box;\n    width: 24px;\n    height: 24px;\n    background-color: rgba(99, 102, 241, 0.15);\n    background-image: url(\"data:image\/svg+xml,%3Csvg xmlns='http:\/\/www.w3.org\/2000\/svg' viewBox='0 0 24 24' fill='none' stroke='%238B5CF6' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 16C14.2091 16 16 14.2091 16 12C16 9.79086 14.2091 8 12 8C9.79086 8 8 9.79086 8 12C8 14.2091 9.79086 16 12 16Z'\/%3E%3Cpath d='M3 12H8M16 12H21M12 3V8M12 16V21'\/%3E%3C\/svg%3E\");\n    background-repeat: no-repeat;\n    background-position: center;\n    background-size: 16px 16px;\n    border-radius: 50%;\n}\n\n.oct-note .oct-note-text {\n    margin: 0;\n    color: #fff;\n    font-size: var(--fs-body);\n    line-height: var(--lh-body);\n}\n\n\/* practice badge: quiet label in the style of the Free\/Full badge, no outline, not clickable-looking.\n   Place it as a flex item in the top row of a block; margin-left: auto pushes it to the right edge *\/\n.oct-practice {\n    display: inline-flex;\n    align-items: center;\n    gap: 6px;\n    flex: 0 0 auto;\n    margin-left: auto;\n    padding: 2px 6px;\n    background: rgba(0, 0, 0, 0.3);\n    border-radius: 3px;\n    color: var(--text-muted);\n    font-family: monospace;\n    font-size: var(--fs-label);\n    font-weight: 500;\n    letter-spacing: 0.8px;\n    line-height: 1.4;\n    text-transform: uppercase;\n}\n\n.oct-practice::before {\n    content: \"\";\n    width: 5px;\n    height: 5px;\n    background: var(--primary-light);\n    transform: rotate(45deg);\n}\n\n\/* theme switcher: two small color swatches, no text, no diamond.\n   The color inside each square shows what theme it activates.\n   Placed in the Slides top bar; controls the practice blocks on the page. *\/\n.oct-theme-switch {\n    display: inline-flex;\n    align-items: center;\n    gap: 6px;\n    margin: 0;\n    padding: 0;\n}\n\nbutton.oct-theme-tab {\n    box-sizing: border-box;\n    display: inline-block;\n    width: 28px;\n    height: 26px;\n    margin: 0;\n    padding: 0;\n    border: 1px solid var(--border-highlight);\n    border-radius: 0;\n    cursor: pointer;\n}\n\nbutton.oct-theme-tab[data-theme=\"light\"] {\n    background-color: #c8cad0;\n}\n\nbutton.oct-theme-tab[data-theme=\"dark\"] {\n    background-color: #1a1a22;\n}\n\nbutton.oct-theme-tab:hover {\n    border-color: var(--text-muted);\n}\n\nbutton.oct-theme-tab.is-active {\n    border-color: var(--accent);\n    box-shadow: 0 0 0 1px var(--accent);\n    cursor: default;\n}\n\nbutton.oct-theme-tab:focus-visible {\n    outline: 2px solid var(--secondary);\n    outline-offset: 2px;\n}\n\n\/* sheet: soft gradient backing with the same side line as .oct-note (used by \"What You'll Find Here\" and the \"book\") *\/\n.oct-sheet {\n    position: relative;\n    padding: 16px 18px 14px;\n    background: linear-gradient(90deg, rgba(139, 92, 246, 0.09) 0%, rgba(139, 92, 246, 0) 75%);\n    border-left: 2px solid rgba(139, 92, 246, 0.35);\n}\n\n.oct-sheet.oct-corners::before,\n.oct-sheet.oct-corners::after { display: none; }\n\n\/* sheet page: a side tag on the left, text on the right; used by every pager *\/\n.oct-page {\n    display: grid;\n    grid-template-columns: 116px minmax(0, 1fr);\n    column-gap: 14px;\n}\n\n.oct-page-tag {\n    display: block;\n    padding-right: 14px;\n    border-right: 1px solid var(--border-highlight);\n    color: var(--primary);\n    font-family: monospace;\n    font-size: var(--fs-label);\n    font-weight: 700;\n    letter-spacing: 0.8px;\n    line-height: calc(var(--fs-small) * var(--lh-body));\n    text-transform: uppercase;\n}\n\n\/* text on a sheet is smaller than the page body text *\/\n.oct-sheet .oct-page-text {\n    margin: 0;\n    color: var(--text-muted);\n    font-size: var(--fs-small);\n    line-height: var(--lh-body);\n}\n\n\/* narrow screens: the tag goes above the text *\/\n@media (max-width: 620px) {\n    .oct-page { grid-template-columns: minmax(0, 1fr); row-gap: 4px; }\n    .oct-page-tag { padding-right: 0; border-right: 0; line-height: 1.4; }\n}\n\n\/* pager: page turning. Pages share one grid cell, so the block keeps one height.\n   A chain of diamonds (one per page, built by the script) sits at the bottom right and shows the full progress.\n   Markup: .oct-pager > .oct-pager-stage > .oct-pager-page[data-title] (one has .is-current), then .oct-pager-foot > .oct-pager-gems *\/\n.oct-pager-stage { display: grid; }\n.oct-pager-page { grid-area: 1 \/ 1; visibility: hidden; }\n.oct-pager-page.is-current { visibility: visible; }\n\n.oct-pager-foot {\n    display: flex;\n    justify-content: flex-end;\n    padding-top: 12px;\n}\n\n.oct-pager-gems {\n    display: flex;\n    align-items: center;\n    min-height: 40px;\n}\n\nbutton.oct-pager-gem {\n    position: relative;\n    flex: 0 0 52px;\n    height: 40px;\n    margin: 0;\n    padding: 0;\n    background: none;\n    border: 0;\n    border-radius: 0;\n    box-shadow: none;\n    color: var(--secondary);\n    font-family: monospace;\n    font-size: var(--fs-label);\n    font-weight: 500;\n    line-height: 1;\n    cursor: pointer;\n}\n\nbutton.oct-pager-gem span { position: relative; z-index: 2; }\n\n\/* the diamond: a rotated square *\/\nbutton.oct-pager-gem::before {\n    content: \"\";\n    position: absolute;\n    z-index: 1;\n    top: 50%;\n    left: 50%;\n    box-sizing: border-box;\n    width: 24px;\n    height: 24px;\n    margin: -12px 0 0 -12px;\n    background: rgba(0, 0, 0, 0.3);\n    border: 1px solid var(--border-highlight);\n    transform: rotate(45deg);\n}\n\nbutton.oct-pager-gem.is-active { color: #fff; cursor: default; }\nbutton.oct-pager-gem.is-active::before { background: var(--accent); border-color: var(--accent); }\nbutton.oct-pager-gem:hover:not(.is-active)::before { background: rgba(99, 102, 241, 0.2); }\nbutton.oct-pager-gem:focus-visible { outline: none; }\nbutton.oct-pager-gem:focus-visible::before { outline: 2px solid var(--secondary); outline-offset: 3px; }\n\n\/* buttons *\/\na.oct-btn {\n    display: inline-flex;\n    align-items: center;\n    justify-content: center;\n    box-sizing: border-box;\n    padding: 10px 16px;\n    background: var(--accent);\n    border: 1px solid var(--accent);\n    border-radius: 0;\n    color: #fff;\n    font-size: var(--fs-ui);\n    font-weight: 500;\n    line-height: 1;\n    text-decoration: none;\n}\na.oct-btn:hover { background: var(--accent-hover); border-color: var(--accent-hover); }\na.oct-btn.is-ghost { background: transparent; border-color: rgba(73, 179, 255, 0.5); }\na.oct-btn.is-ghost:hover { background: rgba(73, 179, 255, 0.12); border-color: var(--secondary); }\na.oct-btn:focus-visible { outline: 2px solid var(--secondary); outline-offset: 2px; }\n\n\/* inline link, arrow, mono tag *\/\na.oct-ref {\n    color: var(--secondary);\n    font-weight: 600;\n    text-decoration: underline;\n    text-decoration-color: rgba(73, 179, 255, 0.4);\n    text-underline-offset: 2px;\n}\na.oct-ref:hover { color: var(--secondary-light); text-decoration-color: var(--secondary-light); }\n\n.oct-arrow { color: var(--secondary); font-weight: 700; }\n\n.oct-tag-mono {\n    display: inline-block;\n    padding: 1px 6px;\n    background: rgba(139, 92, 246, 0.15);\n    color: var(--primary);\n    font-family: monospace;\n    font-size: var(--fs-label);\n    line-height: 1.4;\n}\n\n\/* lazy YouTube: cover -> click -> iframe *\/\n.oct-yt {\n    position: relative;\n    width: 100%;\n    height: 100%;\n    background: #0a0a0e;\n    overflow: hidden;\n}\n\n.oct-yt iframe {\n    position: absolute;\n    inset: 0;\n    width: 100%;\n    height: 100%;\n    border: none;\n}\n\n.oct-yt-cover {\n    position: absolute;\n    inset: 0;\n    display: block;\n    cursor: pointer;\n}\n\n.oct-yt-cover[hidden] { display: none; }\n\n.oct-yt-cover img {\n    width: 100%;\n    height: 100%;\n    object-fit: cover;\n    display: block;\n    transition: transform 0.4s ease, filter 0.3s ease, opacity 0.25s ease;\n}\n\n.oct-yt-cover:hover img {\n    transform: scale(1.04);\n    filter: brightness(0.8);\n}\n\n.oct-yt-play {\n    position: absolute;\n    top: 50%;\n    left: 50%;\n    width: 68px;\n    height: 68px;\n    margin: -34px 0 0 -34px;\n    display: flex;\n    align-items: center;\n    justify-content: center;\n    background: rgba(18, 18, 24, 0.75);\n    border: 1px solid var(--border-highlight);\n    border-radius: 50%;\n    color: #fff;\n    transition: background 0.3s ease, transform 0.3s ease;\n}\n\n.oct-yt-play svg {\n    width: 30px;\n    height: 30px;\n    margin-left: 3px;\n}\n\n.oct-yt-cover:hover .oct-yt-play {\n    background: var(--accent);\n    transform: scale(1.1);\n}\n\n@media (max-width: 480px) {\n    .oct-yt-play { width: 56px; height: 56px; margin: -28px 0 0 -28px; }\n}\n\n\/* below-the-fold sections: skip rendering until they approach the viewport.\n   contain-intrinsic-size with the auto keyword remembers the real height after the first render *\/\n.oct-slides,\n.oct-duo,\n.oct-mean,\n.oct-way {\n    content-visibility: auto;\n    contain-intrinsic-size: auto 800px;\n}\n\n<\/style>\n<script>\n(function () {\n    \/\/ build the diamond navigation for every pager on the page\n    function bind(root) {\n        var pages = root.querySelectorAll('.oct-pager-page');\n        var box = root.querySelector('.oct-pager-gems');\n        var gems = [];\n        var start = 0;\n\n        function show(i) {\n            pages.forEach(function (page, n) { page.classList.toggle('is-current', n === i); });\n            gems.forEach(function (gem, n) {\n                gem.classList.toggle('is-active', n === i);\n                gem.classList.toggle('is-passed', n < i);\n                gem.setAttribute('aria-selected', n === i);\n            });\n        }\n\n        pages.forEach(function (page, i) {\n            var title = page.getAttribute('data-title') || ('Page ' + (i + 1));\n            var gem = document.createElement('button');\n            if (page.classList.contains('is-current')) start = i;\n            gem.type = 'button';\n            gem.className = 'oct-pager-gem';\n            gem.title = title;\n            gem.setAttribute('role', 'tab');\n            gem.setAttribute('aria-label', title);\n            gem.innerHTML = '<span>' + (i < 9 ? '0' : '') + (i + 1) + '<\/span>';\n            gem.addEventListener('click', function () { show(i); });\n            box.appendChild(gem);\n            gems.push(gem);\n        });\n\n        \/\/ arrow keys move between diamonds (no && here: WP encodes it in inline JS)\nbox.addEventListener('keydown', function (e) {\n    var step = 0;\n    if (e.key === 'ArrowRight') step = 1;\n    if (e.key === 'ArrowLeft') step = -1;\n    if (!step) return;\n    var cur = gems.indexOf(document.activeElement);\n    if (cur < 0) return;\n    var next = cur + step;\n    if (next < 0) return;\n    if (next >= gems.length) return;\n    e.preventDefault();\n    gems[next].focus();\n    show(next);\n});\n\n        show(start);\n    }\n\n    function boot() { document.querySelectorAll('.oct-pager').forEach(bind); }\n\n    if (document.readyState === 'loading') document.addEventListener('DOMContentLoaded', boot);\n    else boot();\n})();\n<\/script>\n\n\n\n<style>\n.oct-vfx-lead {\n    width: 100%;\n    margin: 8px 0 12px;\n    padding: 22px 0 18px;\n    box-sizing: border-box;\n    overflow: hidden;\n}\n\n.oct-vfx-lead-mark {\n    position: absolute;\n    top: calc(50% - 110px);\n    right: 2%;\n    width: 220px;\n    height: 220px;\n    pointer-events: none;\n}\n\n.oct-vfx-coord {\n    position: absolute;\n    z-index: 1;\n    font-family: monospace;\n    font-size: var(--fs-label);\n    letter-spacing: 0.3px;\n    color: rgba(139, 92, 246, 0.275);\n    pointer-events: none;\n}\n\n.oct-vfx-coord-1 { top: 8px; left: 16px; }\n.oct-vfx-coord-2 { right: 16px; bottom: 8px; }\n\n.oct-hero {\n    position: relative;\n    z-index: 1;\n    display: grid;\n    grid-template-columns: minmax(0, 1fr) minmax(240px, 300px);\n    gap: 16px 24px;\n    align-items: center;\n    padding: 10px 0 6px;\n}\n\n.oct-hero-title {\n    margin: 0;\n    color: #fff;\n    font-size: var(--fs-h1);\n    font-weight: 600;\n    line-height: 1.2;\n}\n\n.oct-hero-title::after {\n    content: \"\";\n    display: block;\n    width: 60px;\n    height: 3px;\n    margin-top: 12px;\n    background-color: var(--primary-light);\n}\n\n.oct-hero-by,\n.oct-hero-summary {\n    margin: 10px 0 0;\n    color: var(--text-muted);\n    font-size: var(--fs-body);\n    line-height: var(--lh-body);\n}\n\n.oct-hero-by a::after { content: \" \u2192\"; }\n\n.oct-note.has-hand {\n    padding: 16px 14px 16px 76px;\n    background: none;\n    border-left: 0;\n}\n\n.oct-note.has-hand::before {\n    background-color: transparent;\n    background-image: url(\"https:\/\/www.octantastudio.com\/wp-content\/buildadd\/HandWide.webp\");\n    background-size: contain;\n    background-position: center;\n    background-repeat: no-repeat;\n    border-radius: 0;\n    width: 48px;\n    height: 48px;\n    top: 50%;\n    margin-top: -24px;\n}\n\n@media (max-width: 900px) {\n    .oct-vfx-lead-mark { top: calc(50% - 80px); width: 160px; height: 160px; right: -20px; }\n}\n\n@media (max-width: 720px) {\n    .oct-hero { grid-template-columns: 1fr; gap: 12px; }\n}\n<\/style>\n\n<section class=\"oct-vfx-lead oct-grid\">\n    <svg class=\"oct-vfx-lead-mark\" viewBox=\"0 0 100 100\" aria-hidden=\"true\">\n        <circle cx=\"50\" cy=\"50\" r=\"45\" fill=\"none\" stroke=\"#8B5CF6\" stroke-opacity=\"0.14\" stroke-width=\"0.5\"><\/circle>\n        <path d=\"M50 5 L50 95 M5 50 L95 50 M15 15 L85 85 M15 85 L85 15\" fill=\"none\" stroke=\"#8B5CF6\" stroke-opacity=\"0.14\" stroke-width=\"0.3\"><\/path>\n        <circle cx=\"50\" cy=\"50\" r=\"3\" fill=\"#8B5CF6\" fill-opacity=\"0.14\"><\/circle>\n    <\/svg>\n    <div class=\"oct-vfx-coord oct-vfx-coord-1\">50\u00b027\u20320.36\u2033 N, 30\u00b031\u203224.24\u2033 E<\/div>\n    <div class=\"oct-vfx-coord oct-vfx-coord-2\">Dariia Zodcha<\/div>\n\n    <div class=\"oct-hero\">\n        <div>\n            <h2 class=\"oct-hero-title\">Guide to Unity VFX Shader Techniques <span class=\"oct-hero-free\"><\/span><\/h2>\n            <p class=\"oct-hero-by\">by <a class=\"oct-ref\" href=\"https:\/\/www.octantastudio.com\/\" target=\"_blank\" rel=\"noopener noreferrer\">Octanta Studio<\/a><\/p>\n            <p class=\"oct-hero-summary\">Learn a reusable shader-based workflow for creating lightweight, customizable VFX in Unity &#8211; with AI as your assistant, not a replacement for your skills. You provide the vision, text descriptions or visual references; the system helps bring them to life as closely as possible to your original intent.<\/p>\n        <\/div>\n        <aside class=\"oct-note has-hand\">\n            <p class=\"oct-note-text\">~5 minutes to try, 1 system, any possible effects ready to run in your build.<\/p>\n        <\/aside>\n    <\/div>\n<\/section>\n<\/div>\n\n\n\n<div class=\"wp-block-group alignwide is-vertical is-content-justification-center is-layout-flex wp-container-core-group-is-layout-bc18b00a wp-block-group-is-layout-flex\">\n<style>\n\/* pipe: interactive Shader \u2192 Material \u2192 Player demo; layout only, colors and sizes come from the shared :root. *\/\n.oct-pipe {\n    width: 100%;\n    box-sizing: border-box;\n    margin: 12px 0;\n    scroll-margin-top: 16px;\n}\n\n.oct-pipe [hidden] { display: none !important; }\n\n.oct-pipe-row {\n    display: grid;\n    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.6fr);\n    gap: 0;\n    align-items: stretch;\n}\n\n.oct-pipe-card {\n    position: relative;\n    display: flex;\n    flex-direction: column;\n    box-sizing: border-box;\n    min-width: 0;\n    padding: 0 22px;\n}\n\n.oct-pipe-card:first-child { padding-left: 0; }\n.oct-pipe-card:last-child { padding-right: 0; }\n\n.oct-pipe-card + .oct-pipe-card {\n    border-left: 1px solid var(--border);\n}\n\n.oct-pipe-tag,\n.oct-pipe-quad-cap {\n    display: block;\n    color: var(--primary);\n    font-family: monospace;\n    font-size: var(--fs-label);\n    letter-spacing: 0.8px;\n    line-height: 1.35;\n    text-transform: uppercase;\n}\n\n.oct-pipe-tag {\n    font-weight: 700;\n    margin-bottom: 14px;\n}\n\n.oct-pipe-tag span {\n    color: var(--text-subtle);\n    margin-right: 6px;\n}\n\n.oct-pipe-card.is-done .oct-pipe-tag::after {\n    content: \" \u2713\";\n    color: var(--secondary);\n}\n\n.oct-pipe-quad-cap {\n    color: var(--text-subtle);\n}\n\n.oct-pipe-body {\n    flex: 1 1 auto;\n    display: flex;\n    flex-direction: column;\n    align-items: center;\n    justify-content: center;\n    gap: 8px;\n    padding: 4px 0 0;\n}\n\n.oct-pipe-cap {\n    color: var(--text-subtle);\n    font-family: monospace;\n    font-size: var(--fs-label);\n    letter-spacing: 0.3px;\n    line-height: 1.4;\n}\n\n.oct-pipe button {\n    margin: 0;\n    border-radius: 0;\n    font-family: inherit;\n}\n\n.oct-pipe button:focus-visible {\n    outline: 2px solid var(--secondary);\n    outline-offset: 2px;\n}\n\n.oct-pipe .is-hot {\n    box-shadow: 0 0 0 1px var(--secondary);\n}\n\n.oct-pipe-shader {\n    width: 56px;\n    height: 56px;\n    padding: 0;\n    display: flex;\n    align-items: center;\n    justify-content: center;\n    background: transparent;\n    border: 1px solid var(--border-highlight);\n    color: #fff;\n    font-size: 22px;\n    font-weight: 600;\n    line-height: 1;\n    cursor: pointer;\n    -webkit-touch-callout: none;\n    transition: border-color 0.15s ease, color 0.15s ease;\n}\n\n.oct-pipe-shader:hover {\n    border-color: var(--secondary);\n    color: var(--secondary);\n}\n\n.oct-pipe-shader.is-selected {\n    border-color: var(--accent);\n    color: var(--accent);\n}\n\n.oct-pipe-menu,\n.oct-pipe-sub {\n    background: #1c1d28;\n    border: 1px solid var(--border-highlight);\n    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);\n}\n\n.oct-pipe-menu {\n    position: fixed;\n    z-index: 1000;\n    min-width: 170px;\n    padding: 4px 0;\n    font-size: var(--fs-small);\n}\n\n.oct-pipe-menu[hidden],\n.oct-pipe-menu [hidden] { display: none !important; }\n\n.oct-pipe-mi {\n    display: flex;\n    align-items: center;\n    justify-content: space-between;\n    gap: 16px;\n    width: 100%;\n    box-sizing: border-box;\n    margin: 0;\n    padding: 6px 12px;\n    background: none;\n    border: 0;\n    border-radius: 0;\n    color: var(--text-subtle);\n    font: inherit;\n    line-height: 1.3;\n    text-align: left;\n    cursor: default;\n}\n\n.oct-pipe-mi.is-live { color: var(--secondary); cursor: pointer; }\n\n.oct-pipe-mi.is-live:hover,\n.oct-pipe-mi.is-live:focus-visible {\n    background: var(--accent);\n    color: #fff;\n    outline: none;\n}\n\n.oct-pipe-msep {\n    height: 1px;\n    margin: 4px 0;\n    background: var(--border);\n}\n\n.oct-pipe-mwrap { position: relative; }\n\n.oct-pipe-sub {\n    position: absolute;\n    left: 100%;\n    top: -5px;\n    min-width: 140px;\n    padding: 4px 0;\n}\n\n.oct-pipe-sub.is-left { left: auto; right: 100%; }\n\n.oct-pipe-sphere {\n    display: block;\n    width: 56px;\n    height: 56px;\n    padding: 0;\n    border: 0;\n    border-radius: 50%;\n    background: radial-gradient(circle at 35% 30%, #ffd68a 0%, #e8834a 65%, #8a3020 100%);\n    cursor: grab;\n    touch-action: none;\n    user-select: none;\n    -webkit-user-select: none;\n}\n\n.oct-pipe-sphere.is-picked {\n    box-shadow: 0 0 0 2px var(--accent);\n}\n\n.oct-pipe-sphere.is-lifted { opacity: 0.35; }\n\n.oct-pipe-sphere.oct-pipe-ghost {\n    position: fixed;\n    z-index: 1000;\n    margin: -28px 0 0 -28px;\n    opacity: 0.85;\n    pointer-events: none;\n    cursor: grabbing;\n}\n\n.oct-pipe-empty {\n    box-sizing: border-box;\n    width: 56px;\n    height: 56px;\n    border: 1px dashed var(--border-highlight);\n    border-radius: 50%;\n}\n\n.oct-pipe-player {\n    width: 100%;\n    display: flex;\n    flex-direction: column;\n    gap: 8px;\n}\n\n.oct-pipe-field {\n    display: flex;\n    align-items: center;\n    gap: 10px;\n}\n\n.oct-pipe-flabel {\n    flex: 0 0 auto;\n    color: var(--text-subtle);\n    font-family: monospace;\n    font-size: var(--fs-label);\n    letter-spacing: 0.3px;\n}\n\nbutton.oct-pipe-slot {\n    flex: 1 1 auto;\n    min-width: 0;\n    box-sizing: border-box;\n    min-height: 26px;\n    display: flex;\n    align-items: center;\n    gap: 8px;\n    padding: 4px 8px;\n    background: transparent;\n    border: 1px dashed var(--border-highlight);\n    color: var(--text-subtle);\n    font-size: var(--fs-label);\n    font-family: monospace;\n    line-height: 1.2;\n    text-align: left;\n    cursor: pointer;\n}\n\nbutton.oct-pipe-slot.is-over {\n    border-color: var(--secondary);\n    border-style: solid;\n    color: var(--secondary);\n}\n\nbutton.oct-pipe-slot.is-filled {\n    border-style: solid;\n    border-color: var(--border-highlight);\n    color: #fff;\n    cursor: default;\n}\n\n.oct-pipe-chip {\n    flex: 0 0 auto;\n    width: 10px;\n    height: 10px;\n    border-radius: 50%;\n    background: radial-gradient(circle at 35% 30%, #ffd68a 0%, #e8834a 65%, #8a3020 100%);\n}\n\n.oct-pipe-screen {\n    position: relative;\n    box-sizing: border-box;\n    height: 80px;\n    display: flex;\n    flex-direction: column;\n    align-items: center;\n    justify-content: center;\n    gap: 4px;\n    background: rgba(0, 0, 0, 0.15);\n    border: 1px solid var(--border);\n}\n\n.oct-pipe-idle {\n    color: var(--text-subtle);\n    font-family: monospace;\n    font-size: var(--fs-label);\n    letter-spacing: 0.8px;\n    text-transform: uppercase;\n}\n\n.oct-pipe-quad {\n    box-sizing: border-box;\n    width: 40px;\n    height: 40px;\n    display: flex;\n    align-items: center;\n    justify-content: center;\n    border: 1px solid var(--border-highlight);\n}\n\n.oct-pipe-fx {\n    color: #fff;\n    font-family: monospace;\n    font-size: var(--fs-label);\n    letter-spacing: 0.3px;\n    animation: oct-pipe-fade 2.4s ease-in-out infinite;\n}\n\n@keyframes oct-pipe-fade {\n    0%, 100% { opacity: 0; }\n    50%      { opacity: 1; }\n}\n\n.oct-pipe-ctl {\n    display: flex;\n    align-items: center;\n    gap: 8px;\n}\n\nbutton.oct-pipe-play {\n    flex: 0 0 auto;\n    box-sizing: border-box;\n    width: 26px;\n    height: 26px;\n    padding: 0;\n    display: flex;\n    align-items: center;\n    justify-content: center;\n    background: transparent;\n    border: 1px solid var(--border-highlight);\n    color: var(--text-subtle);\n    cursor: not-allowed;\n    transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;\n}\n\nbutton.oct-pipe-play svg {\n    width: 11px;\n    height: 11px;\n    fill: currentColor;\n}\n\nbutton.oct-pipe-play.is-ready {\n    border-color: var(--accent);\n    color: var(--accent);\n    cursor: pointer;\n}\n\nbutton.oct-pipe-play.is-ready:hover {\n    background: var(--accent);\n    border-color: var(--accent);\n    color: #fff;\n}\n\n.oct-pipe-track {\n    position: relative;\n    flex: 1 1 auto;\n    height: 2px;\n    overflow: hidden;\n    background: var(--border);\n}\n\n.oct-pipe-track::before {\n    content: \"\";\n    position: absolute;\n    inset: 0;\n    background: var(--primary-light);\n    transform: scaleX(0);\n    transform-origin: left;\n}\n\n.oct-pipe.is-playing .oct-pipe-track::before {\n    animation: oct-pipe-track 2.4s linear infinite;\n}\n\n@keyframes oct-pipe-track {\n    from { transform: scaleX(0); }\n    to   { transform: scaleX(1); }\n}\n\n.oct-pipe-loop {\n    flex: 0 0 auto;\n    color: var(--text-subtle);\n    font-family: monospace;\n    font-size: var(--fs-label);\n    letter-spacing: 0.8px;\n    text-transform: uppercase;\n}\n\n.oct-pipe-foot {\n    display: flex;\n    align-items: flex-start;\n    gap: 10px;\n    margin-top: 14px;\n}\n\n.oct-pipe-hint {\n    flex: 1 1 auto;\n    margin: 0;\n    color: var(--text-muted);\n    font-size: var(--fs-small);\n    line-height: var(--lh-body);\n}\n\n.oct-pipe-step {\n    display: inline-block;\n    margin-right: 8px;\n    color: var(--primary);\n    font-family: monospace;\n    font-size: var(--fs-label);\n    font-weight: 700;\n    letter-spacing: 0.8px;\n    text-transform: uppercase;\n}\n\nbutton.oct-pipe-reset {\n    flex: 0 0 auto;\n    box-sizing: border-box;\n    width: 24px;\n    height: 24px;\n    padding: 0;\n    display: flex;\n    align-items: center;\n    justify-content: center;\n    background: transparent;\n    border: 1px solid var(--border);\n    color: var(--text-subtle);\n    font-family: monospace;\n    font-size: 12px;\n    font-weight: 700;\n    line-height: 1;\n    cursor: pointer;\n    transition: border-color 0.15s ease, color 0.15s ease;\n}\n\nbutton.oct-pipe-reset:hover {\n    border-color: var(--secondary);\n    color: var(--secondary);\n}\n\n@media (max-width: 820px) {\n    .oct-pipe-row {\n        grid-template-columns: minmax(0, 1fr);\n        gap: 18px;\n    }\n\n    .oct-pipe-card {\n        padding: 0;\n    }\n\n    .oct-pipe-card + .oct-pipe-card {\n        border-left: 0;\n        border-top: 1px solid var(--border);\n        padding-top: 18px;\n    }\n\n    .oct-pipe-body {\n        padding: 8px 0 0;\n    }\n}\n\n@media (max-width: 500px) {\n    .oct-pipe-sub,\n    .oct-pipe-sub.is-left {\n        position: absolute;\n        left: 0;\n        right: 0;\n        top: 100%;\n        min-width: 0;\n    }\n}\n\n@media (prefers-reduced-motion: reduce) {\n    .oct-pipe.is-playing .oct-pipe-track::before {\n        animation: none;\n        transform: scaleX(1);\n    }\n}\n<\/style>\n\n<section class=\"oct-pipe\" id=\"try-the-pipeline\" aria-label=\"Interactive demo: from shader to a playing effect\">\n    <div class=\"oct-pipe-row\">\n\n        <div class=\"oct-pipe-card\" data-card=\"shader\">\n            <span class=\"oct-pipe-tag\"><span>01<\/span>Shader<\/span>\n            <div class=\"oct-pipe-body\">\n                <button type=\"button\" class=\"oct-pipe-shader\" aria-haspopup=\"menu\" aria-label=\"Shader MyEffect\">S<\/button>\n                <span class=\"oct-pipe-cap\">MyEffect.shader<\/span>\n            <\/div>\n        <\/div>\n\n        <div class=\"oct-pipe-card\" data-card=\"material\">\n            <span class=\"oct-pipe-tag\"><span>02<\/span>Material<\/span>\n            <div class=\"oct-pipe-body\">\n                <div class=\"oct-pipe-empty\" aria-hidden=\"true\"><\/div>\n                <button type=\"button\" class=\"oct-pipe-sphere\" aria-label=\"Material MyEffect, drag it to the Glow Material slot\" hidden=\"\"><\/button>\n                <span class=\"oct-pipe-cap\">MyEffect.mat<\/span>\n            <\/div>\n        <\/div>\n\n        <div class=\"oct-pipe-card\" data-card=\"player\">\n            <span class=\"oct-pipe-tag\"><span>03<\/span>Prefab + Player<\/span>\n            <div class=\"oct-pipe-player\">\n                <div class=\"oct-pipe-field\">\n                    <span class=\"oct-pipe-flabel\">Glow Material<\/span>\n                    <button type=\"button\" class=\"oct-pipe-slot\" aria-label=\"Glow Material slot\">\n                        <span class=\"oct-pipe-chip\" hidden=\"\"><\/span>\n                        <span class=\"oct-pipe-slot-text\">None (Material)<\/span>\n                    <\/button>\n                <\/div>\n                <div class=\"oct-pipe-screen\">\n                    <span class=\"oct-pipe-idle\">No material<\/span>\n                    <div class=\"oct-pipe-quad\" hidden=\"\"><span class=\"oct-pipe-fx\">effect<\/span><\/div>\n                    <span class=\"oct-pipe-quad-cap\" hidden=\"\">Flat quad<\/span>\n                <\/div>\n                <div class=\"oct-pipe-ctl\">\n                    <button type=\"button\" class=\"oct-pipe-play\" aria-disabled=\"true\" aria-label=\"Play\"><\/button>\n                    <span class=\"oct-pipe-track\" aria-hidden=\"true\"><\/span>\n                    <span class=\"oct-pipe-loop\">Loop<\/span>\n                <\/div>\n            <\/div>\n        <\/div>\n\n    <\/div>\n\n    <div class=\"oct-pipe-foot\">\n        <button type=\"button\" class=\"oct-pipe-reset\" aria-label=\"Reset the demo\"><span aria-hidden=\"true\">\u21ba<\/span><\/button>\n        <p class=\"oct-pipe-hint\" aria-live=\"polite\"><span class=\"oct-pipe-step\">Step 1\/3<\/span><span class=\"oct-pipe-hint-text\">Right-click the shader.<\/span><\/p>\n    <\/div>\n\n    <div class=\"oct-pipe-menu\" role=\"menu\" aria-label=\"Shader context menu\" hidden=\"\">\n        <div class=\"oct-pipe-mwrap\">\n            <button type=\"button\" class=\"oct-pipe-mi is-live oct-pipe-mi-create\" role=\"menuitem\" aria-haspopup=\"menu\" aria-expanded=\"false\">Create <span aria-hidden=\"true\">\u25b8<\/span><\/button>\n            <div class=\"oct-pipe-sub\" role=\"menu\" hidden=\"\">\n                <button type=\"button\" class=\"oct-pipe-mi is-live oct-pipe-mi-material\" role=\"menuitem\">Material<\/button>\n            <\/div>\n        <\/div>\n        <div class=\"oct-pipe-msep\" role=\"separator\"><\/div>\n        <div class=\"oct-pipe-mi\" role=\"menuitem\" aria-disabled=\"true\">Open<\/div>\n        <div class=\"oct-pipe-mi\" role=\"menuitem\" aria-disabled=\"true\">Rename<\/div>\n        <div class=\"oct-pipe-mi\" role=\"menuitem\" aria-disabled=\"true\">Delete<\/div>\n    <\/div>\n<\/section>\n\n<script>\n(function () {\n    'use strict';\n\n    if (window.__octPipeGlobal) return;\n    window.__octPipeGlobal = true;\n\n    \/\/ no && and no || anywhere: WP HTML-escapes && into &#038;&#038; in inline JS.\n    function all() {\n        for (var i = 0; i < arguments.length; i++) {\n            if (!arguments[i]) return false;\n        }\n        return true;\n    }\n    function any() {\n        for (var i = 0; i < arguments.length; i++) {\n            if (arguments[i]) return true;\n        }\n        return false;\n    }\n\n    var PLAY = '<svg viewBox=\"0 0 24 24\" aria-hidden=\"true\"><path d=\"M7 4.5v15l13-7.5z\"><\/path><\/svg>';\n    var STOP = '<svg viewBox=\"0 0 24 24\" aria-hidden=\"true\"><rect x=\"6\" y=\"6\" width=\"12\" height=\"12\"><\/rect><\/svg>';\n\n    var coarse = false;\n    if (window.matchMedia) {\n        coarse = window.matchMedia('(pointer: coarse)').matches;\n    }\n\n    var MSG = [\n        ['Step 1\/3', coarse ? 'Tap the shader.' : 'Right-click the shader.'],\n        ['Step 1\/3', 'Choose Create > Material.'],\n        ['Step 2\/3', 'Drag the material into the Glow Material slot, or click the material and then the slot.'],\n        ['Step 3\/3', 'Press Play.'],\n        ['Result', 'The effect plays on a flat quad. Instantiate it in the appropriate context. Stop or Reset to start over.']\n    ];\n\n    function S(root) {\n        if (!root.__pipeState) {\n            root.__pipeState = {\n                menu: false,\n                created: false,\n                picked: false,\n                assigned: false,\n                playing: false,\n                tempTimer: 0,\n                drag: null,\n                suppress: false\n            };\n        }\n        return root.__pipeState;\n    }\n\n    function q(root, sel) {\n        if (!root) return null;\n        return root.querySelector(sel);\n    }\n\n    function stage(s) {\n        if (s.playing) return 4;\n        if (s.assigned) return 3;\n        if (s.created) return 2;\n        if (s.menu) return 1;\n        return 0;\n    }\n\n    \/\/ iOS Safari does not restart a CSS animation on an element that was inside display: none.\n    \/\/ A forced reflow does not help. Replacing the node with a fresh clone always starts the\n    \/\/ animation from t=0 in every browser, because the new node has never painted before.\n    function restartFx(root) {\n        var fx = q(root, '.oct-pipe-fx');\n        if (!fx) return;\n        if (!fx.parentNode) return;\n        var clone = fx.cloneNode(true);\n        fx.parentNode.replaceChild(clone, fx);\n    }\n\n    function render(root) {\n        if (!root) return;\n        var s = S(root);\n        var n = stage(s);\n\n        var shader = q(root, '.oct-pipe-shader');\n        var empty = q(root, '.oct-pipe-empty');\n        var sphere = q(root, '.oct-pipe-sphere');\n        var slot = q(root, '.oct-pipe-slot');\n        var chip = q(root, '.oct-pipe-chip');\n        var slotText = q(root, '.oct-pipe-slot-text');\n        var idle = q(root, '.oct-pipe-idle');\n        var quad = q(root, '.oct-pipe-quad');\n        var quadCap = q(root, '.oct-pipe-quad-cap');\n        var play = q(root, '.oct-pipe-play');\n        var stepEl = q(root, '.oct-pipe-step');\n        var hintEl = q(root, '.oct-pipe-hint-text');\n        var shaderCard = q(root, '[data-card=\"shader\"]');\n        var materialCard = q(root, '[data-card=\"material\"]');\n\n        if (shader) {\n            shader.classList.toggle('is-hot', n === 0);\n            shader.classList.toggle('is-selected', any(s.menu, s.created));\n        }\n        if (empty) empty.hidden = s.created;\n        if (sphere) {\n            sphere.hidden = !s.created;\n            sphere.classList.toggle('is-picked', s.picked);\n            sphere.classList.toggle('is-hot', all(n === 2, !s.picked));\n        }\n        if (slot) {\n            slot.classList.toggle('is-hot', all(n === 2, s.picked));\n            slot.classList.toggle('is-filled', s.assigned);\n        }\n        if (chip) chip.hidden = !s.assigned;\n        if (slotText) slotText.textContent = s.assigned ? 'MyEffect' : 'None (Material)';\n        if (play) {\n            play.classList.toggle('is-ready', s.assigned);\n            play.classList.toggle('is-hot', n === 3);\n            play.setAttribute('aria-disabled', s.assigned ? 'false' : 'true');\n            play.setAttribute('aria-label', s.playing ? 'Stop' : 'Play');\n            play.innerHTML = s.playing ? STOP : PLAY;\n        }\n        if (idle) {\n            idle.textContent = s.assigned ? 'Press play' : 'No material';\n            idle.hidden = s.playing;\n        }\n        if (quad) quad.hidden = !s.playing;\n        if (quadCap) quadCap.hidden = !s.playing;\n        root.classList.toggle('is-playing', s.playing);\n        if (shaderCard) shaderCard.classList.toggle('is-done', s.created);\n        if (materialCard) materialCard.classList.toggle('is-done', s.assigned);\n\n        if (!s.tempTimer) {\n            if (stepEl) stepEl.textContent = MSG[n][0];\n            if (hintEl) hintEl.textContent = MSG[n][1];\n        }\n    }\n\n    function say(root, text) {\n        var s = S(root);\n        var stepEl = q(root, '.oct-pipe-step');\n        var hintEl = q(root, '.oct-pipe-hint-text');\n        if (stepEl) stepEl.textContent = 'Hint';\n        if (hintEl) hintEl.textContent = text;\n        clearTimeout(s.tempTimer);\n        s.tempTimer = setTimeout(function () { s.tempTimer = 0; render(root); }, 2200);\n    }\n\n    function openMenu(root, x, y) {\n        var s = S(root);\n        if (s.created) return;\n        var menu = q(root, '.oct-pipe-menu');\n        var sub = q(root, '.oct-pipe-sub');\n        var create = q(root, '.oct-pipe-mi-create');\n        if (!menu) return;\n            s.menu = true;\n    activeMenuRoot = root;\n    if (sub) sub.hidden = true;\n        if (create) create.setAttribute('aria-expanded', 'false');\n        menu.hidden = false;\n        var w = menu.offsetWidth;\n        var h = menu.offsetHeight;\n        menu.style.left = Math.max(8, Math.min(x, window.innerWidth - w - 8)) + 'px';\n        menu.style.top = Math.max(8, Math.min(y, window.innerHeight - h - 8)) + 'px';\n        render(root);\n        if (create) {\n            try { create.focus({ preventScroll: true }); } catch (err) { create.focus(); }\n        }\n    }\n\n    function closeMenu(root) {\n    var s = S(root);\n    s.menu = false;\n    if (activeMenuRoot === root) activeMenuRoot = null;\n    var menu = q(root, '.oct-pipe-menu');\n        var sub = q(root, '.oct-pipe-sub');\n        if (menu) menu.hidden = true;\n        if (sub) sub.hidden = true;\n        render(root);\n    }\n\n    function openSub(root) {\n        var sub = q(root, '.oct-pipe-sub');\n        var create = q(root, '.oct-pipe-mi-create');\n        if (!sub) return;\n        sub.hidden = false;\n        sub.classList.remove('is-left');\n        var rect = sub.getBoundingClientRect();\n        if (rect.right > window.innerWidth - 8) {\n            sub.classList.add('is-left');\n        }\n        if (create) create.setAttribute('aria-expanded', 'true');\n    }\n\n    function hits(e, sel) {\n        var t = e.target;\n        if (!t) return null;\n        if (!t.closest) return null;\n        return t.closest(sel);\n    }\n\n    function rootOf(e) {\n        var t = e.target;\n        if (!t) return null;\n        if (!t.closest) return null;\n        return t.closest('.oct-pipe');\n    }\n\n    function insideSlot(e, slot) {\n        if (!slot) return false;\n        var r = slot.getBoundingClientRect();\n        var pad = 14;\n        return all(\n            e.clientX >= r.left - pad,\n            e.clientX <= r.right + pad,\n            e.clientY >= r.top - pad,\n            e.clientY <= r.bottom + pad\n        );\n    }\n\n    document.addEventListener('click', function (e) {\n        var root = rootOf(e);\n        if (!root) return;\n        var s = S(root);\n\n        if (hits(e, '.oct-pipe-mi-material')) {\n            s.created = true;\n            closeMenu(root);\n            return;\n        }\n\n        if (hits(e, '.oct-pipe-mi-create')) {\n            var sub = q(root, '.oct-pipe-sub');\n            var create = q(root, '.oct-pipe-mi-create');\n            if (sub) {\n                if (sub.hidden) {\n                    openSub(root);\n                } else {\n                    sub.hidden = true;\n                    if (create) create.setAttribute('aria-expanded', 'false');\n                }\n            }\n            return;\n        }\n\n        if (hits(e, '.oct-pipe-shader')) {\n            if (s.created) return;\n            var shaderEl = e.target.closest('.oct-pipe-shader');\n            if (any(coarse, e.detail === 0)) {\n                var r = shaderEl.getBoundingClientRect();\n                openMenu(root, r.left + r.width \/ 2, r.bottom - 8);\n            } else {\n                say(root, 'Use the right mouse button on the shader.');\n            }\n            return;\n        }\n\n        if (hits(e, '.oct-pipe-sphere')) {\n            if (any(s.suppress, s.assigned)) return;\n            s.picked = !s.picked;\n            render(root);\n            return;\n        }\n\n        if (hits(e, '.oct-pipe-slot')) {\n            if (any(!s.created, s.assigned)) return;\n            if (s.picked) {\n                s.assigned = true;\n                s.picked = false;\n                render(root);\n            } else {\n                say(root, 'Pick the material first: click it, then click the slot.');\n            }\n            return;\n        }\n\n        if (hits(e, '.oct-pipe-play')) {\n            if (!s.assigned) {\n                say(root, 'Assign a material to the Glow Material slot first.');\n                return;\n            }\n            s.playing = !s.playing;\n            render(root);\n            if (s.playing) restartFx(root);\n            return;\n        }\n\n        if (hits(e, '.oct-pipe-reset')) {\n            root.__pipeState = null;\n            var menu = q(root, '.oct-pipe-menu');\n            var sub2 = q(root, '.oct-pipe-sub');\n            if (menu) menu.hidden = true;\n            if (sub2) sub2.hidden = true;\n            render(root);\n            return;\n        }\n    }, false);\n\n    document.addEventListener('contextmenu', function (e) {\n        var shader = hits(e, '.oct-pipe-shader');\n        if (!shader) return;\n        var root = shader.closest('.oct-pipe');\n        if (!root) return;\n        if (S(root).created) return;\n        e.preventDefault();\n        openMenu(root, e.clientX, e.clientY);\n    }, false);\n\n    document.addEventListener('pointerdown', function (e) {\n        var root = rootOf(e);\n        if (!root) {\n            document.querySelectorAll('.oct-pipe').forEach(function (r) {\n                if (S(r).menu) closeMenu(r);\n            });\n            return;\n        }\n        var s = S(root);\n        var menu = q(root, '.oct-pipe-menu');\n        if (all(s.menu, menu)) {\n            if (!menu.contains(e.target)) closeMenu(root);\n        }\n    }, true);\n\n    document.addEventListener('keydown', function (e) {\n        if (e.key !== 'Escape') return;\n        document.querySelectorAll('.oct-pipe').forEach(function (r) {\n            if (S(r).menu) {\n                closeMenu(r);\n                var sh = q(r, '.oct-pipe-shader');\n                if (sh) sh.focus();\n            }\n        });\n    }, true);\n\n    var activeMenuRoot = null;\n\nwindow.addEventListener('scroll', function () {\n    if (!activeMenuRoot) return;\n    closeMenu(activeMenuRoot);\n}, { passive: true, capture: true });\n\n    var activeRoot = null;\n\n    document.addEventListener('pointerdown', function (e) {\n        var sphere = hits(e, '.oct-pipe-sphere');\n        if (!sphere) return;\n        var root = sphere.closest('.oct-pipe');\n        if (!root) return;\n        var s = S(root);\n        if (s.assigned) return;\n        if (e.button !== undefined) {\n            if (e.button !== 0) return;\n        }\n        s.drag = { x: e.clientX, y: e.clientY, ghost: null };\n        activeRoot = root;\n        e.preventDefault();\n    }, true);\n\n    document.addEventListener('pointermove', function (e) {\n        if (!activeRoot) return;\n        var root = activeRoot;\n        var s = S(root);\n        if (!s.drag) return;\n\n        var sphere = q(root, '.oct-pipe-sphere');\n        var slot = q(root, '.oct-pipe-slot');\n        if (!sphere) return;\n        if (!slot) return;\n\n        if (!s.drag.ghost) {\n            var dx = e.clientX - s.drag.x;\n            var dy = e.clientY - s.drag.y;\n            if (Math.sqrt(dx * dx + dy * dy) < 6) return;\n            s.drag.ghost = document.createElement('div');\n            s.drag.ghost.className = 'oct-pipe-sphere oct-pipe-ghost';\n            document.body.appendChild(s.drag.ghost);\n            sphere.classList.add('is-lifted');\n            slot.classList.add('is-hot');\n        }\n\n        s.drag.ghost.style.left = e.clientX + 'px';\n        s.drag.ghost.style.top = e.clientY + 'px';\n\n        var over = insideSlot(e, slot);\n        slot.classList.toggle('is-over', over);\n    }, false);\n\n    function finishDrag(e, dropped) {\n        if (!activeRoot) return;\n        var root = activeRoot;\n        activeRoot = null;\n        var s = S(root);\n        if (!s.drag) return;\n\n        var d = s.drag;\n        s.drag = null;\n\n        var sphere = q(root, '.oct-pipe-sphere');\n        var slot = q(root, '.oct-pipe-slot');\n        if (sphere) sphere.classList.remove('is-lifted');\n        if (slot) slot.classList.remove('is-over');\n\n        if (!d.ghost) return;\n        d.ghost.remove();\n\n        s.suppress = true;\n        setTimeout(function () { s.suppress = false; }, 0);\n\n        if (all(dropped, slot, !s.assigned)) {\n            var over = insideSlot(e, slot);\n            if (over) {\n                s.assigned = true;\n                s.picked = false;\n            }\n        }\n        render(root);\n    }\n\n    document.addEventListener('pointerup', function (e) { finishDrag(e, true); }, false);\n    document.addEventListener('pointercancel', function (e) { finishDrag(e, false); }, false);\n\n    \/\/ hover opens the Create submenu, but only on a real mouse: on touch, pointerover fires before click\n    \/\/ and the following click would immediately close the just-opened submenu, so a tap needs two presses.\n    document.addEventListener('pointerover', function (e) {\n        if (e.pointerType !== 'mouse') return;\n        var create = hits(e, '.oct-pipe-mi-create');\n        if (!create) return;\n        var root = create.closest('.oct-pipe');\n        if (!root) return;\n        openSub(root);\n    }, false);\n\n    document.addEventListener('keydown', function (e) {\n        var create = hits(e, '.oct-pipe-mi-create');\n        if (all(create, e.key === 'ArrowRight')) {\n            e.preventDefault();\n            var root = create.closest('.oct-pipe');\n            if (!root) return;\n            openSub(root);\n            var mat = q(root, '.oct-pipe-mi-material');\n            if (mat) mat.focus();\n            return;\n        }\n        var matEl = hits(e, '.oct-pipe-mi-material');\n        if (all(matEl, e.key === 'ArrowLeft')) {\n            e.preventDefault();\n            var root2 = matEl.closest('.oct-pipe');\n            if (!root2) return;\n            var sub = q(root2, '.oct-pipe-sub');\n            if (sub) sub.hidden = true;\n            var c = q(root2, '.oct-pipe-mi-create');\n            if (c) c.focus();\n            return;\n        }\n    }, true);\n\n    function renderAll() {\n        try {\n            document.querySelectorAll('.oct-pipe').forEach(render);\n        } catch (err) {}\n    }\n\n    if (document.readyState === 'loading') {\n        document.addEventListener('DOMContentLoaded', renderAll);\n    } else {\n        renderAll();\n    }\n\n   \n})();\n<\/script>\n\n\n\n<style>\n.oct-skip {\n    width: 100%;\n    box-sizing: border-box;\n    margin: 12px 0;\n}\n\n.oct-skip-line {\n    display: inline-flex;\n    align-items: center;\n    flex-wrap: wrap;\n    gap: 6px 10px;\n    max-width: 100%;\n    font-size: var(--fs-body);\n    line-height: 1.5;\n}\n\n.oct-skip-hand {\n    display: block;\n    flex: 0 0 auto;\n    width: 40px;\n    height: 40px;\n    object-fit: contain;\n}\n\n.oct-skip-text {\n    color: var(--text-muted);\n}\n\na.oct-skip-link {\n    color: var(--secondary);\n    font-weight: 600;\n    text-decoration: underline;\n    text-decoration-color: rgba(73, 179, 255, 0.4);\n    text-underline-offset: 2px;\n}\n\na.oct-skip-link:hover {\n    color: var(--secondary-light);\n    text-decoration-color: var(--secondary-light);\n}\n\na.oct-skip-link:focus-visible {\n    outline: 2px solid var(--secondary);\n    outline-offset: 2px;\n}\n\n@media (max-width: 720px) {\n    .oct-skip-hand {\n        width: 32px;\n        height: 32px;\n    }\n}\n<\/style>\n\n<section class=\"oct-skip\" aria-label=\"Jump to the practice section\">\n    <div class=\"oct-skip-line\">\n        <span class=\"oct-skip-text\">Already know the pipeline or have the full Procedural VFX Toolkit?<\/span>\n        <a class=\"oct-skip-link\" href=\"#hands-on-practice\">Jump to Hands-On Practice \u2193<\/a>\n        <img data-recalc-dims=\"1\" decoding=\"async\" class=\"oct-skip-hand\" src=\"https:\/\/i0.wp.com\/www.octantastudio.com\/wp-content\/buildadd\/HandSetup.webp?ssl=1\" alt=\"\" aria-hidden=\"true\" loading=\"lazy\">\n    <\/div>\n<\/section>\n\n<script>\n(function () {\n    var DEFERRED = '.oct-slides, .oct-duo, .oct-mean, .oct-way';\n\n    function reveal() {\n        var els = document.querySelectorAll(DEFERRED);\n        els.forEach(function (el) { el.style.contentVisibility = 'visible'; });\n        return els;\n    }\n\n    function restore(els) {\n        els.forEach(function (el) { el.style.contentVisibility = ''; });\n    }\n\n    document.querySelectorAll('.oct-skip-link').forEach(function (link) {\n        link.addEventListener('click', function (e) {\n            var target = document.getElementById('hands-on-practice');\n            if (!target) return;\n            e.preventDefault();\n\n            var reduce = false;\n            if (window.matchMedia) {\n                reduce = window.matchMedia('(prefers-reduced-motion: reduce)').matches;\n            }\n\n            var full = document.querySelector('.oct-setup-tab[data-setup=\"full\"]');\n            if (full) {\n                if (!full.classList.contains('is-active')) full.click();\n            }\n\n            var revealed = reveal();\n            void document.documentElement.offsetHeight; \n\n            target.scrollIntoView({ behavior: reduce ? 'auto' : 'smooth', block: 'start' });\n\n            if (reduce) {\n                restore(revealed);\n            } else {\n                var done = false;\n                function finish() {\n                    if (done) return;\n                    done = true;\n                    clearTimeout(timer);\n                    window.removeEventListener('scrollend', finish);\n                    restore(revealed);\n                }\n                var timer = setTimeout(finish, 1400);\n                window.addEventListener('scrollend', finish);\n            }\n\n            if (window.history) {\n                if (history.replaceState) history.replaceState(null, '', '#hands-on-practice');\n            }\n        });\n    });\n})();\n<\/script>\n\n\n\n<style>\n.oct-slides {\n    width: 100%;\n    box-sizing: border-box;\n    margin: 8px 0;\n}\n\n.oct-slides-bar {\n    position: relative;\n    z-index: 1;\n    display: flex;\n    flex-wrap: wrap;\n    align-items: flex-start;\n    gap: 8px;\n    margin: 0 0 -1px;\n}\n\n.oct-slides-bar .oct-theme-switch { margin-left: auto; }\n.oct-slides-bar .oct-practice { margin-left: 0; }\n.oct-slides .oct-practice.is-off { visibility: hidden; }\n\n.oct-slides-tabs {\n    display: flex;\n    flex-wrap: wrap;\n    gap: 8px;\n}\n\n.oct-slides button.oct-slides-tab {\n    margin: 0;\n    padding: 10px 16px;\n    background: rgba(0, 0, 0, 0.3);\n    border: 1px solid var(--border-highlight);\n    border-radius: 0;\n    color: var(--text-muted);\n    font-family: monospace;\n    font-size: var(--fs-ui);\n    font-weight: 500;\n    line-height: 1;\n    cursor: pointer;\n}\n\n.oct-slides button.oct-slides-tab:hover { color: var(--text); }\n\n.oct-slides button.oct-slides-tab.is-active {\n    background: var(--accent);\n    border-color: var(--accent);\n    color: #fff;\n    cursor: default;\n}\n\n.oct-slides button.oct-slides-tab:focus-visible {\n    outline: 2px solid var(--secondary);\n    outline-offset: 2px;\n}\n\n.oct-slides-stage {\n    position: relative;\n    box-sizing: border-box;\n    padding: 18px;\n\n    --ink: #1f1f1f;\n    --paper: #c8cad0;\n    --grid: rgba(0, 0, 0, 0.04);\n    --text-muted: #3f3f46;\n    --text-subtle: #52525b;\n    --primary: #6d28d9;\n    --primary-light: rgba(109, 40, 217, 0.45);\n    --secondary: #1d4ed8;\n    --secondary-light: #2563eb;\n    --border: rgba(0, 0, 0, 0.14);\n    --border-highlight: rgba(0, 0, 0, 0.24);\n    --box-bg: rgba(0, 0, 0, 0.06);\n    --box-num: #6d28d9;\n    --box-done: #6d28d9;\n    --ghost-line: rgba(29, 78, 216, 0.4);\n    --ghost-hover: rgba(29, 78, 216, 0.1);\n\n    background-color: var(--paper);\n    background-image:\n        linear-gradient(var(--grid) 1px, transparent 1px),\n        linear-gradient(90deg, var(--grid) 1px, transparent 1px);\n    background-size: 20px 20px;\n    border: 1px solid var(--border);\n    color: var(--ink);\n}\n\n[data-oct-theme=\"dark\"] .oct-slides-stage {\n    --ink: #fff;\n    --paper: var(--bg-card);\n    --grid: rgba(255, 255, 255, 0.015);\n    --text-muted: rgba(255, 255, 255, 0.7);\n    --text-subtle: rgba(255, 255, 255, 0.4);\n    --primary: #8B5CF6;\n    --primary-light: rgba(139, 92, 246, 0.5);\n    --secondary: #49B3FF;\n    --secondary-light: #63D2FF;\n    --border: rgba(255, 255, 255, 0.1);\n    --border-highlight: rgba(255, 255, 255, 0.2);\n    --box-bg: rgba(0, 0, 0, 0.3);\n    --box-num: var(--secondary);\n    --box-done: var(--accent);\n    --ghost-line: rgba(73, 179, 255, 0.5);\n    --ghost-hover: rgba(73, 179, 255, 0.12);\n}\n\n.oct-slide {\n    display: grid;\n    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);\n    gap: 12px 16px;\n    align-items: start;\n}\n\n.oct-slide.oct-slide-how {\n    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);\n    align-items: stretch;\n}\n\n.oct-slide.is-hidden { display: none; }\n\n.oct-slide-title {\n    margin: 0 0 10px;\n    color: var(--ink);\n    font-size: var(--fs-h3);\n    font-weight: 600;\n    line-height: 1.3;\n}\n\n.oct-slides p,\n.oct-slides li {\n    margin: 0;\n    color: var(--text-muted);\n    font-size: var(--fs-small);\n    line-height: var(--lh-body);\n}\n\n.oct-slides p + p,\n.oct-slides ul + p { margin-top: 10px; }\n.oct-slides ul { margin: 8px 0 0; padding: 0 0 0 1.15em; }\n.oct-slides ul li::marker { color: var(--primary); }\n.oct-slides li + li { margin-top: 4px; }\n.oct-text-arrow { color: var(--primary); font-weight: 700; }\n\n.oct-panels {\n    display: grid;\n    grid-template-columns: repeat(4, minmax(0, 1fr));\n    grid-auto-rows: minmax(0, 1fr);\n    min-height: 260px;\n    gap: 14px;\n}\n\n.oct-panel {\n    position: relative;\n    margin: 0;\n    min-width: 0;\n    background: #0a0a0e;\n    border: 1px solid var(--border);\n}\n\n.oct-panel img {\n    position: absolute;\n    inset: 0;\n    display: block;\n    width: 100%;\n    height: 100%;\n    object-fit: cover;\n}\n\n.oct-panel figcaption {\n    position: absolute;\n    left: 0;\n    right: 0;\n    top: 0;\n    padding: 10px;\n    background: rgba(18, 18, 24, 0.8);\n}\n\n.oct-panel-tag {\n    display: block;\n    color: #a78bfa;\n    font-family: monospace;\n    font-size: var(--fs-label);\n    font-weight: 700;\n    letter-spacing: 0.8px;\n    line-height: 1.3;\n    text-transform: uppercase;\n}\n\n.oct-panel-tag span { color: rgba(255, 255, 255, 0.4); margin-right: 6px; }\n\n.oct-panel:not(:last-child)::after {\n    content: \"\u2192\";\n    position: absolute;\n    right: -14px;\n    top: 50%;\n    width: 14px;\n    margin-top: -8px;\n    color: rgba(255, 255, 255, 0.4);\n    font-family: monospace;\n    font-size: 16px;\n    line-height: 1;\n    text-align: center;\n}\n\n.oct-steps {\n    margin: 0;\n    padding: 0;\n    list-style: none;\n    counter-reset: oct-step;\n}\n\n.oct-steps li { counter-increment: oct-step; }\n.oct-slides .oct-steps li + li { margin-top: 6px; }\n\n.oct-step {\n    position: relative;\n    display: block;\n    padding-left: 34px;\n    cursor: pointer;\n}\n\n.oct-check {\n    position: absolute;\n    width: 1px;\n    height: 1px;\n    margin: 0;\n    opacity: 0;\n}\n\n.oct-box {\n    position: absolute;\n    left: 0;\n    top: 0;\n    box-sizing: border-box;\n    width: 26px;\n    height: calc(var(--fs-small) * var(--lh-body));\n    display: flex;\n    align-items: center;\n    justify-content: center;\n    background: var(--box-bg);\n    border: 1px solid var(--border-highlight);\n}\n\n.oct-box::before {\n    content: counter(oct-step, decimal-leading-zero);\n    color: var(--box-num);\n    font-family: monospace;\n    font-size: var(--fs-label);\n    line-height: 1;\n}\n\n.oct-check:focus-visible + .oct-box {\n    outline: 2px solid var(--secondary);\n    outline-offset: 2px;\n}\n\n.oct-check:checked + .oct-box {\n    background: var(--box-done);\n    border-color: var(--box-done);\n}\n\n.oct-check:checked + .oct-box::before {\n    content: \"\u2713\";\n    color: #fff;\n    font-size: var(--fs-ui);\n    font-weight: 700;\n}\n\n.oct-step-text .oct-tag-mono { margin-left: 2px; }\n\n.oct-check:checked ~ .oct-step-text {\n    color: var(--text-subtle);\n    text-decoration: line-through;\n}\n\n.oct-slides-actions {\n    display: flex;\n    flex-wrap: wrap;\n    align-items: center;\n    gap: 8px;\n    margin-top: 14px;\n}\n\n.oct-slides-actions .oct-hand-icon {\n    display: block;\n    flex: 0 0 auto;\n    width: 40px;\n    height: 40px;\n    object-fit: contain;\n}\n\n.oct-slides-stage a.oct-btn.is-ghost {\n    color: var(--secondary);\n    border-color: var(--ghost-line);\n}\n\n.oct-slides-stage a.oct-btn.is-ghost:hover {\n    background: var(--ghost-hover);\n    border-color: var(--secondary);\n}\n\n.oct-slide-media {\n    position: relative;\n    margin: 0;\n    background: #0a0a0e;\n    border: 1px solid var(--border);\n}\n\n.oct-slide-media figcaption {\n    padding: 8px 12px;\n    border-top: 1px solid var(--border);\n    color: var(--text-subtle);\n    font-family: monospace;\n    font-size: var(--fs-label);\n    letter-spacing: 0.4px;\n    line-height: 1.4;\n    text-transform: uppercase;\n}\n\n.oct-slide-media-frame {\n    position: relative;\n    aspect-ratio: 16 \/ 9;\n}\n\n.oct-slide-media-frame iframe,\n.oct-slide-media-frame .oct-yt {\n    position: absolute;\n    inset: 0;\n    width: 100%;\n    height: 100%;\n    border: none;\n}\n\n@media (max-width: 960px) {\n    .oct-panels { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; min-height: 380px; }\n    .oct-panel:not(:last-child)::after { display: none; }\n}\n\n@media (max-width: 720px) {\n    .oct-slide,\n    .oct-slide.oct-slide-how { grid-template-columns: 1fr; gap: 10px; }\n    .oct-panels { grid-auto-rows: auto; min-height: 0; }\n    .oct-panel { aspect-ratio: 3 \/ 4; }\n\n    .oct-slides-tabs { flex: 1 1 100%; flex-wrap: nowrap; order: 2; }\n    .oct-slides-bar .oct-theme-switch { order: 0; }\n    .oct-slides-bar .oct-practice { order: 1; }\n    .oct-slides button.oct-slides-tab { flex: 1 1 0; padding: 9px 4px; }\n    .oct-slides-actions .oct-btn { flex: 1 1 auto; }\n}\n\n.oct-slides-stage,\n.oct-panel,\n.oct-slide-media,\n.oct-slide-media-frame {\n    contain: paint;\n}\n<\/style>\n\n<div class=\"oct-slides\">\n    <div class=\"oct-slides-bar\">\n        <div class=\"oct-slides-tabs\" role=\"tablist\" aria-label=\"Guide slides\">\n            <button type=\"button\" class=\"oct-slides-tab\" role=\"tab\" aria-selected=\"false\">How it works<\/button>\n            <button type=\"button\" class=\"oct-slides-tab\" role=\"tab\" aria-selected=\"false\">Examples<\/button>\n            <button type=\"button\" class=\"oct-slides-tab is-active\" role=\"tab\" aria-selected=\"true\">Quick setup<\/button>\n        <\/div>\n        <div class=\"oct-theme-switch\" role=\"tablist\" aria-label=\"Theme\">\n            <button type=\"button\" class=\"oct-theme-tab is-active\" role=\"tab\" aria-selected=\"true\" data-theme=\"light\" aria-label=\"Light theme\"><\/button>\n            <button type=\"button\" class=\"oct-theme-tab\" role=\"tab\" aria-selected=\"false\" data-theme=\"dark\" aria-label=\"Dark theme\"><\/button>\n        <\/div>\n        <span class=\"oct-practice\">Practice<\/span>\n    <\/div>\n\n    <div class=\"oct-slides-stage\">\n    <article class=\"oct-slide oct-slide-how is-hidden\">\n        <div>\n            <h2 class=\"oct-slide-title\">How It Works and Where It Plays<\/h2>\n            <p>The effect's animation is written mathematically in a shader <span class=\"oct-text-arrow\">\u2192<\/span> the shader is turned into a material <span class=\"oct-text-arrow\">\u2192<\/span> the material is placed into a prefab with a player component.<\/p>\n            <p>When the prefab spawns in the scene, the effect animates on a transparent quad. It can be:<\/p>\n            <ul>\n                <li>A mark on the UI, from a tap or a game event.<\/li>\n                <li>A hit in the world, one spawned particle.<\/li>\n                <li>A finger trail on the UI (full version only).<\/li>\n            <\/ul>\n        <\/div>\n        <div class=\"oct-panels\">\n            <figure class=\"oct-panel\">\n                <img data-recalc-dims=\"1\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/www.octantastudio.com\/wp-content\/buildadd\/UnityVFXShaders_Shader.webp?ssl=1\" alt=\"Shader code of the effect\" loading=\"lazy\">\n                <figcaption><span class=\"oct-panel-tag\"><span>01<\/span>Shader<\/span><\/figcaption>\n            <\/figure>\n            <figure class=\"oct-panel\">\n                <img data-recalc-dims=\"1\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/www.octantastudio.com\/wp-content\/buildadd\/UnityVFXShaders_Material.webp?ssl=1\" alt=\"Material created from the shader\" loading=\"lazy\">\n                <figcaption><span class=\"oct-panel-tag\"><span>02<\/span>Material<\/span><\/figcaption>\n            <\/figure>\n            <figure class=\"oct-panel\">\n                <img data-recalc-dims=\"1\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/www.octantastudio.com\/wp-content\/buildadd\/UnityVFXShaders_PlayerPrefab.webp?ssl=1\" alt=\"Prefab with a player component\" loading=\"lazy\">\n                <figcaption><span class=\"oct-panel-tag\"><span>03<\/span>Prefab + Player<\/span><\/figcaption>\n            <\/figure>\n            <figure class=\"oct-panel\">\n                <img data-recalc-dims=\"1\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/www.octantastudio.com\/wp-content\/buildadd\/UnityVFXShaders_Effect.webp?ssl=1\" alt=\"The finished effect playing in the scene\" loading=\"lazy\">\n                <figcaption><span class=\"oct-panel-tag\"><span>04<\/span>Effect<\/span><\/figcaption>\n            <\/figure>\n        <\/div>\n    <\/article>\n\n    <article class=\"oct-slide is-hidden\">\n        <div>\n            <h2 class=\"oct-slide-title\">Examples of What You Can Create<\/h2>\n            <ul>\n                <li>Auras, mana, glows.<\/li>\n                <li>Frames, overlays.<\/li>\n                <li>Ground, walls, patterns.<\/li>\n                <li>Impacts.<\/li>\n                <li>Healing, buff, hit effects, and more.<\/li>\n            <\/ul>\n            <p>When you get the free Unity tool, run the Demo Scene to preview generated effects in world space and on the UI. Adjust &amp; instantiate them in the required contexts to enrich your project with VFX.<\/p>\n        <\/div>\n        <figure class=\"oct-slide-media oct-corners\">\n    <div class=\"oct-slide-media-frame\">\n        <iframe data-src=\"https:\/\/www.octantastudio.com\/wp-content\/buildadd\/WebGLShaders\/index.html\" title=\"WebGL demo of the shader effects\" scrolling=\"no\" allowfullscreen=\"\"><\/iframe>\n    <\/div>\n    <figcaption>Built-In RP build<\/figcaption>\n<\/figure>\n    <\/article>\n\n    <article class=\"oct-slide\" data-practice=\"\">\n        <div>\n            <ol class=\"oct-steps\">\n                <li><label class=\"oct-step\"><input type=\"checkbox\" class=\"oct-check\"><span class=\"oct-box\"><\/span><span class=\"oct-step-text\">Open your Unity project.<\/span><\/label><\/li>\n                <li><label class=\"oct-step\"><input type=\"checkbox\" class=\"oct-check\"><span class=\"oct-box\"><\/span><span class=\"oct-step-text\">Import the Procedural VFX Mini asset <span class=\"oct-tag-mono\">.unitypackage<\/span><\/span><\/label><\/li>\n                <li><label class=\"oct-step\"><input type=\"checkbox\" class=\"oct-check\"><span class=\"oct-box\"><\/span><span class=\"oct-step-text\">Open the Demo Scene, press Play, and see how the included sample prefabs work.<\/span><\/label><\/li>\n                <li><label class=\"oct-step\"><input type=\"checkbox\" class=\"oct-check\"><span class=\"oct-box\"><\/span><span class=\"oct-step-text\">Download the prompt <span class=\"oct-tag-mono\">.md<\/span> and send it to any AI assistant. Describe the effect you want to create.<\/span><\/label><\/li>\n                <li><label class=\"oct-step\"><input type=\"checkbox\" class=\"oct-check\"><span class=\"oct-box\"><\/span><span class=\"oct-step-text\">Download the resulting shader and put it in any folder of your project. Create a material from it and adjust the effect.<\/span><\/label><\/li>\n                <li><label class=\"oct-step\"><input type=\"checkbox\" class=\"oct-check\"><span class=\"oct-box\"><\/span><span class=\"oct-step-text\">Find the template for the effect, for example World_VFXEffect (or World_URP_VFXEffect for URP; click the material Fix button when needed). Duplicate it and rename it, drag the new material into the Glow Material field.<\/span><\/label><\/li>\n                <li><label class=\"oct-step\"><input type=\"checkbox\" class=\"oct-check\"><span class=\"oct-box\"><\/span><span class=\"oct-step-text\">Enter Play Mode and add the prefab to the scene to test and tune the effect for further use.<\/span><\/label><\/li>\n            <\/ol>\n            <div class=\"oct-slides-actions\">\n                <img data-recalc-dims=\"1\" decoding=\"async\" class=\"oct-hand-icon\" src=\"https:\/\/i0.wp.com\/www.octantastudio.com\/wp-content\/buildadd\/CapturingHand.webp?ssl=1\" alt=\"\" aria-hidden=\"true\" loading=\"lazy\">\n                <a class=\"oct-btn is-ghost\" href=\"https:\/\/github.com\/octantast\/octantastudio_as_publisher\/raw\/refs\/heads\/main\/TouchEffectSystem_examples\/particle-shader-prompt.md\" target=\"_blank\" rel=\"noopener noreferrer\">Download prompt \u2193<\/a>\n                <a class=\"oct-btn\" href=\"https:\/\/u3d.as\/4eGs\" target=\"_blank\" rel=\"noopener noreferrer\">Get the free asset \u2192<\/a>\n            <\/div>\n        <\/div>\n        <figure class=\"oct-slide-media oct-corners\">\n            <div class=\"oct-slide-media-frame\">\n                <div class=\"oct-yt\" data-yt-id=\"xxw3KeJ7LDE\" data-yt-title=\"Quick setup walkthrough\">\n                    <a class=\"oct-yt-cover\" href=\"https:\/\/www.youtube.com\/watch?v=xxw3KeJ7LDE\" target=\"_blank\" rel=\"noopener noreferrer\" aria-label=\"Watch the video: Quick setup walkthrough\">\n                        <img alt=\"\">\n                        <span class=\"oct-yt-play\" aria-hidden=\"true\">\n                            <svg viewBox=\"0 0 24 24\" fill=\"currentColor\"><path d=\"M8 5v14l11-7z\"><\/path><\/svg>\n                        <\/span>\n                    <\/a>\n                <\/div>\n            <\/div>\n        <\/figure>\n    <\/article>\n    <\/div>\n<\/div>\n\n<script>\n(function () {\n    \/\/ theme switcher: sets data-oct-theme on the root element, so any practice block can react via CSS\n    var THEME_KEY = 'octHandsTheme';\n    var rootEl = document.documentElement;\n    var themeButtons = document.querySelectorAll('.oct-theme-tab');\n\n    function applyTheme(theme) {\n        if (theme === 'dark') {\n            rootEl.setAttribute('data-oct-theme', 'dark');\n        } else {\n            rootEl.removeAttribute('data-oct-theme');\n        }\n        themeButtons.forEach(function (b) {\n            var active = b.getAttribute('data-theme') === theme;\n            b.classList.toggle('is-active', active);\n            b.setAttribute('aria-selected', active);\n        });\n        try { localStorage.setItem(THEME_KEY, theme); } catch (e) {}\n    }\n\n    var savedTheme = 'light';\n    try {\n        var stored = localStorage.getItem(THEME_KEY);\n        if (stored === 'dark' || stored === 'light') savedTheme = stored;\n    } catch (e) {}\n    applyTheme(savedTheme);\n\n    document.addEventListener('click', function (e) {\n        var themeBtn = e.target.closest('.oct-theme-tab');\n        if (themeBtn) {\n            applyTheme(themeBtn.getAttribute('data-theme'));\n            return;\n        }\n    });\n\n    \/\/ slides: tab switching and lazy iframe loading\n    document.querySelectorAll('.oct-slides').forEach(function (root) {\n        var tabs = root.querySelectorAll('.oct-slides-tab');\n        var slides = root.querySelectorAll('.oct-slide');\n        var badge = root.querySelector('.oct-practice');\n\n        function show(i) {\n            tabs.forEach(function (tab, n) {\n                tab.classList.toggle('is-active', n === i);\n                tab.setAttribute('aria-selected', n === i);\n                slides[n].classList.toggle('is-hidden', n !== i);\n            });\n            var lazy = slides[i].querySelector('iframe[data-src]');\n            if (lazy) {\n                lazy.src = lazy.getAttribute('data-src');\n                lazy.removeAttribute('data-src');\n            }\n            if (badge) badge.classList.toggle('is-off', !slides[i].hasAttribute('data-practice'));\n        }\n\n        tabs.forEach(function (tab, i) {\n            tab.addEventListener('click', function () { show(i); });\n            tab.addEventListener('keydown', function (e) {\n    var step = 0;\n    if (e.key === 'ArrowRight') step = 1;\n    if (e.key === 'ArrowLeft') step = -1;\n    if (!step) return;\n    e.preventDefault();\n    var next = (i + step + tabs.length) % tabs.length;\n    tabs[next].focus();\n    show(next);\n});\n        });\n    });\n\n    \/\/ YouTube: the cover takes the sharpest available thumbnail, the iframe is created on click\n    document.querySelectorAll('.oct-yt[data-yt-id]').forEach(function (box) {\n        var id = box.getAttribute('data-yt-id');\n        var cover = box.querySelector('.oct-yt-cover');\n        var img = cover.querySelector('img');\n        \/\/ request a size close to the display width; maxresdefault is 2-3x oversampled for this card\nvar sizes = ['sddefault', 'hqdefault', 'mqdefault'];\n\n        function tryNext(i) {\n            if (i >= sizes.length) {\n                img.src = 'https:\/\/i.ytimg.com\/vi\/' + id + '\/hqdefault.jpg';\n                return;\n            }\n            var probe = new Image();\n            probe.onload = function () {\n                if (probe.naturalWidth >= 300) {\n                    img.src = probe.src;\n                } else {\n                    tryNext(i + 1);\n                }\n            };\n            probe.onerror = function () { tryNext(i + 1); };\n            probe.src = 'https:\/\/i.ytimg.com\/vi\/' + id + '\/' + sizes[i] + '.jpg';\n        }\n        tryNext(0);\n\n        cover.addEventListener('click', function (e) {\n            e.preventDefault();\n            var frame = document.createElement('iframe');\n            frame.src = 'https:\/\/www.youtube.com\/embed\/' + id + '?rel=0&autoplay=1';\n            frame.title = box.getAttribute('data-yt-title') || '';\n            frame.allow = 'autoplay; encrypted-media; picture-in-picture';\n            frame.allowFullscreen = true;\n            cover.hidden = true;\n            box.appendChild(frame);\n        });\n    });\n})();\n<\/script>\n\n\n\n<style>\n\/* overview: layout only, colors and sizes come from the shared :root *\/\n.oct-duo {\n    display: grid;\n    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);\n    gap: 16px 32px;\n    align-items: start;\n    width: 100%;\n    box-sizing: border-box;\n    margin: 12px 0;\n}\n\n.oct-duo-main,\n.oct-duo-side {\n    min-width: 0;\n    display: flex;\n    flex-direction: column;\n    gap: 24px;\n}\n\n.oct-contents ol li,\n.oct-contents ol a.oct-ref {\n    font-size: var(--fs-small);\n}\n\n.oct-duo-side { align-self: stretch; padding-left: 24px; }\n\n.oct-duo-heading {\n    margin: 0 0 16px;\n    color: #fff;\n    font-size: var(--fs-h2);\n    font-weight: 600;\n    line-height: 1.2;\n}\n\n.oct-duo-heading::after {\n    content: \"\";\n    display: block;\n    width: 60px;\n    height: 3px;\n    margin-top: 8px;\n    background: var(--primary-light);\n}\n\n.oct-duo p,\n.oct-duo li {\n    margin: 0;\n    color: var(--text-muted);\n    font-size: var(--fs-body);\n    line-height: var(--lh-body);\n}\n\n.oct-duo strong { color: #fff; font-weight: 600; }\n\n\/* ---------- Who This Guide Is For ---------- *\/\n.oct-who,\n.oct-values { scroll-margin-top: 16px; }\n\n.oct-duo-list {\n    margin: 8px 0 0;\n    padding: 0 0 0 1.15em;\n    list-style: disc;\n}\n\n.oct-duo-list li::marker { color: var(--primary); }\n.oct-duo-list li + li { margin-top: 6px; }\n.oct-duo p.oct-duo-note { margin-top: 12px; }\n\n\/* ---------- Contents: one fold style ---------- *\/\n.oct-contents { width: fit-content; max-width: 100%; }\n\n.oct-contents summary {\n    display: inline-flex;\n    align-items: center;\n    gap: 8px;\n    padding: 4px 0;\n    color: var(--secondary);\n    font-size: var(--fs-body);\n    font-weight: 600;\n    line-height: 1.25;\n    cursor: pointer;\n    list-style: none;\n}\n\n.oct-contents summary::-webkit-details-marker { display: none; }\n\n.oct-contents summary::before {\n    content: \"\\25B8\";\n    font-family: monospace;\n    font-weight: 700;\n}\n\n.oct-contents[open] > summary::before { content: \"\\25BE\"; }\n\n.oct-contents summary:hover { color: var(--secondary-light); }\n.oct-contents summary:focus-visible { outline: 2px solid var(--secondary); outline-offset: 2px; }\n\n.oct-contents ol,\n.oct-values ul {\n    margin: 6px 0 0 4px;\n    padding: 2px 0 2px 14px;\n    list-style: none;\n    border-left: 1px solid var(--border-highlight);\n}\n\n.oct-contents ol { font-size: var(--fs-small); }\n\n.oct-contents li { padding: 3px 0; }\n.oct-contents a.oct-ref { font-weight: 500; }\n\n\/* ---------- Studio Values: inline toggle ---------- *\/\nbutton.oct-values-toggle {\n    display: inline;\n    margin: 0;\n    padding: 0;\n    background: none;\n    border: 0;\n    color: var(--secondary);\n    font: inherit;\n    font-weight: 600;\n    cursor: pointer;\n    white-space: nowrap;\n}\n\nbutton.oct-values-toggle:hover { color: var(--secondary-light); }\nbutton.oct-values-toggle:focus-visible { outline: 2px solid var(--secondary); outline-offset: 2px; }\n\n.oct-values-arrow {\n    display: inline-block;\n    font-family: monospace;\n    transition: transform 0.15s ease;\n}\n\nbutton.oct-values-toggle[aria-expanded=\"true\"] .oct-values-arrow {\n    transform: rotate(90deg);\n}\n\n.oct-values-list[hidden] { display: none; }\n.oct-values li + li { margin-top: 10px; }\n\n\/* the left column is narrow here: the tag goes above the text *\/\n@media (min-width: 861px) and (max-width: 1280px) {\n    .oct-duo .oct-page { grid-template-columns: minmax(0, 1fr); row-gap: 4px; }\n    .oct-duo .oct-page-tag { padding-right: 0; border-right: 0; line-height: 1.4; }\n}\n\n@media (max-width: 860px) {\n    .oct-duo { grid-template-columns: minmax(0, 1fr); }\n    .oct-duo-side { align-self: auto; padding-left: 0; }\n}\n<\/style>\n\n<div class=\"oct-duo\">\n    <div class=\"oct-duo-main\">\n\n        <section class=\"oct-know\" aria-label=\"What You'll Find Here\">\n            <h2 class=\"oct-duo-heading\">What You'll Find Here<\/h2>\n\n            <div class=\"oct-pager oct-sheet\">\n                <div class=\"oct-pager-stage\">\n                    <article class=\"oct-pager-page oct-page\" data-title=\"Approach\">\n                        <span class=\"oct-page-tag\">Approach<\/span>\n                        <p class=\"oct-page-text\">In this guide, we share our studio's approach to creating visual effects in Unity projects. It mostly comes down to Unity shaders combined with AI generation based on hand-made references.<\/p>\n                    <\/article>\n                    <article class=\"oct-pager-page oct-page is-current\" data-title=\"Inside\">\n                        <span class=\"oct-page-tag\">Inside<\/span>\n                        <p class=\"oct-page-text\">The guide includes ready-to-use Unity VFX Shader Techniques, a prompt, and links to free &amp; extended resources, so you can try everything yourself.<\/p>\n                    <\/article>\n                    <article class=\"oct-pager-page oct-page\" data-title=\"Why we share\">\n                        <span class=\"oct-page-tag\">Why we share<\/span>\n                        <p class=\"oct-page-text\">These approaches took us <strong>4+ years<\/strong> of practice to develop, and we want to share them to free up more of other indie developers' time for creative work instead of routine.<\/p>\n                    <\/article>\n                    <article class=\"oct-pager-page oct-page\" data-title=\"Practice\">\n                        <span class=\"oct-page-tag\">Practice<\/span>\n                        <p class=\"oct-page-text\">Learn the shader and the material, learn the sample prefabs, learn how to spawn them. Practice on the <a class=\"oct-ref\" href=\"https:\/\/u3d.as\/4eGs\" target=\"_blank\" rel=\"noopener noreferrer\">free asset<\/a>.<\/p>\n                    <\/article>\n                    <article class=\"oct-pager-page oct-page\" data-title=\"Full version\">\n                        <span class=\"oct-page-tag\">Full version<\/span>\n                        <p class=\"oct-page-text\">Buy the full <a class=\"oct-ref\" href=\"https:\/\/u3d.as\/3C7x\" target=\"_blank\" rel=\"noopener noreferrer\">Procedural VFX Toolkit<\/a> when you want <strong>50+ ready-made effects<\/strong> as examples, trails &amp; touch effects, the wizard, the AI-agent skills and much more.<\/p>\n                    <\/article>\n                <\/div>\n                <div class=\"oct-pager-foot\">\n                    <div class=\"oct-pager-gems\" role=\"tablist\" aria-label=\"Choose a page\"><\/div>\n                <\/div>\n            <\/div>\n        <\/section>\n\n        <details class=\"oct-contents\" open=\"\">\n            <summary>Contents<\/summary>\n            <ol>\n                <li><a class=\"oct-ref\" href=\"#studio-values\">Studio Values<\/a><\/li>\n                <li><a class=\"oct-ref\" href=\"#who-this-guide-is-for\">Who This Guide Is For<\/a><\/li>\n                <li><a class=\"oct-ref\" href=\"#what-we-mean-by-vfx\">What We Mean by VFX and Why It Matters<\/a><\/li>\n                <li><a class=\"oct-ref\" href=\"#our-approach\">Our Approach and How We Got There<\/a><\/li>\n                <li><a class=\"oct-ref\" href=\"#shader-advantages\">Advantages of the Shader Approach<\/a><\/li>\n                <li><a class=\"oct-ref\" href=\"#hands-on-practice\">Hands-On Practice<\/a><\/li>\n                <li><a class=\"oct-ref\" href=\"#what-you-gain\">What You Gain<\/a><\/li>\n                <li><a class=\"oct-ref\" href=\"#extended-guide\">Extended Guide<\/a><\/li>\n                <li><a class=\"oct-ref\" href=\"#free-vs-full\">Free vs Full Version<\/a><\/li>\n                <li><a class=\"oct-ref\" href=\"#useful-resources\">Useful Resources<\/a><\/li>\n            <\/ol>\n        <\/details>\n\n    <\/div>\n\n    <div class=\"oct-duo-side\">\n        <section class=\"oct-values\" id=\"studio-values\">\n            <h2 class=\"oct-duo-heading\">Studio Values<\/h2>\n            <p>We're indie developers ourselves, and choose to strengthen the creative community, not by competing with AI, but by using it to amplify personal expertise. We value handmade work (most of our games' art is hand-drawn). <button type=\"button\" class=\"oct-values-toggle\" aria-expanded=\"false\" aria-controls=\"studio-values-list\">What guides us <span class=\"oct-values-arrow\" aria-hidden=\"true\">\u25b8<\/span><\/button><\/p>\n            <ul class=\"oct-values-list\" id=\"studio-values-list\" hidden=\"\">\n                <li><strong>Knowing the fundamentals.<\/strong> Shaders are generated from reference samples we developed ourselves, not taken from the internet. The extended guide also includes a section for readers who want to understand a shader's structure better.<\/li>\n                <li><strong>Competing with pure vibe coders and large corporations.<\/strong> It reminds us of waste sorting: while individuals make an effort one piece at a time for the sake of the environment, big corporations cause far greater harmful emissions. In this situation, we'd rather build tools for using AI as well and as sustainably as possible than give up its advantages altogether.<\/li>\n                <li><strong>Investments.<\/strong> Looking at a market oversaturated with AI technologies, we ask ourselves too: what should we invest in as an indie studio, which skills should we build, what should we learn as Unity devs, and which assets should we add for practice so we don't fall behind? This page is for those asking the same questions, and it's where we share a professional find.<\/li>\n            <\/ul>\n        <\/section>\n\n        <section class=\"oct-who\" id=\"who-this-guide-is-for\">\n            <h2 class=\"oct-duo-heading\">Who This Guide Is For<\/h2>\n            <p>This VFX creation guide is intended for experienced Unity developers who already have their own Unity projects. <strong>It's a good fit for you as:<\/strong><\/p>\n            <ul class=\"oct-duo-list\">\n                <li>a Unity developer who needs effects but doesn't want to assemble them from dozens of third-party assets;<\/li>\n                <li>an indie developer who can't afford a dedicated VFX artist;<\/li>\n                <li>a mobile game developer who needs lightweight effects without a heavy particle system;<\/li>\n                <li>a programmer who knows Unity but can't draw or animate custom effects;<\/li>\n                <li>a small studio that needs a repeatable technique, not yet another set of pretty ready-made visuals.<\/li>\n            <\/ul>\n            <p class=\"oct-duo-note\"><strong>Not required:<\/strong> drawing or programming skills, apart from some prototyping.<\/p>\n        <\/section>\n    <\/div>\n<\/div>\n\n<script>\n(function () {\n    \/\/ Studio Values: inline \"What guides us\" toggle with a small triangle marker\n    document.querySelectorAll('.oct-values-toggle').forEach(function (btn) {\n        var listId = btn.getAttribute('aria-controls');\n        var list = listId ? document.getElementById(listId) : null;\n        if (!list) {\n            var block = btn.closest('.oct-values');\n            if (block) list = block.querySelector('.oct-values-list');\n        }\n        if (!list) return;\n\n        btn.addEventListener('click', function () {\n            var expanded = btn.getAttribute('aria-expanded') === 'true';\n            btn.setAttribute('aria-expanded', expanded ? 'false' : 'true');\n            list.hidden = expanded;\n        });\n    });\n})();\n<\/script>\n\n\n\n<style>\n\/* mean: layout only, colors and sizes come from the shared :root *\/\n.oct-mean {\n    width: 100%;\n    box-sizing: border-box;\n    margin: 12px 0;\n    scroll-margin-top: 16px;\n}\n\n.oct-mean h2 {\n    grid-column: 1 \/ -1;\n    margin: 0;\n    color: #fff;\n    font-size: var(--fs-h2);\n    font-weight: 600;\n    line-height: 1.2;\n}\n\n.oct-mean h2::after {\n    content: \"\";\n    display: block;\n    width: 60px;\n    height: 3px;\n    margin-top: 8px;\n    background: var(--primary-light);\n}\n\n.oct-mean-grid {\n    display: grid;\n    grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.2fr);\n    gap: 16px 24px;\n    align-items: start;\n}\n\n.oct-mean p,\n.oct-mean li {\n    margin: 0;\n    color: var(--text-muted);\n    font-size: var(--fs-body);\n    line-height: var(--lh-body);\n}\n\n.oct-mean strong { color: #fff; font-weight: 600; }\n\n.oct-mean p + p,\n.oct-mean ul + p { margin-top: 10px; }\n\n.oct-mean ul {\n    margin: 8px 0 0;\n    padding: 0 0 0 1.15em;\n}\n\n.oct-mean li::marker { color: var(--primary); }\n.oct-mean li + li { margin-top: 6px; }\n\n\/* before\/after slider: both images stacked; the top one is clipped from the right *\/\n.oct-cmp {\n    --oct-cmp: 50%;\n    position: relative;\n    background: #0a0a0e;\n    border: 1px solid var(--border);\n    overflow: hidden;\n    contain: layout paint;\n    isolation: isolate;\n}\n\n.oct-cmp-base img {\n    display: block;\n    width: 100%;\n    height: auto;\n}\n\n.oct-cmp-top {\n    position: absolute;\n    inset: 0;\n    clip-path: inset(0 calc(100% - var(--oct-cmp)) 0 0);\n}\n\n.oct-cmp-top img {\n    display: block;\n    width: 100%;\n    height: 100%;\n    object-fit: cover;\n}\n\n\/* divider line at the slider position *\/\n.oct-cmp-line {\n    position: absolute;\n    top: 0;\n    bottom: 0;\n    left: var(--oct-cmp);\n    width: 1px;\n    background: var(--secondary);\n    pointer-events: none;\n}\n\n\/* handle: a diamond with arrows, the same shape as the pager diamonds *\/\n.oct-cmp-handle {\n    position: absolute;\n    z-index: 1;\n    top: 50%;\n    left: var(--oct-cmp);\n    width: 26px;\n    height: 26px;\n    margin: -13px 0 0 -13px;\n    display: flex;\n    align-items: center;\n    justify-content: center;\n    color: #fff;\n    font-family: monospace;\n    font-size: var(--fs-label);\n    letter-spacing: 2px;\n    line-height: 1;\n    pointer-events: none;\n}\n\n.oct-cmp-handle span {\n    position: relative;\n    z-index: 1;\n    margin-right: -2px;\n}\n\n.oct-cmp-handle::before {\n    content: \"\";\n    position: absolute;\n    inset: -4px;\n    box-sizing: border-box;\n    background: rgba(18, 18, 24, 0.85);\n    border: 1px solid var(--secondary);\n    transform: rotate(45deg);\n}\n\n.oct-cmp:hover .oct-cmp-handle::before,\n.oct-cmp:has(input:focus-visible) .oct-cmp-handle::before {\n    border-color: var(--accent);\n}\n\n\/* side labels: quiet mono badges, like the Practice badge *\/\n.oct-cmp-label {\n    position: absolute;\n    z-index: 1;\n    top: 14px;\n    padding: 2px 6px;\n    background: rgba(18, 18, 24, 0.75);\n    border-radius: 3px;\n    color: var(--text-muted);\n    font-family: monospace;\n    font-size: var(--fs-label);\n    font-weight: 500;\n    letter-spacing: 0.8px;\n    line-height: 1.4;\n    text-transform: uppercase;\n    pointer-events: none;\n}\n\n.oct-cmp-label-l { left: 28px; }\n.oct-cmp-label-r { right: 28px; }\n.oct-cmp-label.is-off { opacity: 0; }\n\n\/* hint: disappears after the first interaction *\/\n.oct-cmp-hint {\n    position: absolute;\n    z-index: 1;\n    left: 50%;\n    bottom: 14px;\n    transform: translateX(-50%);\n    padding: 3px 8px;\n    background: rgba(18, 18, 24, 0.75);\n    border-radius: 3px;\n    color: var(--text-muted);\n    font-family: monospace;\n    font-size: var(--fs-label);\n    letter-spacing: 0.8px;\n    line-height: 1.4;\n    text-transform: uppercase;\n    white-space: nowrap;\n    pointer-events: none;\n    transition: opacity 0.3s;\n}\n\n.oct-cmp.is-touched .oct-cmp-hint { opacity: 0; }\n\n.oct-cmp input {\n    position: absolute;\n    inset: 0;\n    z-index: 2;\n    width: 100%;\n    height: 100%;\n    margin: 0;\n    opacity: 0;\n    cursor: ew-resize;\n    touch-action: pan-y;\n}\n\n.oct-cmp:has(input:focus-visible) {\n    outline: 2px solid var(--secondary);\n    outline-offset: -2px;\n}\n\n@media (max-width: 720px) {\n    .oct-mean-grid { grid-template-columns: 1fr; }\n}\n\n@media (max-width: 480px) {\n    .oct-cmp-label-l { left: 24px; }\n    .oct-cmp-label-r { right: 24px; }\n}\n<\/style>\n\n<section class=\"oct-mean\" id=\"what-we-mean-by-vfx\">\n    <div class=\"oct-mean-grid\">\n        <h2>What We Mean by VFX and Why It Matters<\/h2>\n        <div class=\"oct-mean-main\">\n            <div class=\"oct-cmp oct-corners\">\n                <div class=\"oct-cmp-base\">\n                    <img data-recalc-dims=\"1\" src=\"https:\/\/i0.wp.com\/www.octantastudio.com\/wp-content\/buildadd\/VFXComparison_with7.webp?ssl=1\" alt=\"Combat hit with VFX\" loading=\"lazy\" decoding=\"async\">\n                <\/div>\n                <div class=\"oct-cmp-top\">\n                    <img data-recalc-dims=\"1\" src=\"https:\/\/i0.wp.com\/www.octantastudio.com\/wp-content\/buildadd\/VFXComparison_without7.webp?ssl=1\" alt=\"Combat hit without VFX\" loading=\"lazy\" decoding=\"async\">\n                <\/div>\n                <span class=\"oct-cmp-line\"><\/span>\n                <span class=\"oct-cmp-handle\" aria-hidden=\"true\"><span>\u25c2 \u25b8<\/span><\/span>\n                <span class=\"oct-cmp-label oct-cmp-label-l\" aria-hidden=\"true\">Without VFX<\/span>\n                <span class=\"oct-cmp-label oct-cmp-label-r\" aria-hidden=\"true\">With VFX<\/span>\n                <span class=\"oct-cmp-hint\" aria-hidden=\"true\">Drag to compare<\/span>\n                <input type=\"range\" min=\"0\" max=\"100\" value=\"50\" aria-label=\"Compare the hit with and without VFX\">\n            <\/div>\n        <\/div>\n        <div>\n            <p>By VFX, we mean visual effects that respond to the player's actions, as well as temporary effects that guide the player by highlighting areas, characters, and so on (not baked backgrounds or interfaces). Technically, we mean instantiated effect objects placed in 2D\/3D space and on the UI Canvas (not things like screen dimming or camera zooms). As developers, we see a game's VFX not as beauty for beauty's sake, but as a functional part of the game, just as important as gameplay, narrative, SFX, and the rest. The goals of quality VFX are to:<\/p>\n            <ul>\n                <li><strong>Improve readability<\/strong> (for example, outline a skill's area of effect or show the impact of damage).<\/li>\n                <li><strong>Add juice<\/strong>, with effects that blend harmoniously into the rest of the gameplay and respond to the player's actions (for example, a distinctive visual touch response at the moment of a level-up or a purchase).<\/li>\n            <\/ul>\n            <p>Quality visuals make your project stand out and easy to understand.<\/p>\n        <\/div>\n    <\/div>\n<\/section>\n\n<script>\n(function () {\n    document.querySelectorAll('.oct-cmp').forEach(function (cmp) {\n        var input = cmp.querySelector('input');\n        var labelL = cmp.querySelector('.oct-cmp-label-l');\n        var labelR = cmp.querySelector('.oct-cmp-label-r');\n        var frame = 0;\n\n        \/\/ one place that moves the clip, the divider, the handle and the labels\n        function set(v) {\n            cmp.style.setProperty('--oct-cmp', v + '%');\n            labelL.classList.toggle('is-off', v < 22);\n            labelR.classList.toggle('is-off', v > 78);\n        }\n\n        function touched() {\n            cmp.classList.add('is-touched');\n        }\n\n        input.addEventListener('input', function () {\n            touched();\n            if (frame) return;\n            frame = requestAnimationFrame(function () {\n                frame = 0;\n                set(input.value);\n            });\n        });\n\n        ['pointerdown', 'keydown', 'touchstart'].forEach(function (name) {\n            input.addEventListener(name, touched, { passive: true });\n        });\n\n        set(input.value);\n    });\n})();\n<\/script>\n\n\n\n<style>\n\/* our approach: layout only, colors and sizes come from the shared :root *\/\n.oct-way {\n    width: 100%;\n    box-sizing: border-box;\n    margin: 12px 0;\n    scroll-margin-top: 16px;\n}\n\n.oct-way-grid {\n    display: grid;\n    grid-template-columns: minmax(0, 1.35fr) minmax(200px, 0.65fr);\n    gap: 16px 28px;\n    align-items: start;\n}\n\n.oct-way h2 {\n    margin: 0 0 16px;\n    color: #fff;\n    font-size: var(--fs-h2);\n    font-weight: 600;\n    line-height: 1.2;\n}\n\n.oct-way h2::after {\n    content: \"\";\n    display: block;\n    width: 60px;\n    height: 3px;\n    margin-top: 8px;\n    background: var(--primary-light);\n}\n\n.oct-way p,\n.oct-way li {\n    margin: 0;\n    color: var(--text-muted);\n    font-size: var(--fs-body);\n    line-height: var(--lh-body);\n}\n\n.oct-way p + p,\n.oct-way ul + p { margin-top: 10px; }\n.oct-way p.oct-way-note { margin-top: 16px; }\n.oct-way strong { color: #fff; font-weight: 600; }\n.oct-way-arrow { color: var(--primary); font-weight: 700; }\n\n\/* the \"book\": a sheet with two pages; the sheet and the pager come from the common styles *\/\n.oct-book { margin-top: 16px; }\n\n.oct-way ul {\n    margin: 8px 0 0;\n    padding: 0 0 0 1.15em;\n}\n\n.oct-way li::marker { color: var(--primary); }\n.oct-way li + li { margin-top: 6px; }\n\n.oct-way-side { scroll-margin-top: 16px; }\n\n\/* signature paragraph: a small illustration on the left, the text on the right *\/\n.oct-way-sign {\n    display: flex;\n    align-items: flex-start;\n    gap: 14px;\n    margin-top: 16px;\n}\n\n.oct-way-sign-img {\n    display: block;\n    flex: 0 0 auto;\n    width: 48px;\n    height: 48px;\n    object-fit: contain;\n}\n\n.oct-way-sign p.oct-way-note {\n    margin-top: 0;\n    flex: 1 1 auto;\n    min-width: 0;\n}\n\n\/* the text column is narrow here: the tag goes above the text *\/\n@media (min-width: 801px) and (max-width: 1000px) {\n    .oct-book .oct-page { grid-template-columns: minmax(0, 1fr); row-gap: 4px; }\n    .oct-book .oct-page-tag { padding-right: 0; border-right: 0; line-height: 1.4; }\n}\n\n@media (max-width: 800px) {\n    .oct-way-grid { grid-template-columns: 1fr; }\n}\n\n@media (max-width: 480px) {\n    .oct-way-sign { gap: 12px; }\n    .oct-way-sign-img { width: 40px; height: 40px; }\n}\n<\/style>\n\n<section class=\"oct-way\" id=\"our-approach\">\n    <div class=\"oct-way-grid\">\n        <div>\n            <h2>Our Approach and How We Got There<\/h2>\n            <p>In our own practice as indie devs, we looked for ways to cut costs, automate processes, and make visual development easier, along with tricks and creative solutions. We used to build VFX the standard way: particle systems and script-animated particles. That meant processing a large pool of objects in the scene at once, plus project memory taken up by the particles' sprites. Later, we switched to Unity shaders for these tasks.<\/p>\n\n            <div class=\"oct-book oct-sheet oct-pager\">\n                <div class=\"oct-pager-stage\">\n                    <article class=\"oct-pager-page oct-page is-current\" data-title=\"Touch Effect System\">\n                        <span class=\"oct-page-tag\">Touch Effect System<\/span>\n                        <p class=\"oct-page-text\">It all started when we, as Unity asset developers, came across a community member asking how to make a heat trail effect from finger input on a phone. We took on the challenge and spent a long time searching for an approach that was visually harmonious, optimized for mobile, and scalable. That's how our Touch Effect System was born. A shader effect with a spawn-and-fade cycle plays on a transparent UI particle, and a whole sequence of these particles on the Canvas forms the trail: the newest particles light up brightly, while the ones left behind in the chain gradually fade out and get reused. This approach had no noticeable impact on FPS, so we kept going. Once we saw that an effect could be animated inside a single particle, we tried something beyond a simple glow, such as a randomly generated fingerprint-style pattern for a single tap. That worked great on UI too, and it required neither sprites in the project nor any drawing. The shader architecture let us tune the visuals with numeric sliders.<\/p>\n                    <\/article>\n                    <article class=\"oct-pager-page oct-page\" data-title=\"Procedural VFX Toolkit\">\n                        <span class=\"oct-page-tag\">Procedural VFX Toolkit<\/span>\n                        <p class=\"oct-page-text\">With that result for touch effects, we decided to make them possible to generate independently of input, and not only on UI but in world space, so they'd become full-fledged spawnable VFX. Spawning a single particle on UI was an easy task (just detach it from input and call instantiation manually), but spawning the same shader effect in the world required a new structure that accounted for the differences between render pipelines. We needed a transparent material to act as a Canvas on which the shader effect plays, and we pulled it off. The flow works like this: an effect is written in the shader <span class=\"oct-way-arrow\">\u2192<\/span> a material is created from it <span class=\"oct-way-arrow\">\u2192<\/span> the material is assigned to a player component, which animates the effect on a flat quad with a mesh renderer. Position this quad correctly relative to the player's camera, and the effect looks convincingly volumetric, using just one particle and a lightweight shader calculation. Bringing all these capabilities together, we renamed the system Procedural VFX Toolkit.<\/p>\n                    <\/article>\n                <\/div>\n                <div class=\"oct-pager-foot\">\n                    <div class=\"oct-pager-gems\" role=\"tablist\" aria-label=\"Choose a page\"><\/div>\n                <\/div>\n            <\/div>\n\n            <div class=\"oct-way-sign\">\n                <img data-recalc-dims=\"1\" decoding=\"async\" class=\"oct-way-sign-img\" src=\"https:\/\/i0.wp.com\/www.octantastudio.com\/wp-content\/buildadd\/HandFive.webp?ssl=1\" alt=\"\" aria-hidden=\"true\" loading=\"lazy\">\n                <p class=\"oct-way-note\">I (<a class=\"oct-ref\" href=\"https:\/\/www.octantastudio.com\/2024\/08\/30\/dariia-zodcha\/\" target=\"_blank\" rel=\"noopener noreferrer\">Dariia Zodcha<\/a>) also worked as a freelance full-stack developer. Whenever VFX was needed, I was mostly expected to grab free packs and pick effects to fit the project. Our shader-based approach saves search time.<\/p>\n            <\/div>\n        <\/div>\n\n        <section class=\"oct-way-side\" id=\"shader-advantages\">\n            <h2>Advantages of the Shader Approach<\/h2>\n            <ul>\n                <li><strong>Lightweight on disk.<\/strong> No textures needed - only a shader, a material, and a prefab per effect (a fingerprint touch shader weighs ~9.36 KB, its material ~1.35 KB; that's everything the effect needs).<\/li>\n                <li><strong>Optimized, with no noticeable FPS impact.<\/strong> One effect = one particle; the shader runs on the GPU without touching Transform or Canvas components, and mobile is supported with no textures at all.<\/li>\n                <li><strong>Easy customization.<\/strong> No redrawing or animation corrections. Everything is tuned with sliders, so no extra expertise is required.<\/li>\n                <li><strong>Scalability &amp; consistency.<\/strong> Reuse effects or write new ones from the same template. No hunting for packs that match the project's style - create exactly what you need.<\/li>\n                <li><strong>Versatility.<\/strong> One shader works for UI or world space, in URP, HDRP, or Built-In RP.<\/li>\n            <\/ul>\n        <\/section>\n    <\/div>\n<\/section>\n\n\n\n<style>\n.oct-hands {\n    width: 100%;\n    box-sizing: border-box;\n    margin: 12px 0;\n    scroll-margin-top: 16px;\n}\n\n.oct-hands-top {\n    display: flex;\n    align-items: flex-start;\n    gap: 12px;\n    margin: 0 0 14px;\n}\n\n.oct-hands h2 {\n    margin: 0;\n    color: #fff;\n    font-size: var(--fs-h2);\n    font-weight: 600;\n    line-height: 1.2;\n}\n\n.oct-hands h2::after {\n    content: \"\";\n    display: block;\n    width: 60px;\n    height: 3px;\n    margin-top: 8px;\n    background: var(--primary-light);\n}\n\n.oct-hands-tools {\n    display: flex;\n    align-items: center;\n    gap: 12px;\n    margin-left: auto;\n    flex-wrap: wrap;\n    justify-content: flex-end;\n}\n\n.oct-hands strong { color: #fff; font-weight: 600; }\n\n.oct-hands-set {\n    display: grid;\n    grid-template-columns: minmax(200px, 280px) minmax(0, 1fr);\n    align-items: stretch;\n}\n\n.oct-hands-bar {\n    position: relative;\n    z-index: 1;\n    display: flex;\n    flex-direction: column;\n    gap: 6px;\n    margin: 0 -1px 0 0;\n}\n\n.oct-hands button.oct-hands-tab {\n    margin: 0;\n    padding: 10px 16px;\n    background: rgba(0, 0, 0, 0.3);\n    border: 1px solid var(--border-highlight);\n    border-radius: 0;\n    color: var(--text-muted);\n    font-family: monospace;\n    font-size: var(--fs-ui);\n    font-weight: 500;\n    line-height: 1.35;\n    text-align: left;\n    cursor: pointer;\n}\n\n.oct-hands button.oct-hands-tab.is-full {\n    display: flex;\n    align-items: center;\n    justify-content: space-between;\n    gap: 8px;\n}\n\n.oct-hands button.oct-hands-tab.is-full::after {\n    content: \"\";\n    flex: 0 0 auto;\n    width: 5px;\n    height: 5px;\n    background: var(--primary-light);\n    transform: rotate(45deg);\n}\n\n.oct-hands-set.is-lead button.oct-hands-tab { padding: 12px 16px; }\n.oct-hands button.oct-hands-tab:hover { color: var(--text); }\n\n.oct-hands button.oct-hands-tab.is-active {\n    background: var(--accent);\n    border-color: var(--accent);\n    color: #fff;\n    cursor: default;\n}\n\n.oct-hands button.oct-hands-tab:focus-visible {\n    outline: 2px solid var(--secondary);\n    outline-offset: 2px;\n}\n\n.oct-hands-foot {\n    flex: 1 1 auto;\n    min-height: 16px;\n    box-sizing: border-box;\n    border: 1px solid var(--border);\n    background-image:\n        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),\n        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);\n    background-size: 20px 20px;\n}\n\n.oct-hands-stage {\n    position: relative;\n    box-sizing: border-box;\n    padding: 18px;\n\n    --text-muted: #3f3f46;\n    --text-subtle: #52525b;\n    --primary: #6d28d9;\n    --primary-light: rgba(109, 40, 217, 0.45);\n    --secondary: #1d4ed8;\n    --secondary-light: #2563eb;\n    --border: rgba(0, 0, 0, 0.14);\n    --border-highlight: rgba(0, 0, 0, 0.24);\n\n    background-color: #c8cad0;\n    background-image:\n        linear-gradient(rgba(0, 0, 0, 0.04) 1px, transparent 1px),\n        linear-gradient(90deg, rgba(0, 0, 0, 0.04) 1px, transparent 1px);\n    background-size: 20px 20px;\n    border: 1px solid rgba(0, 0, 0, 0.15);\n    color: #1f1f1f;\n}\n\n[data-oct-theme=\"dark\"] .oct-hands-stage {\n    --text-muted: rgba(255, 255, 255, 0.7);\n    --text-subtle: rgba(255, 255, 255, 0.4);\n    --primary: #8B5CF6;\n    --primary-light: rgba(139, 92, 246, 0.5);\n    --secondary: #49B3FF;\n    --secondary-light: #63D2FF;\n    --border: rgba(255, 255, 255, 0.1);\n    --border-highlight: rgba(255, 255, 255, 0.2);\n\n    background-color: var(--bg-card);\n    background-image:\n        linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),\n        linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);\n    border-color: var(--border);\n    color: var(--text);\n}\n\n.oct-hands-set.is-lead .oct-hands-stage {\n    display: flex;\n    flex-direction: column;\n    min-height: 280px;\n    padding: 0;\n}\n\n.oct-hands-set.is-lead .oct-hands-stage > .oct-hands-panel {\n    flex: 1 1 auto;\n    box-sizing: border-box;\n    padding: 28px 24px;\n}\n\n.oct-hands-set.is-lead .oct-hands-stage > .oct-hands-panel.has-bg {\n    padding: 0;\n}\n\n.oct-hands-panel.is-hidden { display: none; }\n\n.oct-hands-panel h3 {\n    margin: 0;\n    color: #1f1f1f;\n    font-size: var(--fs-h3);\n    font-weight: 600;\n    line-height: 1.3;\n}\n\n.oct-hands-panel h3::after {\n    content: \"\";\n    display: block;\n    width: 40px;\n    height: 2px;\n    margin-top: 8px;\n    background: var(--primary-light);\n}\n\n.oct-hands-panel p {\n    margin: 12px 0 0;\n    color: var(--text-muted);\n    font-size: var(--fs-small);\n    line-height: var(--lh-body);\n}\n\n.oct-hands-panel > p:first-child { margin-top: 0; }\n\n.oct-setup-switch {\n    display: flex;\n    flex-wrap: wrap;\n    gap: 6px;\n    margin: 0;\n}\n\nbutton.oct-setup-tab {\n    margin: 0;\n    padding: 7px 14px;\n    background: rgba(0, 0, 0, 0.3);\n    border: 1px solid var(--border-highlight);\n    border-radius: 0;\n    color: var(--text-muted);\n    font-family: monospace;\n    font-size: var(--fs-ui);\n    font-weight: 500;\n    line-height: 1;\n    cursor: pointer;\n}\n\nbutton.oct-setup-tab[data-setup=\"full\"]::before {\n    content: \"\";\n    display: inline-block;\n    width: 5px;\n    height: 5px;\n    margin-right: 6px;\n    background: var(--primary-light);\n    transform: rotate(45deg);\n    vertical-align: middle;\n}\n\nbutton.oct-setup-tab:hover { color: var(--text); }\n\nbutton.oct-setup-tab.is-active {\n    background: var(--accent);\n    border-color: var(--accent);\n    color: #fff;\n    cursor: default;\n}\n\nbutton.oct-setup-tab:focus-visible {\n    outline: 2px solid var(--secondary);\n    outline-offset: 2px;\n}\n\n.oct-hands .oct-setup-hint {\n    margin: 0 0 14px;\n    color: var(--primary);\n    font-family: monospace;\n    font-size: var(--fs-label);\n    font-weight: 700;\n    letter-spacing: 0.8px;\n    line-height: 1.4;\n    text-transform: uppercase;\n}\n\n.oct-setup-variant > .oct-setup-hint:not(:first-child) { margin-top: 22px; }\n\n.oct-setup-variant.is-hidden { display: none; }\n\n.oct-hands-panel.has-bg {\n    position: relative;\n    box-sizing: border-box;\n    background-color: transparent;\n    overflow: hidden;\n}\n\n.oct-hands-panel.has-bg .oct-hands-bg {\n    position: absolute;\n    inset: 0;\n    display: block;\n    width: 100%;\n    height: 100%;\n    object-fit: cover;\n    object-position: center;\n    z-index: 0;\n    pointer-events: none;\n    opacity: 0.5;\n}\n\n.oct-hands-panel.has-bg::before {\n    content: \"\";\n    position: absolute;\n    inset: 0;\n    z-index: 1;\n    background: linear-gradient(90deg,\n        rgba(200, 202, 208, 0.94) 0%,\n        rgba(200, 202, 208, 0.88) 30%,\n        rgba(200, 202, 208, 0.62) 65%,\n        rgba(200, 202, 208, 0.42) 100%);\n    pointer-events: none;\n}\n\n[data-oct-theme=\"dark\"] .oct-hands-panel.has-bg {\n    background-color: var(--bg-card);\n}\n\n[data-oct-theme=\"dark\"] .oct-hands-panel.has-bg .oct-hands-bg {\n    opacity: 1;\n}\n\n[data-oct-theme=\"dark\"] .oct-hands-panel.has-bg::before {\n    background: linear-gradient(90deg,\n        rgba(18, 18, 24, 0.97) 0%,\n        rgba(18, 18, 24, 0.93) 30%,\n        rgba(18, 18, 24, 0.85) 60%,\n        rgba(18, 18, 24, 0.72) 100%);\n}\n\n.oct-hands-panel.has-bg .oct-hands-inner {\n    position: relative;\n    z-index: 2;\n    box-sizing: border-box;\n    padding: 28px 24px;\n}\n\n.oct-hands-panel:not(.has-bg) .oct-hands-bg { display: none; }\n\n.oct-hands .oct-steps {\n    margin: 0;\n    font-size: var(--fs-small);\n    line-height: var(--lh-body);\n}\n.oct-hands .oct-steps li + li { margin-top: 6px; }\n.oct-hands .oct-steps .oct-box { height: calc(var(--fs-small) * var(--lh-body)); }\n\n\/* step content aligns with the step text, not with the number box *\/\n.oct-hands-panel .oct-steps li > :not(.oct-step) { margin-left: 34px; }\n.oct-hands-panel .oct-steps li > .oct-setup-hint { margin-top: 22px; }\n\n\/* compact pair: paragraph on the left, two small cards on the right *\/\n.oct-inline-pair {\n    display: grid;\n    grid-template-columns: minmax(0, 1fr) 200px;\n    gap: 14px;\n    align-items: start;\n}\n\n.oct-hands-panel .oct-inline-pair > * { margin-top: 0; }\n\n.oct-inline-pair > .oct-dirs {\n    grid-template-columns: repeat(2, minmax(0, 1fr));\n    gap: 8px;\n}\n\n@media (max-width: 480px) {\n    .oct-inline-pair { grid-template-columns: minmax(0, 1fr); }\n}\n\n.oct-hands .oct-setup-extra {\n    margin: 16px 0 0;\n    padding: 10px 14px 10px 44px;\n    font-size: var(--fs-small);\n}\n\n.oct-topic-grid {\n    display: grid;\n    grid-template-columns: minmax(0, 1fr) minmax(220px, 260px);\n    gap: 24px;\n    align-items: start;\n}\n\n.oct-topic-side > .oct-setup-variant { margin-top: 22px; }\n.oct-setup-variant > .oct-topic-media { margin-top: 14px; }\n\n.oct-topic-grid--ai { align-items: stretch; }\n\n.oct-topic-grid--ai .oct-topic-side {\n    display: flex;\n    flex-direction: column;\n    justify-content: flex-start;\n}\n\n.oct-topic-main > .oct-setup-hint { margin-bottom: 14px; }\n.oct-topic-main > .oct-setup-hint:not(:first-child) { margin-top: 22px; }\n\n.oct-topic-side {\n    padding-left: 18px;\n    border-left: 1px solid var(--border-highlight);\n}\n\n.oct-topic-side > p {\n    margin: 0;\n    color: var(--text-muted);\n    font-size: var(--fs-small);\n    line-height: var(--lh-body);\n}\n\n.oct-topic-side > p + p { margin-top: 8px; }\n.oct-topic-side > .oct-setup-hint:not(:first-child) { margin-top: 22px; }\n\n.oct-topic-media {\n    position: relative;\n    margin: 0;\n    background: #0a0a0e;\n    border: 1px solid var(--border);\n}\n\n.oct-topic-media img {\n    display: block;\n    width: 100%;\n    height: auto;\n}\n\n.oct-topic-side > .oct-topic-media { margin-top: 14px; }\n.oct-topic-side > .oct-pager { margin-top: 14px; }\n\n.oct-topic-main > p.oct-topic-lead { margin-top: 16px; }\n.oct-topic-main > p.oct-topic-lead:first-of-type { margin-top: 18px; }\n\n.oct-hands-panel.has-bare-bottom { position: relative; }\n\n.oct-hands-panel.has-bare-bottom > .is-bare-bottom {\n    position: absolute;\n    bottom: 0;\n    right: 24px;\n    margin: 0;\n    padding: 0;\n    background: transparent;\n    border: 0;\n    z-index: 3;\n    line-height: 0;\n    pointer-events: none;\n}\n\n.oct-hands-panel.has-bare-bottom > .is-bare-bottom img {\n    display: block;\n    width: 60px;\n    height: auto;\n    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.2));\n}\n\n[data-oct-theme=\"dark\"] .oct-hands-panel.has-bare-bottom > .is-bare-bottom img {\n    filter: none;\n}\n\n.oct-code-wrap {\n    position: relative;\n    margin: 12px 0 0;\n}\n\n.oct-hands-panel .oct-code {\n    margin: 0;\n    padding: 12px 14px;\n    background: #1a1a22;\n    border: 1px solid rgba(0, 0, 0, 0.3);\n    color: #d4d4dc;\n    font-family: monospace;\n    font-size: var(--fs-ui);\n    line-height: 1.6;\n    white-space: pre-wrap;\n    overflow-wrap: anywhere;\n    word-break: break-word;\n    overflow-x: auto;\n    tab-size: 4;\n    box-sizing: border-box;\n}\n\n[data-oct-theme=\"dark\"] .oct-hands-panel .oct-code {\n    background: rgba(0, 0, 0, 0.4);\n    border-color: var(--border);\n    color: var(--text-muted);\n}\n\n.oct-code-copy {\n    position: absolute;\n    top: 8px;\n    right: 8px;\n    z-index: 1;\n    margin: 0;\n    padding: 4px 10px;\n    background: rgba(40, 42, 56, 0.92);\n    border: 1px solid rgba(255, 255, 255, 0.2);\n    border-radius: 0;\n    color: #d4d4dc;\n    font-family: monospace;\n    font-size: var(--fs-label);\n    font-weight: 700;\n    letter-spacing: 0.8px;\n    line-height: 1;\n    text-transform: uppercase;\n    cursor: pointer;\n}\n\n.oct-code-copy:hover {\n    color: #fff;\n    border-color: rgba(139, 92, 246, 0.5);\n}\n\n.oct-code-copy:focus-visible {\n    outline: 2px solid var(--secondary);\n    outline-offset: 2px;\n}\n\n.oct-code-copy.is-copied {\n    color: var(--secondary);\n    border-color: var(--secondary);\n}\n\n.oct-download { margin-top: 14px; }\n\n.oct-hands-panel .oct-pager-foot--split {\n    justify-content: space-between;\n    align-items: center;\n    flex-wrap: wrap;\n    gap: 8px;\n}\n\n.oct-hands-panel .oct-pager-foot--split a.oct-btn {\n    flex: 0 0 auto;\n    padding: 6px 10px;\n    font-size: var(--fs-ui);\n    line-height: 1.2;\n}\n\n.oct-hands-panel strong { color: #1f1f1f; }\n.oct-hands-panel .oct-note-text { color: #1f1f1f; }\n\n\/* inline code in practice text: shader variables and identifiers, same look everywhere *\/\n.oct-hands-panel p code {\n    padding: 0 3px;\n    background: rgba(0, 0, 0, 0.06);\n    color: #1f1f1f;\n    font-family: monospace;\n    font-size: 0.92em;\n}\n\n[data-oct-theme=\"dark\"] .oct-hands-panel p code {\n    background: rgba(0, 0, 0, 0.35);\n    color: #fff;\n}\n\n.oct-hands-panel .oct-box {\n    background: rgba(0, 0, 0, 0.06);\n    border-color: rgba(0, 0, 0, 0.24);\n}\n\n.oct-hands-panel .oct-box::before { color: #6d28d9; }\n\n.oct-hands-panel .oct-check:checked + .oct-box {\n    background: #6d28d9;\n    border-color: #6d28d9;\n}\n\n.oct-hands-panel .oct-check:checked + .oct-box::before { color: #fff; }\n\n.oct-hands-panel a.oct-btn.is-ghost {\n    color: #6d28d9;\n    border-color: rgba(109, 40, 217, 0.4);\n}\n\n.oct-hands-panel a.oct-btn.is-ghost:hover {\n    background: rgba(109, 40, 217, 0.1);\n    border-color: rgba(109, 40, 217, 0.6);\n    color: #6d28d9;\n}\n\n[data-oct-theme=\"dark\"] .oct-hands-panel h3,\n[data-oct-theme=\"dark\"] .oct-hands-panel strong,\n[data-oct-theme=\"dark\"] .oct-hands-panel .oct-note-text {\n    color: #fff;\n}\n\n[data-oct-theme=\"dark\"] .oct-hands-panel .oct-box {\n    background: rgba(0, 0, 0, 0.3);\n    border-color: var(--border-highlight);\n}\n\n[data-oct-theme=\"dark\"] .oct-hands-panel .oct-box::before { color: var(--secondary); }\n\n[data-oct-theme=\"dark\"] .oct-hands-panel .oct-check:checked + .oct-box {\n    background: var(--accent);\n    border-color: var(--accent);\n}\n\n[data-oct-theme=\"dark\"] .oct-hands-panel .oct-check:checked + .oct-box::before { color: #fff; }\n\n[data-oct-theme=\"dark\"] .oct-hands-panel a.oct-btn.is-ghost {\n    color: var(--secondary);\n    border-color: rgba(73, 179, 255, 0.5);\n}\n\n[data-oct-theme=\"dark\"] .oct-hands-panel a.oct-btn.is-ghost:hover {\n    background: rgba(73, 179, 255, 0.12);\n    border-color: var(--secondary);\n    color: var(--secondary);\n}\n\n@media (max-width: 900px) {\n    .oct-topic-grid { grid-template-columns: minmax(0, 1fr); }\n    .oct-topic-side {\n        padding-left: 0;\n        padding-top: 16px;\n        border-left: 0;\n        border-top: 1px solid var(--border-highlight);\n    }\n}\n\n@media (max-width: 720px) {\n    .oct-hands-top {\n        flex-wrap: wrap;\n        row-gap: 10px;\n    }\n    .oct-hands-tools {\n        order: 3;\n        width: 100%;\n        margin-left: 0;\n        justify-content: space-between;\n    }\n    .oct-hands-set { grid-template-columns: minmax(0, 1fr); }\n    .oct-hands-bar { margin: 0 0 8px; }\n    .oct-hands-foot { display: none; }\n    .oct-hands-set.is-lead .oct-hands-stage > .oct-hands-panel { padding: 24px 18px; }\n    .oct-hands-panel.has-bg .oct-hands-inner { padding: 24px 18px; }\n}\n\n.oct-hands-stage,\n.oct-hands-panel.has-bg,\n.oct-hands-panel.has-bare-bottom,\n.oct-topic-media,\n.oct-code-wrap {\n    contain: paint;\n}\n<\/style>\n\n<section class=\"oct-hands\" id=\"hands-on-practice\">\n    <div class=\"oct-hands-top\">\n        <h2>Hands-On Practice<\/h2>\n        <div class=\"oct-hands-tools\">\n            <div class=\"oct-setup-switch\" role=\"tablist\" aria-label=\"Asset version\">\n                <button type=\"button\" class=\"oct-setup-tab\" role=\"tab\" aria-selected=\"false\" data-setup=\"free\">Free<\/button>\n                <button type=\"button\" class=\"oct-setup-tab\" role=\"tab\" aria-selected=\"false\" data-setup=\"full\">Full<\/button>\n            <\/div>\n            <span class=\"oct-practice\">Practice<\/span>\n        <\/div>\n    <\/div>\n\n    <div class=\"oct-hands-set is-lead\">\n        <div class=\"oct-hands-bar\" role=\"tablist\" aria-label=\"Playable VFX\">\n            <button type=\"button\" class=\"oct-hands-tab\" role=\"tab\" aria-selected=\"false\">Setup<\/button>\n            <button type=\"button\" class=\"oct-hands-tab\" role=\"tab\" aria-selected=\"false\">Creating a Playable VFX in 2D\/3D<\/button>\n            <button type=\"button\" class=\"oct-hands-tab\" role=\"tab\" aria-selected=\"false\">Creating a Playable VFX on the UI<\/button>\n            <button type=\"button\" class=\"oct-hands-tab is-active\" role=\"tab\" aria-selected=\"true\">One Shader, Any Effect<\/button>\n            <button type=\"button\" class=\"oct-hands-tab\" role=\"tab\" aria-selected=\"false\">Creating a New Effect with AI<\/button>\n            <button type=\"button\" class=\"oct-hands-tab is-full\" role=\"tab\" aria-selected=\"false\">Creating Trails (full)<\/button>\n            <button type=\"button\" class=\"oct-hands-tab is-full\" role=\"tab\" aria-selected=\"false\">Creating Blade Effects (full)<\/button>\n            <button type=\"button\" class=\"oct-hands-tab is-full\" role=\"tab\" aria-selected=\"false\">Creating Touch Accents (full)<\/button>\n            <div class=\"oct-hands-foot\" aria-hidden=\"true\"><\/div>\n        <\/div>\n        <div class=\"oct-hands-stage oct-corners\">\n            <article class=\"oct-hands-panel oct-setup-panel is-hidden\">\n    <img data-recalc-dims=\"1\" decoding=\"async\" class=\"oct-hands-bg\" src=\"https:\/\/i0.wp.com\/www.octantastudio.com\/wp-content\/buildadd\/ProceduralVFXTools.webp?ssl=1\" alt=\"\" aria-hidden=\"true\" loading=\"lazy\">\n    <div class=\"oct-hands-inner\">\n        <div class=\"oct-topic-grid\">\n            <div class=\"oct-topic-main\">\n                <div class=\"oct-setup-variant\" data-setup-panel=\"free\">\n                    <p class=\"oct-setup-hint\">Manual setup<\/p>\n                    <ol class=\"oct-steps\">\n                        <li><label class=\"oct-step\"><input type=\"checkbox\" class=\"oct-check\"><span class=\"oct-box\"><\/span><span class=\"oct-step-text\">Import the <a class=\"oct-ref\" href=\"https:\/\/u3d.as\/4eGs\" target=\"_blank\" rel=\"noopener noreferrer\">asset package<\/a> into your Unity project.<\/span><\/label><\/li>\n                        <li><label class=\"oct-step\"><input type=\"checkbox\" class=\"oct-check\"><span class=\"oct-box\"><\/span><span class=\"oct-step-text\">Open <strong>Assets <span class=\"oct-text-arrow\">\u2192<\/span> OctantaStudio <span class=\"oct-text-arrow\">\u2192<\/span> ProceduralVFXMini <span class=\"oct-text-arrow\">\u2192<\/span> Scenes <span class=\"oct-text-arrow\">\u2192<\/span> DemoScene<\/strong> and press Play to preview all effects in world space and on the UI. For URP, the scene is named <strong>URPDemoScene<\/strong>.<\/span><\/label><\/li>\n                        <li><label class=\"oct-step\"><input type=\"checkbox\" class=\"oct-check\"><span class=\"oct-box\"><\/span><span class=\"oct-step-text\">Pick prefabs from <strong>OctantaStudio <span class=\"oct-text-arrow\">\u2192<\/span> ProceduralVFXMini <span class=\"oct-text-arrow\">\u2192<\/span> Prefabs <span class=\"oct-text-arrow\">\u2192<\/span> Templates<\/strong>. Use the <span class=\"oct-tag-mono\">URP_<\/span> prefix in URP projects; non-prefixed in HDRP or Built-in. Then instantiate these effects from your own code at the moment and in the context where you need them.<\/span><\/label><\/li>\n                        <li><label class=\"oct-step\"><input type=\"checkbox\" class=\"oct-check\"><span class=\"oct-box\"><\/span><span class=\"oct-step-text\">If a URP effect does not render, click <strong>Fix Built-In Display Settings<\/strong> on it. This also repairs the other effects in the system.<\/span><\/label><\/li>\n                    <\/ol>\n                    <p>The effect plays on spawn and loops by default. To make it one-shot, uncheck <strong>Loop<\/strong> on the prefab. The <strong>Destroy On End<\/strong> option then becomes available.<\/p>\n                <\/div>\n\n                <div class=\"oct-setup-variant is-hidden\" data-setup-panel=\"full\">\n                    <p class=\"oct-setup-hint\">Automated setup via the Tools menu<\/p>\n                    <ol class=\"oct-steps\">\n                        <li><label class=\"oct-step\"><input type=\"checkbox\" class=\"oct-check\"><span class=\"oct-box\"><\/span><span class=\"oct-step-text\">Import the <a class=\"oct-ref\" href=\"https:\/\/u3d.as\/3C7x\" target=\"_blank\" rel=\"noopener noreferrer\">asset package<\/a> into your Unity project.<\/span><\/label><\/li>\n                        <li><label class=\"oct-step\"><input type=\"checkbox\" class=\"oct-check\"><span class=\"oct-box\"><\/span><span class=\"oct-step-text\">Run <strong>Tools <span class=\"oct-text-arrow\">\u2192<\/span> Procedural VFX Toolkit <span class=\"oct-text-arrow\">\u2192<\/span> Fix Display Material For Current Pipeline<\/strong> and <strong>Fix Input System Settings For Current Project<\/strong>. Then run <strong>Tools <span class=\"oct-text-arrow\">\u2192<\/span> Procedural VFX Toolkit <span class=\"oct-text-arrow\">\u2192<\/span> Open Demo Scene<\/strong> and press Play to preview all effects in world space and on the UI.<\/span><\/label><\/li>\n                        <li><label class=\"oct-step\"><input type=\"checkbox\" class=\"oct-check\"><span class=\"oct-box\"><\/span><span class=\"oct-step-text\">Pick prefabs from <strong>OctantaStudio <span class=\"oct-text-arrow\">\u2192<\/span> TouchEffectSystem <span class=\"oct-text-arrow\">\u2192<\/span> Prefabs<\/strong>. Use the <span class=\"oct-tag-mono\">URP_<\/span> prefix in URP projects; non-prefixed in HDRP or Built-in. Then instantiate these effects from your own code at the moment and in the context where you need them.<\/span><\/label><\/li>\n                    <\/ol>\n                    <p>The effect plays on spawn and loops by default. To make it one-shot, uncheck <strong>Loop<\/strong> on the prefab. The <strong>Destroy On End<\/strong> option then becomes available.<\/p>\n                    <aside class=\"oct-note oct-setup-extra\">\n                        <p class=\"oct-note-text\">Full also includes touch effects on the Canvas, ready to test with runtime input.<\/p>\n                    <\/aside>\n                <\/div>\n            <\/div>\n            <aside class=\"oct-topic-side\">\n                <p class=\"oct-setup-hint\">Pipeline portability<\/p>\n                <p>Shader materials survive Unity pipeline switches. They only drive the animation that renders into a RenderTexture, mapped onto a single transparent source material. Keeping that one material intact keeps the whole effect system intact. A one-click auto-fix is provided.<\/p>\n                <p>For UI effects the portability is even simpler: they don't depend on the render pipeline at all, and the shader material is read directly by the Raw Image UI component, so nothing needs fixing between pipeline switches.<\/p>\n            <\/aside>\n        <\/div>\n    <\/div>\n<\/article>\n\n            <article class=\"oct-hands-panel is-hidden\" data-full-bg=\"\">\n    <img data-recalc-dims=\"1\" decoding=\"async\" class=\"oct-hands-bg\" src=\"https:\/\/i0.wp.com\/www.octantastudio.com\/wp-content\/buildadd\/MeshPlayerExampleReload.webp?ssl=1\" alt=\"\" aria-hidden=\"true\" loading=\"lazy\">\n    <div class=\"oct-hands-inner\">\n        <div class=\"oct-topic-grid\">\n            <div class=\"oct-topic-main\">\n                <div class=\"oct-setup-variant\" data-setup-panel=\"free\">\n                    <p class=\"oct-setup-hint\">Manual effect tuning<\/p>\n                    <p>VFX for 2D and 3D spaces spawn the same way: a prefab with a <strong>Mesh Renderer<\/strong> and a <strong>Glow Mesh Player<\/strong> component. The flat effect is easy to position in 2D between layers, and in 3D by facing it toward the camera.<\/p>\n                    <ol class=\"oct-steps\">\n                        <li><label class=\"oct-step\"><input type=\"checkbox\" class=\"oct-check\"><span class=\"oct-box\"><\/span><span class=\"oct-step-text\">Pick any included effect to try, for example <strong>World_VFXEffect_RadialSparks<\/strong>. Duplicate it for experiments so the original stays intact. Enter Play Mode, drag the prefab into the scene without a parent to see how it plays.<\/span><\/label><\/li>\n                        <li><label class=\"oct-step\"><input type=\"checkbox\" class=\"oct-check\"><span class=\"oct-box\"><\/span><span class=\"oct-step-text\">Adjust the visuals. In <strong>Transform<\/strong>, tweak position, rotation, and scale. In <strong>GlowMeshPlayer<\/strong>, tweak playback settings. Open the <strong>Glow Material<\/strong> and play with the sliders, or reset via the three-dot menu <span class=\"oct-text-arrow\">\u2192<\/span> <strong>Reset<\/strong>. To see the changes, drag the prefab into the scene again and remove the previous cached copy.<\/span><\/label><\/li>\n                        <li><label class=\"oct-step\"><input type=\"checkbox\" class=\"oct-check\"><span class=\"oct-box\"><\/span><span class=\"oct-step-text\">When the visuals look right, exit Play Mode. Prepare the prefab for spawning: set the tuned size and speed, and make sure the tuned material is assigned in the <strong>Glow Material<\/strong> field. You can duplicate the material for this effect and reassign the copy in that field.<\/span><\/label><\/li>\n                        <li><label class=\"oct-step\"><input type=\"checkbox\" class=\"oct-check\"><span class=\"oct-box\"><\/span><span class=\"oct-step-text\">If you need the effect to play once, make sure <strong>Loop<\/strong> is off on the prefab.<\/span><\/label><\/li>\n                        <li><label class=\"oct-step\"><input type=\"checkbox\" class=\"oct-check\"><span class=\"oct-box\"><\/span><span class=\"oct-step-text\">Instantiate the prefab wherever the effect should appear. For example, call <strong>SpawnVFX()<\/strong>:<\/span><\/label><\/li>\n                    <\/ol>\n                    <div class=\"oct-code-wrap\">\n                        <pre class=\"oct-code\"><code>\/\/ Assign the effect prefab reference in the Inspector\n[SerializeField] private GameObject effectPrefab;\n\nvoid SpawnVFX()\n{\n    GameObject vfxObj = Instantiate(effectPrefab);\n    \/\/ vfxObj.transform.position = ...\n    \/\/ vfxObj.transform.rotation = ...\n\n    \/\/ No Play call needed: the effect plays on spawn\n    \/\/ and removes itself if Destroy On End is on.\n}<\/code><\/pre>\n                        <button type=\"button\" class=\"oct-code-copy\" aria-label=\"Copy code sample\">Copy<\/button>\n                    <\/div>\n                <\/div>\n                <div class=\"oct-setup-variant is-hidden\" data-setup-panel=\"full\">\n                    <p class=\"oct-setup-hint\">Live effect tuning with VfxController<\/p>\n                    <p>VFX for 2D and 3D spaces spawn the same way: a prefab with a <strong>Mesh Renderer<\/strong> and a <strong>Glow Mesh Player<\/strong> component. The flat effect is easy to position in 2D between layers, and in 3D by facing it toward the camera.<\/p>\n                    <ol class=\"oct-steps\">\n                        <li><label class=\"oct-step\"><input type=\"checkbox\" class=\"oct-check\"><span class=\"oct-box\"><\/span><span class=\"oct-step-text\">Pick any included effect to try, for example <strong>VFXRadialSparks<\/strong> (URP_VFXRadialSparks for URP). Enter Play Mode, drag the prefab into the scene without a parent to see how it plays.<\/span><\/label><\/li>\n                        <li><label class=\"oct-step\"><input type=\"checkbox\" class=\"oct-check\"><span class=\"oct-box\"><\/span><span class=\"oct-step-text\">Adjust the visuals. In <strong>Transform<\/strong>, tweak position, rotation, and scale. In <strong>GlowMeshPlayer<\/strong>, tweak playback settings and performance. Open the <strong>Glow Material<\/strong> and play with the sliders, or <strong>Reset<\/strong> it. To see the changes, click the refresh button <strong>\u21bb<\/strong> on the playing effect.<\/span><\/label><\/li>\n                        <li><label class=\"oct-step\"><input type=\"checkbox\" class=\"oct-check\"><span class=\"oct-box\"><\/span><span class=\"oct-step-text\">When the visuals look right, press <strong>Save as a New Prefab<\/strong>. The prefab is written to <strong>Assets <span class=\"oct-text-arrow\">\u2192<\/span> ProceduralVFXEffects<\/strong>. Exit Play Mode. If you need the effect to play once, make sure <strong>Loop<\/strong> is off on it.<\/span><\/label><\/li>\n                        <li><label class=\"oct-step\"><input type=\"checkbox\" class=\"oct-check\"><span class=\"oct-box\"><\/span><span class=\"oct-step-text\">Instantiate the effect wherever it should appear. The built-in <strong>VfxController<\/strong> handles this for you: add an empty object to the scene and attach <strong>VfxController<\/strong> to it, with a reference to itself or to another parent for effects.<\/span><\/label><\/li>\n                    <\/ol>\n\n                    <p class=\"oct-setup-hint\">On VfxController<\/p>\n                    <div class=\"oct-code-wrap\">\n                        <pre class=\"oct-code\"><code>\/\/ On VfxController, add the new effect under its header:\npublic GameObject newEffectPrefab; \/\/ assign the prefab<\/code><\/pre>\n                        <button type=\"button\" class=\"oct-code-copy\" aria-label=\"Copy VfxController field\">Copy<\/button>\n                    <\/div>\n\n                    <p class=\"oct-setup-hint\">From your script<\/p>\n                    <div class=\"oct-code-wrap\">\n                        <pre class=\"oct-code\"><code>\/\/ Add a VfxController field to your script\n\/\/ Assign the controller reference in the Inspector\n[SerializeField] private VfxController vfxController;\n\n\/\/ Call this from your script wherever the effect should appear:\n\/\/ Vector3 effectPosition = set yours\nvfxController.SpawnUniversalVfxEffect(vfxController.newEffectPrefab, effectPosition);\n\n\/\/ The controller plays the effect and cleans it up.<\/code><\/pre>\n                        <button type=\"button\" class=\"oct-code-copy\" aria-label=\"Copy spawn call\">Copy<\/button>\n                    <\/div>\n                <\/div>\n            <\/div>\n            <aside class=\"oct-topic-side\">\n                <p class=\"oct-setup-hint\">Billboarding<\/p>\n                <p>This approach mirrors billboarding as an optimization trick: a 3D object (a distant tree, a rock, a smoke puff) is swapped for a flat rectangle with a 2D texture. The plane keeps facing the camera (the player's view) on one or all axes, so the swap goes unnoticed.<\/p>\n                <p>Since the effect is not always on screen and plays once, setting its position and rotation on instantiation is enough.<\/p>\n\n                <p class=\"oct-setup-hint\">Expected result<\/p>\n                <figure class=\"oct-topic-media oct-corners\">\n                    <img data-recalc-dims=\"1\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/www.octantastudio.com\/wp-content\/buildadd\/VFXInstantiateResult.webp?ssl=1\" alt=\"Effect spawned in the scene\" loading=\"lazy\">\n                <\/figure>\n\n                <p class=\"oct-setup-hint\">2D layering<\/p>\n                <p>For 2D, no depth work is needed on the effect's shader material. It draws into a RenderTexture via <strong>Blit<\/strong>, not into the scene, so depth, ZWrite, and Render Queue don't apply to it.<\/p>\n                <p>The <strong>MeshRenderer<\/strong> shows a separate display material: a copy of its source material, with the RenderTexture assigned to the material's texture property. Its blending is what makes the effect transparent. Its <strong>Render Queue<\/strong> is cloned along with the other properties, so set it once on the source display material and it applies to every effect shown through it.<\/p>\n            <\/aside>\n        <\/div>\n    <\/div>\n<\/article>\n\n            <article class=\"oct-hands-panel is-hidden\" data-full-bg=\"\">\n    <img data-recalc-dims=\"1\" decoding=\"async\" class=\"oct-hands-bg\" src=\"https:\/\/i0.wp.com\/www.octantastudio.com\/wp-content\/buildadd\/UIPlayerCover.webp?ssl=1\" alt=\"\" aria-hidden=\"true\" loading=\"lazy\">\n    <div class=\"oct-hands-inner\">\n        <div class=\"oct-setup-variant\" data-setup-panel=\"free\">\n            <p class=\"oct-setup-hint\">Manual UI effect tuning<\/p>\n            <p>To spawn a shader effect on the UI, use a prefab with <strong>RectTransform<\/strong>, <strong>Raw Image<\/strong>, and <strong>ParticlePreviewPlayer<\/strong> components. Like any other UI element, such an effect must be placed on a Canvas and respect its hierarchy.<\/p>\n            <ol class=\"oct-steps\">\n                <li><label class=\"oct-step\"><input type=\"checkbox\" class=\"oct-check\"><span class=\"oct-box\"><\/span><span class=\"oct-step-text\">Pick any included effect to try, for example <strong>UI_VFX_HealingPluses<\/strong>. Duplicate it for experiments so the original stays intact. Enter Play Mode and drag the prefab onto the Canvas to see how it plays.<\/span><\/label><\/li>\n                <li><label class=\"oct-step\"><input type=\"checkbox\" class=\"oct-check\"><span class=\"oct-box\"><\/span><span class=\"oct-step-text\">Adjust the visuals. In <strong>RectTransform<\/strong>, tweak position, rotation, and scale. In <strong>ParticlePreviewPlayer<\/strong>, tweak playback settings. Open the <strong>Glow Material<\/strong> and play with the sliders, or reset via the three-dot menu <span class=\"oct-text-arrow\">\u2192<\/span> <strong>Reset<\/strong>. To see the changes, drag the prefab onto the Canvas again and remove the previous cached copy.<\/span><\/label><\/li>\n                <li><label class=\"oct-step\"><input type=\"checkbox\" class=\"oct-check\"><span class=\"oct-box\"><\/span><span class=\"oct-step-text\">When the visuals look right, exit Play Mode. Prepare the prefab for spawning: set the tuned size and speed, and make sure the tuned material is assigned in the <strong>Glow Material<\/strong> field. You can duplicate the material for this effect and reassign the copy in that field.<\/span><\/label><\/li>\n                <li><label class=\"oct-step\"><input type=\"checkbox\" class=\"oct-check\"><span class=\"oct-box\"><\/span><span class=\"oct-step-text\">If you need the effect to play once, make sure <strong>Loop<\/strong> is off on the prefab.<\/span><\/label><\/li>\n                <li><label class=\"oct-step\"><input type=\"checkbox\" class=\"oct-check\"><span class=\"oct-box\"><\/span><span class=\"oct-step-text\">Instantiate the prefab wherever the effect should appear, with the Canvas as its parent. For example, call <strong>SpawnVFX()<\/strong>:<\/span><\/label><\/li>\n            <\/ol>\n            <div class=\"oct-code-wrap\">\n                <pre class=\"oct-code\"><code>\/\/ Assign both references in the Inspector\n[SerializeField] private Transform canvasObjAsParent;\n[SerializeField] private GameObject effectPrefab;\n\nvoid SpawnVFX()\n{\n    GameObject vfxObj = Instantiate(effectPrefab, canvasObjAsParent);\n    \/\/ vfxObj.transform.localPosition = ...\n\n    \/\/ No Play call needed: the effect plays on spawn\n    \/\/ and removes itself if Destroy On End is on.\n}<\/code><\/pre>\n                <button type=\"button\" class=\"oct-code-copy\" aria-label=\"Copy code sample\">Copy<\/button>\n            <\/div>\n        <\/div>\n        <div class=\"oct-setup-variant is-hidden\" data-setup-panel=\"full\">\n            <div class=\"oct-topic-grid\">\n                <div class=\"oct-topic-main\">\n                    <p class=\"oct-setup-hint\">Live UI effect tuning with VfxController<\/p>\n                    <p>To spawn a shader effect on the UI, use a prefab with <strong>RectTransform<\/strong>, <strong>Raw Image<\/strong>, and <strong>ParticlePreviewPlayer<\/strong> components. Like any other UI element, such an effect must be placed on a Canvas and respect its hierarchy.<\/p>\n                    <ol class=\"oct-steps\">\n                        <li><label class=\"oct-step\"><input type=\"checkbox\" class=\"oct-check\"><span class=\"oct-box\"><\/span><span class=\"oct-step-text\">Enter Play Mode and drag the <strong>TemplateUIEffect<\/strong> prefab onto the Canvas to see how it plays.<\/span><\/label><\/li>\n                        <li><label class=\"oct-step\"><input type=\"checkbox\" class=\"oct-check\"><span class=\"oct-box\"><\/span><span class=\"oct-step-text\">Adjust the visuals. In <strong>RectTransform<\/strong>, tweak position, rotation, and scale. In <strong>ParticlePreviewPlayer<\/strong>, tweak playback settings, performance, and additional sprite particle usage. Open the <strong>Glow Material<\/strong> and play with the sliders, or <strong>Reset<\/strong> it. To see the changes, click the refresh button <strong>\u21bb<\/strong> on the playing effect.<\/span><\/label><\/li>\n                        <li><label class=\"oct-step\"><input type=\"checkbox\" class=\"oct-check\"><span class=\"oct-box\"><\/span><span class=\"oct-step-text\">When the visuals look right, press <strong>Save as a New Prefab<\/strong>. The prefab is written to <strong>Assets <span class=\"oct-text-arrow\">\u2192<\/span> ProceduralVFXEffects<\/strong>. Exit Play Mode. If you need the effect to play once, make sure <strong>Loop<\/strong> is off on it.<\/span><\/label><\/li>\n                        <li><label class=\"oct-step\"><input type=\"checkbox\" class=\"oct-check\"><span class=\"oct-box\"><\/span><span class=\"oct-step-text\">Instantiate the effect wherever it should appear. The built-in <strong>VfxController<\/strong> handles this for you. Simply use a GameObject with the <strong>VfxController<\/strong> component attached and a reference to the scene's Canvas.<\/span><\/label><\/li>\n                    <\/ol>\n\n                    <p class=\"oct-setup-hint\">On VfxController<\/p>\n                    <div class=\"oct-code-wrap\">\n                        <pre class=\"oct-code\"><code>\/\/ On VfxController, add the new UI effect under its header:\npublic GameObject newEffectPrefab; \/\/ assign the prefab<\/code><\/pre>\n                        <button type=\"button\" class=\"oct-code-copy\" aria-label=\"Copy VfxController field\">Copy<\/button>\n                    <\/div>\n\n                    <p class=\"oct-setup-hint\">From your script<\/p>\n                    <div class=\"oct-code-wrap\">\n                        <pre class=\"oct-code\"><code>\/\/ Add a VfxController field to your script\n\/\/ Assign the controller reference in the Inspector\n[SerializeField] private VfxController vfxController;\n\n\/\/ Spawn this from your script centered on a UI element:\n\/\/ Transform effectParent = set your UI element\nvfxController.SpawnUiVfxEffectOnParent(vfxController.newEffectPrefab, effectParent);\n\n\/\/ Or spawn anywhere on the Canvas by position:\n\/\/ Vector3 effectPosition = set yours\nvfxController.SpawnUiVfxEffect(vfxController.newEffectPrefab, effectPosition);\n\n\/\/ The controller plays the effect and cleans it up.<\/code><\/pre>\n                        <button type=\"button\" class=\"oct-code-copy\" aria-label=\"Copy spawn calls\">Copy<\/button>\n                    <\/div>\n                <\/div>\n                <aside class=\"oct-topic-side\">\n                    <p class=\"oct-setup-hint\">Sprite particles<\/p>\n                    <p>In the <strong>Sprite Particles<\/strong> section of the effect, remove the textures so only the shader is used. Alternatively, adjust them to fit your project's needs.<\/p>\n\n                    <p class=\"oct-setup-hint\">Expected result<\/p>\n                    <figure class=\"oct-topic-media oct-corners\">\n                        <img data-recalc-dims=\"1\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/www.octantastudio.com\/wp-content\/buildadd\/UiVFXResult.webp?ssl=1\" alt=\"UI effect spawned on the Canvas\" loading=\"lazy\">\n                    <\/figure>\n                <\/aside>\n            <\/div>\n        <\/div>\n    <\/div>\n<\/article>\n\n            <article class=\"oct-hands-panel has-bare-bottom\" data-full-bg=\"\">\n    <img data-recalc-dims=\"1\" decoding=\"async\" class=\"oct-hands-bg\" src=\"https:\/\/i0.wp.com\/www.octantastudio.com\/wp-content\/buildadd\/WizardCoverMenu.webp?ssl=1\" alt=\"\" aria-hidden=\"true\" loading=\"lazy\">\n    <div class=\"oct-hands-inner\">\n        <div class=\"oct-topic-grid\">\n            <div class=\"oct-topic-main\">\n                <div class=\"oct-setup-variant\" data-setup-panel=\"free\">\n                    <p class=\"oct-setup-hint\">Manual effect creation<\/p>\n                    <p>The main source of the visual effect is always the shader material. With a shader and its material in hand, you can create an effect for both the UI and world space by simply assigning a customized <strong>Glow Material<\/strong> to effect prefabs.<\/p>\n\n                    <p class=\"oct-topic-lead\"><strong>To create a new UI effect:<\/strong><\/p>\n                    <ol class=\"oct-steps\">\n                        <li><label class=\"oct-step\"><input type=\"checkbox\" class=\"oct-check\"><span class=\"oct-box\"><\/span><span class=\"oct-step-text\">Find the prepared UI template <strong>UI_VFX_Effect<\/strong> and duplicate it.<\/span><\/label><\/li>\n                        <li><label class=\"oct-step\"><input type=\"checkbox\" class=\"oct-check\"><span class=\"oct-box\"><\/span><span class=\"oct-step-text\">Assign any material to the <strong>Glow Material<\/strong> field, for example <strong>FloralGrowthCute<\/strong> (no ready-made UI prefab).<\/span><\/label><\/li>\n                        <li><label class=\"oct-step\"><input type=\"checkbox\" class=\"oct-check\"><span class=\"oct-box\"><\/span><span class=\"oct-step-text\">Enter Play Mode and drag the prefab onto the Canvas to test and adjust it, then spawn it in the required contexts.<\/span><\/label><\/li>\n                    <\/ol>\n\n                    <p class=\"oct-topic-lead\"><strong>To create a new world effect, do the same:<\/strong><\/p>\n                    <ol class=\"oct-steps\">\n                        <li><label class=\"oct-step\"><input type=\"checkbox\" class=\"oct-check\"><span class=\"oct-box\"><\/span><span class=\"oct-step-text\">Find the prepared world template <strong>World_VFXEffect<\/strong> (or World_URP_VFXEffect for URP) and duplicate it.<\/span><\/label><\/li>\n                        <li><label class=\"oct-step\"><input type=\"checkbox\" class=\"oct-check\"><span class=\"oct-box\"><\/span><span class=\"oct-step-text\">Assign any material to the <strong>Glow Material<\/strong> field, for example <strong>ComicPuff<\/strong> (no ready-made world prefab).<\/span><\/label><\/li>\n                        <li><label class=\"oct-step\"><input type=\"checkbox\" class=\"oct-check\"><span class=\"oct-box\"><\/span><span class=\"oct-step-text\">Enter Play Mode, drag the prefab into the scene, test and adjust it, then spawn it in the required contexts.<\/span><\/label><\/li>\n                    <\/ol>\n                <\/div>\n\n                <div class=\"oct-setup-variant is-hidden\" data-setup-panel=\"full\">\n                    <p class=\"oct-setup-hint\">Wizard-driven effect creation<\/p>\n                    <p>From the two previous practice tabs, you've seen that the main source of the visual effect is always the shader material in the <strong>Glow Material<\/strong> field. With a shader and its material in hand, you can create an effect for both the UI and world space. The Wizard assembles that prefab for you.<\/p>\n\n                    <p class=\"oct-topic-lead\"><strong>To create a new effect:<\/strong><\/p>\n                    <ol class=\"oct-steps\">\n                        <li><label class=\"oct-step\"><input type=\"checkbox\" class=\"oct-check\"><span class=\"oct-box\"><\/span><span class=\"oct-step-text\">Open <strong>Tools <span class=\"oct-text-arrow\">\u2192<\/span> Procedural VFX Toolkit <span class=\"oct-text-arrow\">\u2192<\/span> Effect Prefab Wizard...<\/strong><\/span><\/label><\/li>\n                        <li><label class=\"oct-step\"><input type=\"checkbox\" class=\"oct-check\"><span class=\"oct-box\"><\/span><span class=\"oct-step-text\">In the window, pick the target: <strong>World<\/strong> or <strong>UI<\/strong>. Choose any shader in the system, for example <strong>ClockworkEcho<\/strong>, which has no ready-made prefab yet. Enter a name for the new object and click <strong>Create Prefab<\/strong>.<\/span><\/label><\/li>\n                        <li><label class=\"oct-step\"><input type=\"checkbox\" class=\"oct-check\"><span class=\"oct-box\"><\/span><span class=\"oct-step-text\">In the created prefab, check the <strong>Loop<\/strong> setting: turn it on to test the effect for longer, or leave it off.<\/span><\/label><\/li>\n                        <li><label class=\"oct-step\"><input type=\"checkbox\" class=\"oct-check\"><span class=\"oct-box\"><\/span><span class=\"oct-step-text\">Enter Play Mode and drag the new effect's prefab into the scene to test it. Instantiate it in the required contexts.<\/span><\/label><\/li>\n                    <\/ol>\n                <\/div>\n            <\/div>\n            <aside class=\"oct-topic-side\">\n                <p class=\"oct-setup-hint\">Unique material<\/p>\n                <p>When creating a new effect prefab, make sure it references its own unique <strong>Glow Material<\/strong>, so editing one effect doesn't accidentally affect multiple prefabs.<\/p>\n\n                <div class=\"oct-setup-variant is-hidden\" data-setup-panel=\"full\">\n                    <p class=\"oct-setup-hint\">Expected result<\/p>\n                    <figure class=\"oct-topic-media oct-corners\">\n                        <img data-recalc-dims=\"1\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/www.octantastudio.com\/wp-content\/buildadd\/ClockCreatedExample0.webp?ssl=1\" alt=\"Effect prefab created with the Wizard\" loading=\"lazy\">\n                    <\/figure>\n                <\/div>\n            <\/aside>\n        <\/div>\n    <\/div>\n    <figure class=\"is-bare-bottom\">\n        <img data-recalc-dims=\"1\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/www.octantastudio.com\/wp-content\/buildadd\/HandPractice.webp?ssl=1\" alt=\"Effect prefab with its own Glow Material\" loading=\"lazy\">\n    <\/figure>\n<\/article>\n\n            <article class=\"oct-hands-panel has-bg is-hidden\">\n    <img data-recalc-dims=\"1\" decoding=\"async\" class=\"oct-hands-bg\" src=\"https:\/\/i0.wp.com\/www.octantastudio.com\/wp-content\/buildadd\/AIGenCover.webp?ssl=1\" alt=\"\" aria-hidden=\"true\" loading=\"lazy\">\n    <div class=\"oct-hands-inner\">\n        <div class=\"oct-topic-grid oct-topic-grid--ai\">\n            <div class=\"oct-topic-main\">\n                <p class=\"oct-setup-hint\">Prompt workflow<\/p>\n                <p>AI can generate a shader for a new effect from your description. We prepared a prompt with embedded samples for this. You can <a class=\"oct-ref\" href=\"https:\/\/github.com\/octantast\/octantastudio_as_publisher\/blob\/main\/TouchEffectSystem_examples\/particle-shader-prompt.md\" target=\"_blank\" rel=\"noopener noreferrer\">view it on GitHub<\/a> or download it below.<\/p>\n                <ol class=\"oct-steps\">\n                    <li><label class=\"oct-step\"><input type=\"checkbox\" class=\"oct-check\"><span class=\"oct-box\"><\/span><span class=\"oct-step-text\">Send the prompt to any AI assistant you use, for example <strong>Claude<\/strong>.<\/span><\/label><\/li>\n                    <li><label class=\"oct-step\"><input type=\"checkbox\" class=\"oct-check\"><span class=\"oct-box\"><\/span><span class=\"oct-step-text\">Describe the effect you need for your project, and get the result as a shader file.<\/span><\/label><\/li>\n                    <li><label class=\"oct-step\"><input type=\"checkbox\" class=\"oct-check\"><span class=\"oct-box\"><\/span><span class=\"oct-step-text\">Import the resulting shader into your project, create a material from it, and tune it. Then create an effect from that material the same way as in the <strong>One Shader, Any Effect<\/strong> tab.<\/span><\/label><\/li>\n                    <li><label class=\"oct-step\"><input type=\"checkbox\" class=\"oct-check\"><span class=\"oct-box\"><\/span><span class=\"oct-step-text\">Test the visuals and make the required iterations before using the effect prefab like the others.<\/span><\/label><\/li>\n                <\/ol>\n                <div class=\"oct-download\">\n                    <a class=\"oct-btn is-ghost\" href=\"https:\/\/github.com\/octantast\/octantastudio_as_publisher\/raw\/refs\/heads\/main\/TouchEffectSystem_examples\/particle-shader-prompt.md\" target=\"_blank\" rel=\"noopener noreferrer\">Download prompt \u2193<\/a>\n                <\/div>\n\n                <p class=\"oct-setup-hint\">Example prompt<\/p>\n                <p>The description that produced the effect shown in the <strong>Example result<\/strong> section.<\/p>\n                <div class=\"oct-code-wrap\">\n                    <pre class=\"oct-code\"><code>Create an effect featuring blue-and-white stars that burst outward in multiple directions, then gradually fade away. It represents the impact of a laser beam hit, with a bright neon aesthetic designed for a children's game. Make the stars more vector-like - no need to complicate the borders. Geometric effect, sharper. No need to layer them - just stars.\n\n[Style references: my old particle systems \/ my sketch \/ my project screens \/ etc]<\/code><\/pre>\n                    <button type=\"button\" class=\"oct-code-copy\" aria-label=\"Copy example prompt\">Copy<\/button>\n                <\/div>\n\n                <p class=\"oct-setup-hint\">Example result<\/p>\n                <p>A particle-based VFX from a personal side project was used as the reference. The screenshot and a text description were enough to generate a shader effect that is much lighter and more flexible to implement.<\/p>\n            <\/div>\n            <aside class=\"oct-topic-side\">\n                <div class=\"oct-pager\">\n                    <div class=\"oct-pager-stage\">\n                        <article class=\"oct-pager-page\" data-title=\"Reference\">\n                            <p class=\"oct-setup-hint\">Reference<\/p>\n                            <figure class=\"oct-topic-media oct-corners\">\n                                <img data-recalc-dims=\"1\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/www.octantastudio.com\/wp-content\/buildadd\/ParticleVFXStars.webp?ssl=1\" alt=\"Reference particle VFX\" loading=\"lazy\">\n                            <\/figure>\n                        <\/article>\n                        <article class=\"oct-pager-page is-current\" data-title=\"Output\">\n                            <p class=\"oct-setup-hint\">Output<\/p>\n                            <figure class=\"oct-topic-media oct-corners\">\n                                <img data-recalc-dims=\"1\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/www.octantastudio.com\/wp-content\/buildadd\/ParticleVFXStarsOutput.webp?ssl=1\" alt=\"Shader output generated from the reference\" loading=\"lazy\">\n                            <\/figure>\n                        <\/article>\n                    <\/div>\n                    <div class=\"oct-pager-foot oct-pager-foot--split\">\n                        <div class=\"oct-pager-gems\" role=\"tablist\" aria-label=\"Choose a version\"><\/div>\n                        <a class=\"oct-btn is-ghost\" href=\"https:\/\/www.octantastudio.com\/wp-content\/buildadd\/LaserImpactStars.shader\" download=\"LaserImpactStars.shader\">Download shader \u2193<\/a>\n                    <\/div>\n                <\/div>\n\n                <p class=\"oct-setup-hint\">Procedural Generation<\/p>\n                <p>In computer graphics, this means creating content not by hand, but with mathematical algorithms that follow a predefined procedure. When you create a shader for this Procedural VFX system, decide whether to use <code>_RandomSeed<\/code> so the effect looks unique on every play.<\/p>\n            <\/aside>\n        <\/div>\n    <\/div>\n<\/article>\n\n                   \n                    <article class=\"oct-hands-panel is-hidden\">\n                <div class=\"oct-topic-grid\">\n                    <div class=\"oct-topic-main\">\n                        <p>The full Procedural VFX Toolkit includes long input trails: visual feedback that follows touch and pointer input. They add polish to mobile apps at little cost, and they help visualize interactions in tutorials and video demos.<\/p>\n                              \n                        <p class=\"oct-setup-hint\">How trails are built<\/p>\n                        <p>It all started with one glowing dot, animated inside a particle. That is why the components are named what they are (GlowMeshPlayer) - the glow came first.<\/p>\n\n                        <p>Touch trails live on the UI and are made of many \"glowing\" particles, each playing a shader effect - the <strong>TouchGlowUI<\/strong> component drives them. The system also supports effects built from ordinary sprites, handled by the <strong>SparkleSpawner<\/strong> component. The two can be combined: see <strong>TouchGlowTrailFairy<\/strong> + <strong>TouchStarTrail<\/strong>.<\/p>\n\n                                                <ol class=\"oct-steps\" style=\"margin-top: 14px;\">\n                            <li><label class=\"oct-step\"><input type=\"checkbox\" class=\"oct-check\"><span class=\"oct-box\"><\/span><span class=\"oct-step-text\">Try pointer and multitouch input in the build window below.<\/span><\/label><\/li>\n                        <\/ol>\n\n                        <figure class=\"oct-slide-media oct-corners\" style=\"margin-top: 14px;\">\n                            <div class=\"oct-slide-media-frame\">\n                                <iframe data-src=\"https:\/\/www.octantastudio.com\/wp-content\/buildadd\/WEBGLTrails\/index.html\" title=\"Touch trails WebGL build\" scrolling=\"no\" allowfullscreen=\"\"><\/iframe>\n                            <\/div>\n                            <figcaption>URP - touch trails build<\/figcaption>\n                        <\/figure>\n\n                                                <p class=\"oct-setup-hint\">Creating a Trail from a Shader<\/p>\n                        <ol class=\"oct-steps\" style=\"margin-top: 14px;\">\n                            <li><label class=\"oct-step\"><input type=\"checkbox\" class=\"oct-check\"><span class=\"oct-box\"><\/span><span class=\"oct-step-text\">Pick the <strong>TouchInkTrail<\/strong> prefab and use it as a base: duplicate it, rename the copy, and add it to the Canvas of the scene where it should play. Set its local position to <strong>0, 0, 0<\/strong>.<\/span><\/label><\/li>\n                            <li><label class=\"oct-step\"><input type=\"checkbox\" class=\"oct-check\"><span class=\"oct-box\"><\/span><span class=\"oct-step-text\">Move the pointer across the Game view to test the effect at runtime. It tracks input automatically.<\/span><\/label><\/li>\n                                                        <li><label class=\"oct-step\"><input type=\"checkbox\" class=\"oct-check\"><span class=\"oct-box\"><\/span><span class=\"oct-step-text\">Find the <strong>Glow Material<\/strong> field on the effect. As before, this is what shapes the visuals. Swap it for any other material - one from the Glow folder, or one built the same way. To edit the current material safely, duplicate it first, reassign the copy in that field, and tweak the copy so other effects that share the original stay untouched.<\/span><\/label><\/li>\n                            <li><label class=\"oct-step\"><input type=\"checkbox\" class=\"oct-check\"><span class=\"oct-box\"><\/span><span class=\"oct-step-text\">Enter Play Mode to test the new look with input in the Game view. Iterate outside Play Mode, tuning values in <strong>TouchGlowUI<\/strong> for the new visuals. Desktop and mobile each have their own particle counts. Changes to the Glow Material apply when the effect respawns or Play Mode restarts.<\/span><\/label><\/li>\n                        <\/ol>\n                    <\/div>\n                    <aside class=\"oct-topic-side\">\n                        <p class=\"oct-setup-hint\">Touch Squares Trail<\/p>\n                        <figure class=\"oct-slide-media oct-corners\" style=\"margin-top: 14px;\">\n                            <div class=\"oct-slide-media-frame\" style=\"aspect-ratio: 9 \/ 16;\">\n                                <div class=\"oct-yt\" data-yt-id=\"MKcb2WmtA1A\" data-yt-title=\"Touch Squares Trail\">\n                                    <a class=\"oct-yt-cover\" href=\"https:\/\/www.youtube.com\/watch?v=MKcb2WmtA1A\" target=\"_blank\" rel=\"noopener noreferrer\" aria-label=\"Watch the video: Touch Squares Trail\">\n                                        <img alt=\"\">\n                                        <span class=\"oct-yt-play\" aria-hidden=\"true\">\n                                            <svg viewBox=\"0 0 24 24\" fill=\"currentColor\"><path d=\"M8 5v14l11-7z\"><\/path><\/svg>\n                                        <\/span>\n                                    <\/a>\n                                <\/div>\n                            <\/div>\n                        <\/figure>\n                        <p class=\"oct-setup-hint\">Creating a Trail from Sprites<\/p>\n                        <ol class=\"oct-steps\" style=\"margin-top: 14px;\">\n                            <li><label class=\"oct-step\"><input type=\"checkbox\" class=\"oct-check\"><span class=\"oct-box\"><\/span><span class=\"oct-step-text\">Pick the <strong>TouchSquaresTrail<\/strong> prefab as a base: duplicate it, rename the copy, and add it to the Canvas of the scene where it should play. Set its local position to <strong>0, 0, 0<\/strong>.<\/span><\/label><\/li>\n                            <li><label class=\"oct-step\"><input type=\"checkbox\" class=\"oct-check\"><span class=\"oct-box\"><\/span><span class=\"oct-step-text\">Move the pointer across the Game view to test the effect at runtime.<\/span><\/label><\/li>\n                            <li><label class=\"oct-step\"><input type=\"checkbox\" class=\"oct-check\"><span class=\"oct-box\"><\/span><span class=\"oct-step-text\">Find the <strong>SparkleSpawner<\/strong> component on the effect. Sprite trails are built from images instead of a shader material: set <strong>Sparkle Textures<\/strong> and <strong>Sparkle Colors<\/strong> for the look, and <strong>Dispersion Type<\/strong> for the direction the sparkles spread.<\/span><\/label><\/li>\n                            <li><label class=\"oct-step\"><input type=\"checkbox\" class=\"oct-check\"><span class=\"oct-box\"><\/span><span class=\"oct-step-text\">Enter Play Mode to test the new look. Iterate outside Play Mode, tuning  it for desktop and mobile separately.<\/span><\/label><\/li>\n                        <\/ol>\n                    <\/aside>\n                <\/div>\n            <\/article>\n\n                       <article class=\"oct-hands-panel is-hidden\">\n                <div class=\"oct-topic-grid\">\n                    <div class=\"oct-topic-main\">\n                        <p>A blade is the same trail logic, with extra tapering at the ends. It brings Fruit Ninja-style visuals to combat systems and fits quick gestures and dynamic gameplay.<\/p>\n\n                        <p class=\"oct-setup-hint\">Creating a Blade from a Shader<\/p>\n                        <ol class=\"oct-steps\" style=\"margin-top: 14px;\">\n                            <li><label class=\"oct-step\"><input type=\"checkbox\" class=\"oct-check\"><span class=\"oct-box\"><\/span><span class=\"oct-step-text\">Pick the <strong>TouchBladeTrailCute<\/strong> prefab and use it as a base: duplicate it, rename the copy, and add it to the Canvas of the scene where it should play. Set its local position to <strong>0, 0, 0<\/strong>.<\/span><\/label><\/li>\n                            <li><label class=\"oct-step\"><input type=\"checkbox\" class=\"oct-check\"><span class=\"oct-box\"><\/span><span class=\"oct-step-text\">Move the pointer across the Game view to test the effect at runtime. It tracks input automatically.<\/span><\/label><\/li>\n                            <li><label class=\"oct-step\"><input type=\"checkbox\" class=\"oct-check\"><span class=\"oct-box\"><\/span><span class=\"oct-step-text\">Find the <strong>Glow Material<\/strong> field on the effect. As before, this is what shapes the visuals. Swap it for any other material - one from the Blade folder, or one built the same way. To edit the current material safely, duplicate it first, reassign the copy in that field, and tweak the copy so other effects that share the original stay untouched.<\/span><\/label><\/li>\n                            <li><label class=\"oct-step\"><input type=\"checkbox\" class=\"oct-check\"><span class=\"oct-box\"><\/span><span class=\"oct-step-text\">Enter Play Mode to test the new look with input in the Game view. Iterate outside Play Mode, tuning values in <strong>TouchGlowUI<\/strong> for the new visuals. Desktop and mobile each have their own particle counts and taper settings. Changes to the Glow Material apply when the effect respawns or Play Mode restarts.<\/span><\/label><\/li>\n                        <\/ol>\n\n                                                <p class=\"oct-setup-hint\">Three-Color Gradient<\/p>\n                       <p>The blade's richness comes from the shader's ability to blend colors smoothly over the effect's lifetime: start, middle, and end. No textures, no extra particles - one shader carries the full palette shift. The shape also shrinks rather than fades, so the edge stays sharp at every stage. The <strong>TouchPointGradient<\/strong> shader fits blade materials well.<\/p>\n                    <\/div>\n                    <aside class=\"oct-topic-side\">\n                        <p class=\"oct-setup-hint\">Touch Blade Trail Ninja<\/p>\n                        <figure class=\"oct-slide-media oct-corners\" style=\"margin-top: 14px;\">\n                            <div class=\"oct-slide-media-frame\" style=\"aspect-ratio: 9 \/ 16;\">\n                                <div class=\"oct-yt\" data-yt-id=\"NNYnPsb5Uz8\" data-yt-title=\"Touch Blade Trail Ninja\">\n                                    <a class=\"oct-yt-cover\" href=\"https:\/\/www.youtube.com\/watch?v=NNYnPsb5Uz8\" target=\"_blank\" rel=\"noopener noreferrer\" aria-label=\"Watch the video: Touch Blade Trail Ninja\">\n                                        <img alt=\"\">\n                                        <span class=\"oct-yt-play\" aria-hidden=\"true\">\n                                            <svg viewBox=\"0 0 24 24\" fill=\"currentColor\"><path d=\"M8 5v14l11-7z\"><\/path><\/svg>\n                                        <\/span>\n                                    <\/a>\n                                <\/div>\n                            <\/div>\n                        <\/figure>\n                    <\/aside>\n                <\/div>\n            <\/article>\n                        <article class=\"oct-hands-panel is-hidden\">\n                <div class=\"oct-topic-grid\">\n                    <div class=\"oct-topic-main\">\n                        <p>Earlier sections covered long trails that follow input. Here the focus is one-shot effects triggered by a tap. They are built from shader particles, sprites, or text - your choice. Every touch effect attaches to the Canvas of the scene once, then responds to input automatically at runtime.<\/p>\n\n                        <ol class=\"oct-steps\" style=\"margin-top: 14px;\">\n                            <li><label class=\"oct-step\"><input type=\"checkbox\" class=\"oct-check\"><span class=\"oct-box\"><\/span><span class=\"oct-step-text\">Open <strong>Tools <span class=\"oct-text-arrow\">\u2192<\/span> Procedural VFX Toolkit <span class=\"oct-text-arrow\">\u2192<\/span> Open Demo Scene<\/strong> and enter Play Mode. In the hierarchy, under <strong>----ONE TOUCH SIMPLE----<\/strong>, enable any effect and click inside the Game view - you will see a touch effect, for example <strong>TouchFingerprint<\/strong>. It is built from the same components as a trail, and is edited the same way.<\/span><\/label><\/li>\n                        <\/ol>\n\n                        <p class=\"oct-setup-hint\">Shader Effects<\/p>\n                        <p>The focus is <strong>TouchGlowUI<\/strong> <span class=\"oct-text-arrow\">\u2192<\/span> <strong>Glow Material<\/strong>, which shapes the touch effect's visuals. Adjust it or swap it for any other shader material in the system, and iterate outside Play Mode. If the material used by the effect has hold logic enabled (for example, the <strong>TouchRadialSparks<\/strong> effect), the effect keeps playing until the user lifts their finger.<\/p>\n\n                        <p class=\"oct-setup-hint\">Sprite Effects<\/p>\n                        <p>The focus is <strong>SparkleSpawner<\/strong> and its settings. Assign textures, their colors, and animation types. Example: the <strong>TouchGlitter<\/strong> prefab.<\/p>\n\n                        <p class=\"oct-setup-hint\">Text Effects<\/p>\n                        <p>The focus is <strong>TouchTextUI<\/strong> and its settings. Assign strings, fonts, colors, sprite assets, and animation types. Example: the <strong>TextEffectLoot<\/strong> prefab. Prefer universal characters and numbers here, so the effect does not need localizing.<\/p>\n\n                        <p>All such VFX in the system reference the <strong>InputController<\/strong> - configure input behavior there for what you need. Add sounds, read only a specific mouse button, recognize touches only on specific layers, tags, or objects, or call a touch effect manually.<\/p>\n                        <ol class=\"oct-steps\" style=\"margin-top: 14px;\">\n                            <li><label class=\"oct-step\"><input type=\"checkbox\" class=\"oct-check\"><span class=\"oct-box\"><\/span><span class=\"oct-step-text\">To create a new touch effect, duplicate one of the existing ones and edit its values. Then add your prefab to the Canvas of the scene where it should play.<\/span><\/label><\/li>\n                        <\/ol>\n                    <\/div>\n                    <aside class=\"oct-topic-side\">\n                        <figure class=\"oct-slide-media oct-corners\" style=\"margin-top: 14px;\">\n                            <div class=\"oct-slide-media-frame\" style=\"aspect-ratio: 9 \/ 16;\">\n                                <div class=\"oct-yt\" data-yt-id=\"h2anzJChDpo\" data-yt-title=\"Touch Effects in Mobile Games\">\n                                    <a class=\"oct-yt-cover\" href=\"https:\/\/www.youtube.com\/watch?v=h2anzJChDpo\" target=\"_blank\" rel=\"noopener noreferrer\" aria-label=\"Watch the video: Touch Effects in Mobile Games\">\n                                        <img alt=\"\">\n                                        <span class=\"oct-yt-play\" aria-hidden=\"true\">\n                                            <svg viewBox=\"0 0 24 24\" fill=\"currentColor\"><path d=\"M8 5v14l11-7z\"><\/path><\/svg>\n                                        <\/span>\n                                    <\/a>\n                                <\/div>\n                            <\/div>\n                        <\/figure>\n                        <p class=\"oct-setup-hint\">OneTouch vs ParticlePreviewPlayer<\/p>\n                        <p>The <strong>Creating a Playable VFX on the UI<\/strong> section covers spawning VFX on the UI layer without input binding. If you need a specific effect on a button press, consider manually spawning an effect rather than a touch effect with complex conditions.<\/p>\n                    <\/aside>\n                <\/div>\n            <\/article>\n        <\/div>\n    <\/div>\n<\/section>\n\n<script>\n(function () {\n    var VERSION_KEY = 'octAssetVersion';\n    var TAB_KEY = 'octHandsTabV4';\n    var EXT_KEY = 'octExtendedTabV1';\n    var root = document.documentElement;\n\n    var versionButtons = document.querySelectorAll('.oct-setup-tab');\n    var versionVariants = document.querySelectorAll('.oct-setup-variant');\n    var setupPanel = document.querySelector('.oct-setup-panel');\n    var fullBgPanels = document.querySelectorAll('[data-full-bg]');\n    var leadSet = document.querySelector('.oct-hands-set.is-lead');\n\n    function readStore(key, fallback) {\n        try {\n            var v = localStorage.getItem(key);\n            return v === null ? fallback : v;\n        } catch (e) {\n            return fallback;\n        }\n    }\n\n    function writeStore(key, value) {\n        try {\n            localStorage.setItem(key, value);\n        } catch (e) {}\n    }\n\n    function applyVersion(version) {\n        root.setAttribute('data-asset-version', version);\n\n        versionButtons.forEach(function (b) {\n            var active = b.getAttribute('data-setup') === version;\n            b.classList.toggle('is-active', active);\n            b.setAttribute('aria-selected', active);\n        });\n\n        versionVariants.forEach(function (v) {\n            v.classList.toggle('is-hidden', v.getAttribute('data-setup-panel') !== version);\n        });\n\n        if (setupPanel) setupPanel.classList.toggle('has-bg', version === 'full');\n        fullBgPanels.forEach(function (p) {\n            p.classList.toggle('has-bg', version === 'full');\n        });\n\n        writeStore(VERSION_KEY, version);\n    }\n\n        function applyTab(set, index) {\n        var tabs = set.querySelectorAll('.oct-hands-tab');\n        var panels = set.querySelectorAll('.oct-hands-panel');\n        if (!tabs.length || !panels.length) return;\n        if (index < 0 || index >= tabs.length) index = 0;\n\n        tabs.forEach(function (t, n) {\n            t.classList.toggle('is-active', n === index);\n            t.setAttribute('aria-selected', n === index);\n        });\n        panels.forEach(function (p, n) {\n            p.classList.toggle('is-hidden', n !== index);\n        });\n\n        \/\/ lazy-load iframes only when their panel becomes visible\n        if (panels[index]) {\n            var lazyFrames = panels[index].querySelectorAll('iframe[data-src]');\n            lazyFrames.forEach(function (frame) {\n                frame.src = frame.getAttribute('data-src');\n                frame.removeAttribute('data-src');\n            });\n        }\n    }\n\n    function copyText(text, onSuccess) {\n        function legacy() {\n            var ta = document.createElement('textarea');\n            ta.value = text;\n            ta.setAttribute('readonly', '');\n            ta.style.position = 'absolute';\n            ta.style.left = '-9999px';\n            document.body.appendChild(ta);\n            ta.select();\n            var ok = false;\n            try { ok = document.execCommand('copy'); } catch (e) {}\n            document.body.removeChild(ta);\n            if (ok) onSuccess();\n        }\n\n        if (navigator.clipboard && window.isSecureContext) {\n            navigator.clipboard.writeText(text).then(onSuccess).catch(legacy);\n        } else {\n            legacy();\n        }\n    }\n\n    function bindCodeCopy() {\n        document.querySelectorAll('.oct-code-wrap').forEach(function (wrap) {\n            var btn = wrap.querySelector('.oct-code-copy');\n            var code = wrap.querySelector('.oct-code');\n            if (!btn || !code) return;\n\n            btn.addEventListener('click', function () {\n                var text = code.textContent.replace(\/\\s+$\/, '');\n                copyText(text, function () {\n                    btn.textContent = 'Copied';\n                    btn.classList.add('is-copied');\n                    setTimeout(function () {\n                        btn.textContent = 'Copy';\n                        btn.classList.remove('is-copied');\n                    }, 1500);\n                });\n            });\n        });\n    }\n\n    function boot() {\n        var savedVersion = readStore(VERSION_KEY, 'free');\n        if (savedVersion !== 'free' && savedVersion !== 'full') savedVersion = 'free';\n        applyVersion(savedVersion);\n\n        if (leadSet) {\n            var savedTab = parseInt(readStore(TAB_KEY, '3'), 10);\n            if (isNaN(savedTab)) savedTab = 3;\n            applyTab(leadSet, savedTab);\n        }\n\n        var extSet = document.querySelector('#extended-guide .oct-hands-set');\n        if (extSet) {\n           var savedExt = parseInt(readStore(EXT_KEY, '1'), 10);\n            if (isNaN(savedExt)) savedExt = 0;\n            applyTab(extSet, savedExt);\n        }\n\n        bindCodeCopy();\n\n        \/\/ lazy YouTube covers inside practice panels\n        document.querySelectorAll('.oct-yt[data-yt-id]').forEach(function (box) {\n            if (box.getAttribute('data-yt-bound') === '1') return;\n            box.setAttribute('data-yt-bound', '1');\n\n            var id = box.getAttribute('data-yt-id');\n            var cover = box.querySelector('.oct-yt-cover');\n            var img = cover.querySelector('img');\n           var sizes = ['maxresdefault', 'sddefault', 'hqdefault', 'mqdefault'];\n\n            function tryNext(i) {\n                if (i >= sizes.length) {\n                    img.src = 'https:\/\/i.ytimg.com\/vi\/' + id + '\/hqdefault.jpg';\n                    return;\n                }\n                var probe = new Image();\n                probe.onload = function () {\n                    if (probe.naturalWidth >= 300) {\n                        img.src = probe.src;\n                    } else {\n                        tryNext(i + 1);\n                    }\n                };\n                probe.onerror = function () { tryNext(i + 1); };\n                probe.src = 'https:\/\/i.ytimg.com\/vi\/' + id + '\/' + sizes[i] + '.jpg';\n            }\n            tryNext(0);\n\n            cover.addEventListener('click', function (e) {\n                e.preventDefault();\n                var frame = document.createElement('iframe');\n                frame.src = 'https:\/\/www.youtube.com\/embed\/' + id + '?rel=0&autoplay=1';\n                frame.title = box.getAttribute('data-yt-title') || '';\n                frame.allow = 'autoplay; encrypted-media; picture-in-picture';\n                frame.allowFullscreen = true;\n                cover.hidden = true;\n                box.appendChild(frame);\n            });\n        });\n\n        document.addEventListener('click', function (e) {\n            var tab = e.target.closest('.oct-hands-tab');\n            if (tab) {\n                var set = tab.closest('.oct-hands-set');\n                var tabs = set.querySelectorAll('.oct-hands-tab');\n                var i = Array.prototype.indexOf.call(tabs, tab);\n                if (i < 0) return;\n                applyTab(set, i);\n                if (set.classList.contains('is-lead')) writeStore(TAB_KEY, String(i));\n                else if (set.closest('#extended-guide')) writeStore(EXT_KEY, String(i));\n                return;\n            }\n\n            var versionBtn = e.target.closest('.oct-setup-tab');\n            if (versionBtn) {\n                applyVersion(versionBtn.getAttribute('data-setup'));\n                return;\n            }\n        });\n    }\n\n    if (document.readyState === 'loading') {\n        document.addEventListener('DOMContentLoaded', boot);\n    } else {\n        boot();\n    }\n})();\n<\/script>\n\n\n\n<style>\n\/* gain: layout only, colors and sizes come from the shared :root *\/\n.oct-gain {\n    width: 100%;\n    box-sizing: border-box;\n    margin: 12px 0;\n    scroll-margin-top: 16px;\n}\n\n.oct-gain h2 {\n    margin: 0 0 16px;\n    color: #fff;\n    font-size: var(--fs-h2);\n    font-weight: 600;\n    line-height: 1.2;\n}\n\n.oct-gain h2::after {\n    content: \"\";\n    display: block;\n    width: 60px;\n    height: 3px;\n    margin-top: 8px;\n    background: var(--primary-light);\n}\n\n.oct-gain-grid {\n    display: grid;\n    grid-template-columns: minmax(0, 1.35fr) minmax(200px, 0.65fr);\n    gap: 16px 28px;\n    align-items: start;\n}\n\n.oct-gain p,\n.oct-gain li {\n    margin: 0;\n    color: var(--text-muted);\n    font-size: var(--fs-small);\n    line-height: var(--lh-body);\n}\n\n.oct-gain p + p,\n.oct-gain ul + p { margin-top: 10px; }\n.oct-gain strong { color: #fff; font-weight: 600; }\n\n.oct-gain ul {\n    margin: 8px 0 0;\n    padding: 0 0 0 1.15em;\n}\n\n.oct-gain li::marker { color: var(--primary); }\n.oct-gain li + li { margin-top: 6px; }\n\n.oct-gain-flow {\n    display: flex;\n    flex-direction: column;\n}\n\n.oct-gain-row {\n    display: grid;\n    grid-template-columns: 116px minmax(0, 1fr);\n    column-gap: 14px;\n}\n\n.oct-gain-tag {\n    display: block;\n    padding-right: 14px;\n    border-right: 1px solid var(--border-highlight);\n    color: var(--primary);\n    font-family: monospace;\n    font-size: var(--fs-label);\n    font-weight: 700;\n    letter-spacing: 0.8px;\n    line-height: calc(var(--fs-small) * var(--lh-body));\n    text-transform: uppercase;\n}\n\n.oct-gain-label {\n    display: flex;\n    flex-direction: column;\n    gap: 12px;\n    padding-right: 14px;\n    border-right: 1px solid var(--border-highlight);\n}\n\n.oct-gain-label .oct-gain-tag {\n    padding-right: 0;\n    border-right: 0;\n}\n\n.oct-gain-hand {\n    display: block;\n    width: 88px;\n    height: 88px;\n    object-fit: contain;\n}\n\n.oct-gain-divider {\n    display: flex;\n    align-items: center;\n    gap: 12px;\n    margin: 14px 0;\n    color: var(--primary);\n    font-family: monospace;\n    font-size: var(--fs-ui);\n    font-weight: 700;\n    line-height: 1;\n}\n\n.oct-gain-divider::before,\n.oct-gain-divider::after {\n    content: \"\";\n    flex: 1;\n    height: 1px;\n    background: var(--border);\n}\n\n.oct-gain-side {\n    display: flex;\n    flex-direction: column;\n    gap: 16px;\n}\n\n.oct-gain-media {\n    position: relative;\n    margin: 0;\n    background: #0a0a0e;\n    border: 1px solid var(--border);\n}\n\n.oct-gain-media img {\n    display: block;\n    width: 100%;\n    height: auto;\n}\n\n@media (max-width: 800px) {\n    .oct-gain-grid { grid-template-columns: 1fr; }\n}\n\n@media (max-width: 500px) {\n    .oct-gain-row { grid-template-columns: minmax(0, 1fr); row-gap: 8px; }\n    .oct-gain-tag { padding-right: 0; border-right: 0; line-height: 1.4; }\n    .oct-gain-label {\n        flex-direction: row;\n        align-items: center;\n        gap: 10px;\n        padding-right: 0;\n        border-right: 0;\n    }\n    .oct-gain-hand { width: 72px; height: 72px; }\n}\n<\/style>\n\n<section class=\"oct-gain\" id=\"what-you-gain\">\n    <div class=\"oct-gain-grid\">\n        <div class=\"oct-gain-main\">\n            <h2>What You Gain<\/h2>\n            <div class=\"oct-gain-flow\">\n                <div class=\"oct-gain-row\">\n                    <span class=\"oct-gain-tag\">Takes<\/span>\n                    <div>\n                        <p>Mastering our Unity VFX Shader Techniques takes a few things: an understanding of how a shader and the material made from it are structured, familiarity with the sample effect prefabs for different use cases, and the ability to spawn an effect prefab in the right context.<\/p>\n                    <\/div>\n                <\/div>\n\n                <div class=\"oct-gain-divider\" aria-hidden=\"true\"><span>\u2193<\/span><\/div>\n\n                <div class=\"oct-gain-row\">\n                    <div class=\"oct-gain-label\">\n                        <span class=\"oct-gain-tag\">Gain<\/span>\n                        <img data-recalc-dims=\"1\" decoding=\"async\" class=\"oct-gain-hand\" src=\"https:\/\/i0.wp.com\/www.octantastudio.com\/wp-content\/buildadd\/HandTimeGesture.webp?ssl=1\" alt=\"\" aria-hidden=\"true\" loading=\"lazy\">\n                    <\/div>\n                    <div>\n                        <p>In return, you get lightweight, optimized VFX that can be customized for your project, a system you can use as a foundation for building new effects, and coverage of different devices and render pipelines with flexible settings. This gives you:<\/p>\n                        <ul>\n                            <li><strong>Time savings.<\/strong> No hunting for a suitable effect, no reworking someone else's, no building a new system from scratch.<\/li>\n                            <li><strong>Independence.<\/strong> No reliance on a suitable asset or a specialist being available: you can create what you need yourself.<\/li>\n                            <li><strong>A portable skill.<\/strong> Learn the principle once and apply it across different projects, games, and situations.<\/li>\n                        <\/ul>\n <p>This system was originally meant to ship together with a custom-effect service for other developers. In the end, we wrote this guide instead, so you can build them yourself and keep full autonomy over your project. That said, we still need to make a living - and we're open to exchange, so the full Procedural VFX Toolkit is available to buy.<\/p>\n                    <\/div>\n                <\/div>\n            <\/div>\n        <\/div>\n        <div class=\"oct-gain-side\">\n            <aside class=\"oct-note\">\n                <p class=\"oct-note-text\">Learn Unity VFX Shader Techniques once, and you can create any effects, in a consistent style throughout your project.<\/p>\n            <\/aside>\n            <figure class=\"oct-gain-media oct-corners\">\n                <img data-recalc-dims=\"1\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/www.octantastudio.com\/wp-content\/buildadd\/DigitalVFXUnity.webp?ssl=1\" alt=\"A montage of effects in a single consistent style\" loading=\"lazy\">\n            <\/figure>\n        <\/div>\n    <\/div>\n<\/section>\n\n\n\n<style>\n\/* quiz: inline block, reuses the page's type, colors and rhythm. No own card. *\/\n.oct-quiz {\n    margin: 16px 0 0;\n    color: #1f1f1f;\n}\n\n[data-oct-theme=\"dark\"] .oct-quiz { color: #fff; }\n\n.oct-quiz .oct-quiz-q {\n    margin: 0 0 10px;\n    font-size: var(--fs-small);\n    line-height: var(--lh-body);\n}\n\n.oct-quiz-opts {\n    display: flex;\n    flex-direction: column;\n    gap: 6px;\n}\n\n.oct-quiz-item { min-width: 0; }\n\n.oct-quiz-opt {\n    display: flex;\n    align-items: flex-start;\n    gap: 10px;\n    width: 100%;\n    box-sizing: border-box;\n    margin: 0;\n    padding: 8px 12px;\n    background: rgba(0, 0, 0, 0.2);\n    border: 1px solid var(--border-highlight);\n    border-radius: 0;\n    color: var(--text-muted);\n    font-family: inherit;\n    font-size: var(--fs-small);\n    line-height: 1.5;\n    text-align: left;\n    cursor: pointer;\n    transition: border-color 0.15s, color 0.15s;\n}\n\n.oct-quiz-opt:hover {\n    color: inherit;\n    border-color: var(--secondary);\n}\n\n.oct-quiz-opt:focus-visible {\n    outline: 2px solid var(--secondary);\n    outline-offset: 2px;\n}\n\n.oct-quiz-mark {\n    flex: 0 0 auto;\n    color: var(--primary);\n    font-family: monospace;\n    font-size: var(--fs-label);\n    font-weight: 700;\n    letter-spacing: 0.5px;\n    line-height: 1.7;\n}\n\n.oct-quiz-item.is-right .oct-quiz-opt {\n    border-color: var(--secondary);\n    color: inherit;\n    cursor: default;\n}\n\n.oct-quiz-item.is-right .oct-quiz-mark { color: var(--secondary); }\n\n.oct-quiz-item.is-wrong .oct-quiz-opt {\n    color: var(--text-subtle);\n    cursor: default;\n}\n\n.oct-quiz-item.is-wrong .oct-quiz-mark { color: var(--text-subtle); }\n\n.oct-quiz.is-solved .oct-quiz-item:not(.is-right) .oct-quiz-opt {\n    opacity: 0.5;\n    cursor: default;\n}\n\n.oct-quiz.is-solved .oct-quiz-item:not(.is-right) .oct-quiz-opt:hover {\n    color: var(--text-muted);\n    border-color: var(--border-highlight);\n}\n\n.oct-quiz .oct-quiz-why {\n    margin: 6px 0 0;\n    font-size: var(--fs-small);\n    line-height: var(--lh-body);\n}\n\n.oct-quiz-why[hidden] { display: none; }\n\n.oct-quiz-reset {\n    margin: 12px 0 0;\n    padding: 0;\n    background: none;\n    border: 0;\n    color: var(--secondary);\n    font-family: monospace;\n    font-size: var(--fs-ui);\n    font-weight: 500;\n    cursor: pointer;\n}\n\n.oct-quiz-reset:hover { color: var(--secondary-light); }\n.oct-quiz-reset[hidden] { display: none; }\n\n.oct-quiz-reset:focus-visible {\n    outline: 2px solid var(--secondary);\n    outline-offset: 2px;\n}\n\n.oct-quiz-sr {\n    position: absolute;\n    width: 1px;\n    height: 1px;\n    margin: -1px;\n    padding: 0;\n    overflow: hidden;\n    clip-path: inset(50%);\n    white-space: nowrap;\n}\n<\/style>\n\n<style>\n\/* anatomy: a compact annotated shader tour inside the practice panel.\n   Vertical list on the left, code and explanation on the right. *\/\n.oct-anat-intro {\n    display: grid;\n    grid-template-columns: minmax(150px, 180px) minmax(0, 1fr);\n    gap: 14px 16px;\n    align-items: start;\n    margin: 0 0 12px;\n    min-width: 0;\n}\n\n.oct-anat-intro-media {\n    margin: 0;\n    background: #0a0a0e;\n    border: 1px solid var(--border);\n    box-sizing: border-box;\n}\n\n.oct-anat-intro-media img {\n    display: block;\n    width: 100%;\n    height: auto;\n}\n\n\/* explanation under a task in the anatomy sections, aligned with the task title (skips the .oct-box) *\/\n.oct-hands-panel .oct-anat-intro .oct-steps li > p,\n.oct-hands-panel .oct-anat-rules .oct-steps li > p { margin: 8px 0 0 34px; }\n\n.oct-anat-set {\n    display: grid;\n    grid-template-columns: minmax(150px, 180px) minmax(0, 1fr);\n    gap: 14px 16px;\n    align-items: start;\n    margin: 12px 0 0;\n    min-width: 0;\n}\n\n.oct-anat-map {\n    display: flex;\n    flex-direction: column;\n    gap: 3px;\n    min-width: 0;\n}\n\n.oct-anat-file {\n    margin: 0 0 2px;\n    color: var(--text-subtle);\n    font-family: monospace;\n    font-size: var(--fs-label);\n    letter-spacing: 0.8px;\n    text-transform: uppercase;\n}\n\nbutton.oct-anat-bar {\n    display: flex;\n    align-items: center;\n    gap: 6px;\n    margin: 0;\n    padding: 5px 6px 5px calc(6px + var(--lv, 0) * 7px);\n    background: rgba(0, 0, 0, 0.04);\n    border: 1px solid var(--border-highlight);\n    border-radius: 0;\n    color: var(--text-muted);\n    font-family: monospace;\n    font-size: var(--fs-label);\n    line-height: 1.35;\n    text-align: left;\n    cursor: pointer;\n    min-width: 0;\n    overflow: hidden;\n}\n\nbutton.oct-anat-bar:hover { color: #1f1f1f; }\n\n[data-oct-theme=\"dark\"] button.oct-anat-bar:hover { color: #fff; }\n\nbutton.oct-anat-bar.is-active {\n    background: var(--accent);\n    border-color: var(--accent);\n    color: #fff;\n    cursor: default;\n}\n\nbutton.oct-anat-bar:focus-visible {\n    outline: 2px solid var(--secondary);\n    outline-offset: 2px;\n}\n\n.oct-anat-num {\n    flex: 0 0 auto;\n    box-sizing: border-box;\n    width: 18px;\n    height: 15px;\n    display: inline-flex;\n    align-items: center;\n    justify-content: center;\n    background: rgba(0, 0, 0, 0.06);\n    border: 1px solid var(--border-highlight);\n}\n\n.oct-anat-bar.is-active .oct-anat-num {\n    border-color: rgba(255, 255, 255, 0.4);\n}\n\n.oct-anat-num.is-mark::before {\n    content: \"\";\n    width: 4px;\n    height: 4px;\n    background: var(--primary);\n    transform: rotate(45deg);\n}\n\n.oct-anat-bar.is-active .oct-anat-num.is-mark::before { background: #fff; }\n\n.oct-anat-sig {\n    flex: 1 1 auto;\n    min-width: 0;\n    overflow: hidden;\n    text-overflow: ellipsis;\n    white-space: nowrap;\n}\n\n.oct-anat-right {\n    min-width: 0;\n    overflow: hidden;\n}\n\n.oct-anat-panel {\n    display: none;\n}\n\n.oct-anat-panel.is-current { display: block; }\n\n.oct-anat-head {\n    display: flex;\n    align-items: baseline;\n    gap: 10px;\n    margin: 0 0 6px;\n}\n\n.oct-anat-head h4 {\n    margin: 0;\n    color: var(--primary);\n    font-family: monospace;\n    font-size: var(--fs-label);\n    font-weight: 700;\n    letter-spacing: 0.8px;\n    line-height: 1.4;\n    text-transform: uppercase;\n}\n\n.oct-anat-say {\n    margin: 0;\n    color: var(--text-muted);\n    font-size: var(--fs-small);\n    line-height: var(--lh-body);\n}\n\n.oct-anat-code {\n    margin: 8px 0 0;\n    padding: 8px 0;\n    overflow-x: auto;\n    background: #1a1a22;\n    border: 1px solid rgba(0, 0, 0, 0.3);\n    color: #d4d4dc;\n    font-family: monospace;\n    font-size: var(--fs-ui);\n    line-height: 1.5;\n    box-sizing: border-box;\n    white-space: normal;\n    min-width: 0;\n    -webkit-overflow-scrolling: touch;\n}\n\n[data-oct-theme=\"dark\"] .oct-anat-code {\n    background: rgba(0, 0, 0, 0.4);\n    border-color: var(--border);\n}\n\n.oct-anat-code code {\n    display: block;\n    font: inherit;\n}\n\n.oct-anat-ln {\n    position: relative;\n    display: block;\n    padding: 0 10px 0 22px;\n    white-space: pre;\n}\n\n.oct-anat-ln::before {\n    content: \"\";\n    display: none;\n    position: absolute;\n    left: 6px;\n    top: 0.7em;\n    box-sizing: border-box;\n    width: 5px;\n    height: 5px;\n    background: var(--dc, transparent);\n    border: 1px solid var(--db, transparent);\n    transform: rotate(45deg);\n}\n\n.oct-anat-ln.is-you::before,\n.oct-anat-ln.is-keep::before,\n.oct-anat-ln.is-auto::before { display: block; }\n\n.oct-anat-ln.is-you {\n    color: #fff;\n    background: linear-gradient(90deg, rgba(139, 92, 246, 0.22) 0%, rgba(139, 92, 246, 0) 90%);\n}\n\n.oct-anat-ln.is-auto { color: rgba(255, 255, 255, 0.55); }\n.oct-anat-ln.is-fold { color: rgba(255, 255, 255, 0.35); }\n\n.oct-anat-code b {\n    padding: 0 2px;\n    background: rgba(139, 92, 246, 0.35);\n    color: #fff;\n    font-weight: 600;\n}\n\n.oct-anat-list {\n    margin: 10px 0 0;\n    padding: 0;\n    list-style: none;\n}\n\n.oct-anat-list li {\n    position: relative;\n    margin: 0;\n    padding-left: 16px;\n    color: var(--text-muted);\n    font-size: var(--fs-small);\n    line-height: var(--lh-body);\n}\n\n.oct-anat-list li + li { margin-top: 6px; }\n\n.oct-anat-list li::before {\n    content: \"\";\n    position: absolute;\n    left: 3px;\n    top: 0.65em;\n    box-sizing: border-box;\n    width: 5px;\n    height: 5px;\n    background: var(--dc, transparent);\n    border: 1px solid var(--db, transparent);\n    transform: rotate(45deg);\n}\n\n.oct-anat-list code,\n.oct-anat-say code,\n.oct-anat-rules code {\n    padding: 0 3px;\n    background: rgba(0, 0, 0, 0.06);\n    color: #1f1f1f;\n    font-family: monospace;\n    font-size: 0.92em;\n}\n\n[data-oct-theme=\"dark\"] .oct-anat-list code,\n[data-oct-theme=\"dark\"] .oct-anat-say code,\n[data-oct-theme=\"dark\"] .oct-anat-rules code {\n    background: rgba(0, 0, 0, 0.35);\n    color: #fff;\n}\n\n.oct-anat .oct-anat-tip {\n    margin: 10px 0 0;\n    padding: 8px 12px 8px 36px;\n}\n\n.oct-anat .oct-anat-tip .oct-note-text { font-size: var(--fs-small); }\n\n.oct-anat .is-you  { --dc: var(--primary);     --db: var(--primary); }\n.oct-anat .is-keep { --dc: transparent;        --db: var(--text-subtle); }\n.oct-anat .is-auto { --dc: var(--text-subtle); --db: var(--text-subtle); }\n\n\/* intro note with a hand illustration instead of the star icon *\/\n.oct-note.has-hand-gesture {\n    padding: 16px 14px 16px 76px;\n    background: none;\n    border-left: 0;\n}\n\n.oct-note.has-hand-gesture::before {\n    background-color: transparent;\n    background-image: url(\"https:\/\/www.octantastudio.com\/wp-content\/buildadd\/ProceduralVFXToolkitIcon.webp\");\n    background-size: contain;\n    background-position: center;\n    background-repeat: no-repeat;\n    border-radius: 0;\n    width: 48px;\n    height: 48px;\n    top: 50%;\n    margin-top: -24px;\n}\n\n\/* caption under an embedded build inside the aside *\/\n.oct-topic-media figcaption {\n    padding: 8px 12px;\n    border-top: 1px solid var(--border);\n    color: var(--text-subtle);\n    font-family: monospace;\n    font-size: var(--fs-label);\n    letter-spacing: 0.4px;\n    line-height: 1.4;\n    text-transform: uppercase;\n}\n\n\/* directions: card grid for effect motion types.\n   The image sits on top with a tag overlay, the text goes below the image. *\/\n.oct-dirs {\n    display: grid;\n    grid-template-columns: repeat(4, minmax(0, 1fr));\n    gap: 14px;\n    margin: 0;\n}\n\n.oct-dir {\n    position: relative;\n    margin: 0;\n    min-width: 0;\n    display: flex;\n    flex-direction: column;\n}\n\n.oct-dir-media {\n    position: relative;\n    aspect-ratio: 1 \/ 1;\n    overflow: hidden;\n    background: #0a0a0e;\n    border: 1px solid var(--border);\n}\n\n.oct-dir-media img {\n    position: absolute;\n    inset: 0;\n    display: block;\n    width: 100%;\n    height: 100%;\n    object-fit: cover;\n}\n\n.oct-dir-tag {\n    position: absolute;\n    left: 0;\n    right: 0;\n    top: 0;\n    padding: 10px;\n    background: rgba(18, 18, 24, 0.8);\n    color: #a78bfa;\n    font-family: monospace;\n    font-size: var(--fs-label);\n    font-weight: 700;\n    letter-spacing: 0.8px;\n    line-height: 1.3;\n    text-transform: uppercase;\n    pointer-events: none;\n}\n\n.oct-dir-text {\n    margin: 8px 0 0;\n    color: var(--text-muted);\n    font-size: var(--fs-small);\n    line-height: var(--lh-body);\n}\n\n@media (max-width: 900px) {\n    .oct-dirs { grid-template-columns: repeat(2, minmax(0, 1fr)); }\n}\n\n@media (max-width: 440px) {\n    .oct-dirs { grid-template-columns: minmax(0, 1fr); }\n}\n\n.oct-anat-rules {\n    margin: 20px 0 0;\n}\n\n.oct-anat-rules ul {\n    margin: 8px 0 0;\n    padding: 0 0 0 1.15em;\n    list-style: disc;\n}\n\n.oct-anat-rules li {\n    margin: 0;\n    color: var(--text-muted);\n    font-size: var(--fs-small);\n    line-height: var(--lh-body);\n}\n\n.oct-anat-rules li::marker { color: var(--primary); }\n.oct-anat-rules li + li { margin-top: 6px; }\n\n@media (max-width: 700px) {\n    .oct-anat-intro {\n        grid-template-columns: minmax(0, 1fr);\n        gap: 14px;\n    }\n    .oct-anat-intro-media { max-width: 100%; }\n\n    .oct-anat-set { grid-template-columns: minmax(0, 1fr); gap: 12px; }\n    .oct-anat-map { flex-direction: row; flex-wrap: wrap; align-items: flex-start; }\n    .oct-anat-file { flex: 0 0 100%; }\n    .oct-anat-bar { padding: 5px 8px; font-size: var(--fs-small); }\n}\n<\/style>\n\n<section class=\"oct-hands\" id=\"extended-guide\" aria-label=\"Extended Guide\">\n    <div class=\"oct-hands-top\">\n        <h2>Extended Guide<\/h2>\n        <span class=\"oct-practice\">Practice<\/span>\n    <\/div>\n\n    <aside class=\"oct-note has-hand-gesture\">\n        <p class=\"oct-note-text\"><strong>Extended Guide<\/strong> is advanced training based on the full Procedural VFX Toolkit. It also covers writing shaders from scratch, AI generation with prompt breakdown, advanced techniques such as Heat Trails, Blade Effects, and Touch Accents, real project examples, plus extended operations, documentation, AI skills, and technical details.<\/p>\n    <\/aside>\n\n    <div class=\"oct-hands-set\">\n        <div class=\"oct-hands-bar\" role=\"tablist\" aria-label=\"Extended Guide topics\">\n            <button type=\"button\" class=\"oct-hands-tab is-full\" role=\"tab\" aria-selected=\"false\">Designing an Effect Technically<\/button>\n            <button type=\"button\" class=\"oct-hands-tab is-full is-active\" role=\"tab\" aria-selected=\"true\">Designing Effect Directions<\/button>\n            <button type=\"button\" class=\"oct-hands-tab is-full\" role=\"tab\" aria-selected=\"false\">Getting Different Results from One Material<\/button>\n            <button type=\"button\" class=\"oct-hands-tab is-full\" role=\"tab\" aria-selected=\"false\">Placing Effects in Context<\/button>\n            <button type=\"button\" class=\"oct-hands-tab is-full\" role=\"tab\" aria-selected=\"false\">Fixing Glitches and Tuning Performance<\/button>\n            <button type=\"button\" class=\"oct-hands-tab is-full\" role=\"tab\" aria-selected=\"false\">Support and Community<\/button>\n            <div class=\"oct-hands-foot\" aria-hidden=\"true\"><\/div>\n        <\/div>\n        <div class=\"oct-hands-stage oct-corners\">\n            <article class=\"oct-hands-panel is-hidden\">\n                <div class=\"oct-topic-grid\">\n                    <div class=\"oct-topic-main\">\n                        <aside class=\"oct-note oct-anat-tip\">\n                            <p class=\"oct-note-text\">Fewer particles are often the easiest way to improve performance. Check whether the shader material you\u2019re using includes a count slider. Lower its default or max value.<\/p>\n                        <\/aside>\n\n                        <div class=\"oct-anat-intro\">\n                            <figure class=\"oct-anat-intro-media\">\n                                <img data-recalc-dims=\"1\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/www.octantastudio.com\/wp-content\/buildadd\/HealingVFX.webp?ssl=1\" alt=\"Healing effect preview\" loading=\"lazy\">\n                            <\/figure>\n                            <div>\n                                <ol class=\"oct-steps\">\n                                    <li>\n                                        <label class=\"oct-step\"><input type=\"checkbox\" class=\"oct-check\"><span class=\"oct-box\"><\/span><span class=\"oct-step-text\">Master Tuning in the Material Inspector<\/span><\/label>\n                                        <p>A shader material is where the effect gets tuned. Edit its sliders and preview the cycle right in the Inspector. If available, drag the <strong>OneTouch Hold Age<\/strong> slider to see an approximate animation without entering Play Mode.<\/p>\n                                    <\/li>\n                                    <li>\n                                        <label class=\"oct-step\"><input type=\"checkbox\" class=\"oct-check\"><span class=\"oct-box\"><\/span><span class=\"oct-step-text\">Edit a Shader, try Writing from a Template<\/span><\/label>\n                                        <p>You are not limited by what the material offers: edit shader properties, raise a size's max for a bigger effect, lower a count's min for a lighter one, and so on. Some shader parts are yours to edit, and some need to stay intact for the structure to keep working. Every shader in this system has the same frame: only the picture changes. Click a part to see what it does, and whether it is yours to change or works by itself.<\/p>\n                                    <\/li>\n                                <\/ol>\n                            <\/div>\n                        <\/div>\n\n                        <div class=\"oct-anat-set\">\n                            <div class=\"oct-anat-map\" role=\"tablist\" aria-label=\"Parts of the shader, top to bottom\">\n                                <span class=\"oct-anat-file\">HealingPluses.shader<\/span>\n\n                                <button type=\"button\" class=\"oct-anat-bar is-active\" role=\"tab\" aria-selected=\"true\" aria-controls=\"oct-anat-p0\" style=\"--lv:0\">\n                                    <span class=\"oct-anat-num is-mark\" aria-hidden=\"true\"><\/span>\n                                    <span class=\"oct-anat-sig\">Shader<\/span>\n                                <\/button>\n                                <button type=\"button\" class=\"oct-anat-bar\" role=\"tab\" aria-selected=\"false\" aria-controls=\"oct-anat-p1\" style=\"--lv:1\">\n                                    <span class=\"oct-anat-num is-mark\" aria-hidden=\"true\"><\/span>\n                                    <span class=\"oct-anat-sig\">Properties<\/span>\n                                <\/button>\n                                <button type=\"button\" class=\"oct-anat-bar\" role=\"tab\" aria-selected=\"false\" aria-controls=\"oct-anat-p2\" style=\"--lv:1\">\n                                    <span class=\"oct-anat-sig\">SubShader<\/span>\n                                <\/button>\n                                <button type=\"button\" class=\"oct-anat-bar\" role=\"tab\" aria-selected=\"false\" aria-controls=\"oct-anat-p3\" style=\"--lv:2\">\n                                    <span class=\"oct-anat-sig\">Pass, vert<\/span>\n                                <\/button>\n<button type=\"button\" class=\"oct-anat-bar\" role=\"tab\" aria-selected=\"false\" aria-controls=\"oct-anat-pfrag\" style=\"--lv:2\">\n    <span class=\"oct-anat-sig\">frag<\/span>\n<\/button>\n                                <button type=\"button\" class=\"oct-anat-bar\" role=\"tab\" aria-selected=\"false\" aria-controls=\"oct-anat-p4\" style=\"--lv:3\">\n                                    <span class=\"oct-anat-sig\">age<\/span>\n                                <\/button>\n                                <button type=\"button\" class=\"oct-anat-bar\" role=\"tab\" aria-selected=\"false\" aria-controls=\"oct-anat-p5\" style=\"--lv:3\">\n                                    <span class=\"oct-anat-num is-mark\" aria-hidden=\"true\"><\/span>\n                                    <span class=\"oct-anat-sig\">the picture<\/span>\n                                <\/button>\n                                <button type=\"button\" class=\"oct-anat-bar\" role=\"tab\" aria-selected=\"false\" aria-controls=\"oct-anat-p6\" style=\"--lv:3\">\n                                    <span class=\"oct-anat-sig\">edgeFade<\/span>\n                                <\/button>\n                                <button type=\"button\" class=\"oct-anat-bar\" role=\"tab\" aria-selected=\"false\" aria-controls=\"oct-anat-p7\" style=\"--lv:3\">\n                                    <span class=\"oct-anat-sig\">return<\/span>\n                                <\/button>\n                                <button type=\"button\" class=\"oct-anat-bar\" role=\"tab\" aria-selected=\"false\" aria-controls=\"oct-anat-p8\" style=\"--lv:1\">\n                                    <span class=\"oct-anat-num\" aria-hidden=\"true\"><\/span>\n                                    <span class=\"oct-anat-sig\">Fallback<\/span>\n                                <\/button>\n                            <\/div>\n\n                            <div class=\"oct-anat-right\">\n                                <div class=\"oct-anat-stage\">\n                                    <article class=\"oct-anat-panel is-current\" id=\"oct-anat-p0\" role=\"tabpanel\">\n                                        <div class=\"oct-anat-head\">\n                                            <h4>Name<\/h4>\n                                        <\/div>\n                                        <p class=\"oct-anat-say\">Every shader opens with a name that looks like a path.<\/p>\n                                        <pre class=\"oct-anat-code\"><code><span class=\"oct-anat-ln is-you\">Shader \"UniversalProceduralVfx\/<b>HealingPluses<\/b>\"<\/span><\/code><\/pre>\n                                        <ul class=\"oct-anat-list\">\n                                            <li class=\"is-keep\"><strong>Keep<\/strong> <code>UniversalProceduralVfx\/<\/code>. It is the shared folder, and the Wizard finds your effect through it.<\/li>\n                                            <li class=\"is-you\"><strong>Yours:<\/strong> the last word. It is the effect's name: HealingPluses, Fireflies, RadialSparks.<\/li>\n                                        <\/ul>\n                                    <\/article>\n\n                                    <article class=\"oct-anat-panel\" id=\"oct-anat-p1\" role=\"tabpanel\">\n                                        <div class=\"oct-anat-head\">\n                                            <h4>Properties<\/h4>\n                                        <\/div>\n                                        <p class=\"oct-anat-say\">Hidden system fields first, then the sliders for the designer, then the hold behavior.<\/p>\n                                        <pre class=\"oct-anat-code\"><code><span class=\"oct-anat-ln is-auto\">[HideInInspector] _TimeNow (\"Time Now\", Float) = 0<\/span><span class=\"oct-anat-ln is-auto\">[HideInInspector] _StartTime (\"Start Time\", Float) = 0<\/span><span class=\"oct-anat-ln is-auto\">[HideInInspector] _Lifetime (\"Lifetime\", Float) = 2.5<\/span><span class=\"oct-anat-ln is-fold\">\u2026<\/span><span class=\"oct-anat-ln is-auto\">[HideInInspector] _RandomSeed (\"Random Seed\", Float) = 0<\/span><span class=\"oct-anat-ln is-you\">_PlusColor (\"Plus Color\", Color) = (0.4, 1, 0.6, 1)<\/span><span class=\"oct-anat-ln is-you\">_PlusCount (\"Plus Count\", Range(<b>5, 20<\/b>)) = 5<\/span><span class=\"oct-anat-ln is-you\">_PlusSize (\"Plus Size\", Range(<b>0.02, 0.08<\/b>)) = 0.04<\/span><span class=\"oct-anat-ln is-fold\">\u2026<\/span><span class=\"oct-anat-ln is-auto\">_OneTouchHoldAge (\"OneTouch Hold Age\", Range(0.0, 1.0)) = 0<\/span><span class=\"oct-anat-ln is-auto\">[Toggle] _HoldingForbidden (\"Holding Forbidden\", Float) = 1<\/span><\/code><\/pre>\n                                        <ul class=\"oct-anat-list\">\n                                            <li class=\"is-auto\"><strong>Auto:<\/strong> the hidden fields. The player writes <code>_TimeNow<\/code>, <code>_StartTime<\/code>, <code>_Lifetime<\/code> and, when the shader has it, <code>_RandomSeed<\/code> - a fresh one on every spawn. The last two lines are read by <code>TouchGlowUI<\/code> on the Canvas. Leave them as they are. <code>_RandomSeed<\/code> is the hook for randomizing anything visuals: pick a parameter, mix it with the seed in the shader, and each spawn will be a little different.<\/li>\n                                            <li class=\"is-you\"><strong>Yours:<\/strong> the open sliders. Edit a default, widen a <code>Range(...)<\/code> for a bigger effect, narrow it for finer control.<\/li>\n                                        <\/ul>\n                                    <\/article>\n\n                                    <article class=\"oct-anat-panel\" id=\"oct-anat-p2\" role=\"tabpanel\">\n                                        <div class=\"oct-anat-head\">\n                                            <h4>SubShader<\/h4>\n                                        <\/div>\n                                        <p class=\"oct-anat-say\">Tells Unity how to draw the effect: as a transparent object that never hides what is behind it.<\/p>\n                                        <pre class=\"oct-anat-code\"><code><span class=\"oct-anat-ln is-keep\">Tags { \"RenderType\"=\"Transparent\" \"Queue\"=\"Transparent\" \"IgnoreProjector\"=\"True\" }<\/span><span class=\"oct-anat-ln is-you\">Blend <b>One One<\/b><\/span><span class=\"oct-anat-ln is-keep\">Cull Off<\/span><span class=\"oct-anat-ln is-keep\">ZWrite Off<\/span><span class=\"oct-anat-ln is-keep\">ZTest LEqual<\/span><\/code><\/pre>\n                                        <ul class=\"oct-anat-list\">\n                                            <li class=\"is-keep\"><strong>Keep:<\/strong> the transparent queue, <code>Cull Off<\/code> and <code>ZWrite Off<\/code>. The effect is drawn after solid objects, on both sides, and without writing depth.<\/li>\n                                            <li class=\"is-you\"><strong>Yours:<\/strong> <code>Blend<\/code> is the one choice here. <code>One One<\/code> adds light (glows, sparks, fire). <code>SrcAlpha OneMinusSrcAlpha<\/code> draws ordinary see-through shapes. Pick it once, when you design the effect.<\/li>\n                                        <\/ul>\n                                    <\/article>\n\n                                    <article class=\"oct-anat-panel\" id=\"oct-anat-p3\" role=\"tabpanel\">\n                                        <div class=\"oct-anat-head\">\n                                            <h4>Pass and vertex<\/h4>\n                                        <\/div>\n                                        <p class=\"oct-anat-say\">The vert performs 2 tasks: it transforms the quad\u2019s vertices into clip space (using UnityObjectToClipPos) - to put the quad on the screen - and passes along the UVs, a 0 to 1 coordinate across the quad.<\/p>\n                                        <pre class=\"oct-anat-code\"><code><span class=\"oct-anat-ln is-keep\">#pragma vertex vert<\/span><span class=\"oct-anat-ln is-keep\">#pragma fragment frag<\/span><span class=\"oct-anat-ln is-fold\">\u2026<\/span><span class=\"oct-anat-ln is-keep\">float _TimeNow, _StartTime, _Lifetime;<\/span><span class=\"oct-anat-ln is-you\">float4 _PlusColor, _GlowColor;<\/span><span class=\"oct-anat-ln is-you\">float _PlusCount, _PlusSize, _PlusThickness;<\/span><span class=\"oct-anat-ln is-fold\">\u2026<\/span><span class=\"oct-anat-ln is-keep\">v2f vert (appdata v) {<\/span><span class=\"oct-anat-ln is-keep\">    o.pos = UnityObjectToClipPos(v.vertex);<\/span><span class=\"oct-anat-ln is-keep\">    o.uv = v.uv;<\/span><span class=\"oct-anat-ln is-keep\">}<\/span><\/code><\/pre>\n                                        <ul class=\"oct-anat-list\">\n                                            <li class=\"is-keep\"><strong>Keep:<\/strong> <code>vert<\/code>. It is the same in every shader. The whole picture is drawn per pixel in <code>frag<\/code>.<\/li>\n                                            <li class=\"is-you\"><strong>Yours:<\/strong> the declarations repeat every property from Properties under the same name. A property that is added but not declared here is a common syntax error: the shader fails to compile.<\/li>\n                                        <\/ul>\n                                    <\/article>\n<article class=\"oct-anat-panel\" id=\"oct-anat-pfrag\" role=\"tabpanel\">\n    <div class=\"oct-anat-head\">\n        <h4>Fragment<\/h4>\n    <\/div>\n    <p class=\"oct-anat-say\">The frag runs once for every pixel of the quad and answers with that pixel's color and opacity. This is where the effect is drawn: the four parts below are its steps, in the same order as the list on the left.<\/p>\n    <pre class=\"oct-anat-code\"><code><span class=\"oct-anat-ln is-keep\">fixed4 frag (v2f i) : SV_Target {<\/span><span class=\"oct-anat-ln is-fold\">\u2026<\/span><span class=\"oct-anat-ln is-keep\">    return float4(finalColor, finalAlpha);<\/span><span class=\"oct-anat-ln is-keep\">}<\/span><\/code><\/pre>\n    <ul class=\"oct-anat-list\">\n        <li class=\"is-keep\"><strong>Keep:<\/strong> the signature. <code>i.uv<\/code> is the 0 to 1 coordinate of the current pixel, interpolated from the UVs that <code>vert<\/code> passed along. Every shape in the picture and the edge fade are measured from it.<\/li>\n        <li class=\"is-you\"><strong>Yours:<\/strong> the picture in the middle. The clock, the edges and the return around it stay as they are.<\/li>\n    <\/ul>\n<\/article>\n                                    <article class=\"oct-anat-panel\" id=\"oct-anat-p4\" role=\"tabpanel\">\n                                        <div class=\"oct-anat-head\">\n                                            <h4>Age<\/h4>\n                                        <\/div>\n                                        <p class=\"oct-anat-say\">The effect's clock. <code>age<\/code> runs from 0 (just born) to 1 (finished).<\/p>\n                                        <pre class=\"oct-anat-code\"><code><span class=\"oct-anat-ln is-auto\">float age = (_TimeNow - _StartTime) \/ _Lifetime;<\/span><span class=\"oct-anat-ln is-fold\">\u2026<\/span><span class=\"oct-anat-ln is-keep\">if (age &lt; 0.0 || age &gt;= 1.0) return float4(0, 0, 0, 0);<\/span><span class=\"oct-anat-ln is-keep\">float effectiveAge = age;<\/span><span class=\"oct-anat-ln is-keep\">if (_HoldingForbidden == 0) {<\/span><span class=\"oct-anat-ln is-keep\">    effectiveAge = min(age, _OneTouchHoldAge);<\/span><span class=\"oct-anat-ln is-keep\">}<\/span><\/code><\/pre>\n                                        <ul class=\"oct-anat-list\">\n                                            <li class=\"is-auto\"><strong>Auto:<\/strong> the clock values come from the player. You never set them in the shader.<\/li>\n                                            <li class=\"is-keep\"><strong>Keep:<\/strong> outside 0 to 1 the pixel is fully transparent right away, so nothing shows before the start or after the end. <code>effectiveAge<\/code> is <code>age<\/code> with the hold rule applied, and the picture reads this one.<\/li>\n                                        <\/ul>\n                                    <\/article>\n\n                                    <article class=\"oct-anat-panel\" id=\"oct-anat-p5\" role=\"tabpanel\">\n                                        <div class=\"oct-anat-head\">\n                                            <h4>The picture<\/h4>\n                                        <\/div>\n                                        <p class=\"oct-anat-say\">Everything you see is made here: shapes, motion, colors, pulses. It is different in every effect, and it is the part you design to fit your project.<\/p>\n                                        <pre class=\"oct-anat-code\"><code><span class=\"oct-anat-ln is-keep\">float lifeFade = sin(effectiveAge * 3.14159);<\/span><span class=\"oct-anat-ln is-fold\">\u2026<\/span><span class=\"oct-anat-ln is-you\">for (int p = 0; p &lt; <b>20<\/b>; p++) {<\/span><span class=\"oct-anat-ln is-you\">    if (p &gt;= plusCount) break;<\/span><span class=\"oct-anat-ln is-fold\">    \u2026<\/span><span class=\"oct-anat-ln is-you\">    float plusCore = softPlus(toPlus, plusSize, _PlusThickness);<\/span><span class=\"oct-anat-ln is-fold\">    \u2026<\/span><span class=\"oct-anat-ln is-you\">    finalColor += _PlusColor.rgb * plusCore * pulse * naturalFade * _Brightness;<\/span><span class=\"oct-anat-ln is-you\">    finalAlpha += plusBrightness;<\/span><span class=\"oct-anat-ln is-you\">}<\/span><\/code><\/pre>\n                                        <ul class=\"oct-anat-list\">\n                                            <li class=\"is-you\"><strong>Yours:<\/strong> the shapes and the motion are written from scratch for each effect. They read the sliders from Properties and add up two totals, <code>finalColor<\/code> and <code>finalAlpha<\/code>.<\/li>\n                                            <li class=\"is-keep\"><strong>Keep the rule:<\/strong> the effect starts fully transparent and ends fully transparent. A curve like <code>sin(age \u00d7 \u03c0)<\/code> does it: it rises from 0 to 1 and falls back to 0.<\/li>\n                                        <\/ul>\n                                    <\/article>\n\n                                    <article class=\"oct-anat-panel\" id=\"oct-anat-p6\" role=\"tabpanel\">\n                                        <div class=\"oct-anat-head\">\n                                            <h4>Edges<\/h4>\n                                        <\/div>\n                                        <p class=\"oct-anat-say\">A soft fade toward the border of the square, so the effect never ends in a hard cut.<\/p>\n                                        <pre class=\"oct-anat-code\"><code><span class=\"oct-anat-ln is-keep\">float2 edgeDist = min(i.uv, 1.0 - i.uv);<\/span><span class=\"oct-anat-ln is-keep\">float edgeFade = smoothstep(0.0, <b>0.25<\/b>, min(edgeDist.x, edgeDist.y));<\/span><\/code><\/pre>\n                                        <ul class=\"oct-anat-list\">\n                                            <li class=\"is-keep\"><strong>Keep:<\/strong> <code>edgeDist<\/code> is the distance to the nearest side of the square.<\/li>\n                                            <li class=\"is-you\"><strong>Yours:<\/strong> <code>0.25<\/code> is how wide the soft border is. A bigger number means a softer border and a smaller effect. A smaller number leaves more room for the effect.<\/li>\n                                        <\/ul>\n                                    <\/article>\n\n                                    <article class=\"oct-anat-panel\" id=\"oct-anat-p7\" role=\"tabpanel\">\n                                        <div class=\"oct-anat-head\">\n                                            <h4>Return<\/h4>\n                                        <\/div>\n                                        <p class=\"oct-anat-say\">The shader gives back one answer per pixel: a color and how opaque it is.<\/p>\n                                        <pre class=\"oct-anat-code\"><code><span class=\"oct-anat-ln is-keep\">float timeFade = 1.0 - smoothstep(0.75, 1.0, age);<\/span><span class=\"oct-anat-ln is-keep\">finalAlpha *= lifeFade * edgeFade * timeFade;<\/span><span class=\"oct-anat-ln is-keep\">finalColor *= lifeFade * edgeFade * timeFade;<\/span><span class=\"oct-anat-ln is-fold\">\u2026<\/span><span class=\"oct-anat-ln is-keep\">return float4(finalColor, finalAlpha);<\/span><\/code><\/pre>\n                                        <ul class=\"oct-anat-list\">\n                                            <li class=\"is-keep\"><strong>Keep:<\/strong> <code>float4(color, alpha)<\/code> is always the last line of <code>frag<\/code>. The fades are multiplied in right before it: whatever the picture does, the pixel is invisible at birth, at the end and at the border, so the effect blends into any scene.<\/li>\n                                        <\/ul>\n                                    <\/article>\n\n                                    <article class=\"oct-anat-panel\" id=\"oct-anat-p8\" role=\"tabpanel\">\n                                        <div class=\"oct-anat-head\">\n                                            <h4>Fallback<\/h4>\n                                        <\/div>\n                                        <p class=\"oct-anat-say\">A safety net at the very end of the file.<\/p>\n                                        <pre class=\"oct-anat-code\"><code><span class=\"oct-anat-ln is-keep\">Fallback \"UI\/Default\"<\/span><\/code><\/pre>\n                                        <ul class=\"oct-anat-list\">\n                                            <li class=\"is-keep\"><strong>Keep:<\/strong> when a device cannot run the shader above, Unity switches to this simple built-in one. It is the same last line in every file.<\/li>\n                                        <\/ul>\n                                    <\/article>\n                                <\/div>\n                            <\/div>\n                        <\/div>\n\n                       <div class=\"oct-anat oct-anat-rules\">\n    <p class=\"oct-setup-hint\">What every shader shares<\/p>\n    <p>Whatever the picture inside, most effects work by the same rules. A shader in this system should have:<\/p>\n    <ul>\n        <li><strong>Life cycle from 0 to 1.<\/strong> The player scripts of the system drive it.<\/li>\n        <li><strong>A transparent background with the picture inside the particle quad.<\/strong> This makes the effect sit seamlessly over the game world, not as a colored square.<\/li>\n        <li><strong>An alpha of 0 at the start and at the end.<\/strong> That gives a smooth appearance and fade-out.<\/li>\n        <li><strong>Random seed<\/strong> (optional, present in most effects). Anything the shader draws can be tied to <code>_RandomSeed<\/code> - in the HealingPluses example, it shifts the positions and sizes of the pluses, so no two plays look the same.<\/li>\n        <li><strong>Hold behavior<\/strong> (optional, present in most touch effects on the UI). Holding is allowed for touch effects on the Canvas when <code>_HoldingForbidden<\/code> is off. <code>_OneTouchHoldAge<\/code> then picks the moment to freeze at, from 0 (start) to 1 (end). The effect holds there while the finger stays down - still or looping in place - and fades once it lifts.<\/li>\n    <\/ul>\n    <p>It is marked as mandatory in the shipped AI prompt. The next section shows which visuals fit into the system.<\/p>\n<\/div>\n                    <\/div>\n                    <aside class=\"oct-topic-side\">\n                        <p class=\"oct-setup-hint\">Blend modes<\/p>\n                        <p>Blend mode decides how your effect meets the background - whether it covers it or adds light to it. The two modes you will meet most in the Procedural VFX Toolkit are alpha blending for standard effects and additive blending for glows.<\/p>\n                        <p>Both are documented in the <a class=\"oct-ref\" href=\"#res-shaderlab\">ShaderLab language reference<\/a>. The functions inside the shader belong to HLSL and are covered in the <a class=\"oct-ref\" href=\"#res-hlsl\">HLSL reference<\/a>.<\/p>\n\n                        <figure class=\"oct-topic-media oct-corners\">\n    <div class=\"oct-slide-media-frame\">\n        <iframe src=\"https:\/\/www.octantastudio.com\/wp-content\/buildadd\/WEBGLHealPlusesHold\/index.html\" title=\"TouchHealingPluses hold demo (URP)\" scrolling=\"no\" allowfullscreen=\"\" loading=\"lazy\"><\/iframe>\n    <\/div>\n    <figcaption>URP - TouchHealingPluses prefab<\/figcaption>\n<\/figure>\n\n                                               <ol class=\"oct-steps\" style=\"counter-reset: oct-step 2; margin: 14px 0 0 0;\">\n                            <li>\n                                <label class=\"oct-step\"><input type=\"checkbox\" class=\"oct-check\"><span class=\"oct-box\"><\/span><span class=\"oct-step-text\">Tap and hold to see a fresh random variation on every play.<\/span><\/label>\n                            <\/li>\n                        <\/ol>\n\n                        <p class=\"oct-setup-hint\">Dark effects<\/p>\n                          <p>A dark or black-and-violet effect needs alpha blending rather than additive. <code>One One<\/code> only adds light, so a near-black color adds almost nothing and the shape vanishes. With <code>SrcAlpha OneMinusSrcAlpha<\/code>, RGB is the ink color and alpha is the shape.<\/p>\n                         <p>Use <code>Ink<\/code> as a reference: a black center with a soft alpha falloff. <code>Shatter<\/code> does the same for cracks - solid black, with the crack itself as the mask. Keep the body dark; a thin violet edge is what makes it read as black-and-violet.<\/p>\n                        <figure class=\"oct-topic-media oct-corners\">\n                            <img data-recalc-dims=\"1\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/www.octantastudio.com\/wp-content\/buildadd\/InkExample.webp?ssl=1\" alt=\"Ink sample: a soft dark blot with a thin violet edge\" loading=\"lazy\">\n                        <\/figure>\n                    <\/aside>\n                <\/div>\n            <\/article>\n\n            <article class=\"oct-hands-panel\">\n                <div class=\"oct-topic-grid\">\n                    <div class=\"oct-topic-main\">\n                        <p>The shader's <code>frag<\/code> is where the effect is drawn. The direction of motion within the particle is what distinguishes a hit effect from an aura. Before creating a shader, decide how the internal visuals should move. Effects can also combine multiple directions rather than relying on just one.<\/p>\n\n                        <div class=\"oct-anat oct-anat-rules\">\n                            <p class=\"oct-setup-hint\">Common directions<\/p>\n                            <div class=\"oct-dirs\">\n                                <figure class=\"oct-dir\">\n                                    <div class=\"oct-dir-media\">\n                                        <img data-recalc-dims=\"1\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/www.octantastudio.com\/wp-content\/buildadd\/EffectRadial.webp?ssl=1\" alt=\"Radial direction\" loading=\"lazy\">\n                                        <span class=\"oct-dir-tag\">Radial<\/span>\n                                    <\/div>\n                                    <figcaption class=\"oct-dir-text\">From the center toward the edges of the particle, or the other way around. A simple impact seen from above or from the front: <strong>FrostCute<\/strong>, ComicPuff.<\/figcaption>\n                                <\/figure>\n\n                                <figure class=\"oct-dir\">\n                                    <div class=\"oct-dir-media\">\n                                        <img data-recalc-dims=\"1\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/www.octantastudio.com\/wp-content\/buildadd\/EffectVertical.webp?ssl=1\" alt=\"Vertical direction\" loading=\"lazy\">\n                                        <span class=\"oct-dir-tag\">Vertical<\/span>\n                                    <\/div>\n                                    <figcaption class=\"oct-dir-text\">From bottom to top, for auras like HealingPluses seen from the side: WaterSplash, <strong>GroundDebris<\/strong>. Top-to-bottom fits fall impacts.<\/figcaption>\n                                <\/figure>\n\n                                <figure class=\"oct-dir\">\n                                    <div class=\"oct-dir-media\">\n                                        <img data-recalc-dims=\"1\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/www.octantastudio.com\/wp-content\/buildadd\/EffectRotati.webp?ssl=1\" alt=\"Directed motion\" loading=\"lazy\">\n                                        <span class=\"oct-dir-tag\">Rotating<\/span>\n                                    <\/div>\n                                    <figcaption class=\"oct-dir-text\">Any other direction or rotation: a drift, a swirl, a spiral. <strong>MagicBloom<\/strong>, Fireflies and FloralGrowth are built on this.<\/figcaption>\n                                <\/figure>\n\n                                <figure class=\"oct-dir\">\n                                    <div class=\"oct-dir-media\">\n                                        <img data-recalc-dims=\"1\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/www.octantastudio.com\/wp-content\/buildadd\/EffectForm.webp?ssl=1\" alt=\"No motion\" loading=\"lazy\">\n                                        <span class=\"oct-dir-tag\">No movement<\/span>\n                                    <\/div>\n                                    <figcaption class=\"oct-dir-text\">The effect is carried by glow, pulsing, scale, random placement, and curves. Cloud and <strong>Fingerprint<\/strong> work this way.<\/figcaption>\n                                <\/figure>\n                            <\/div>\n                        <\/div>\n\n                        <div class=\"oct-anat oct-anat-rules\">\n                            <p class=\"oct-setup-hint\">Worked Example: Lightning Strike<\/p>\n                            <div class=\"oct-anat-intro\">\n                                <figure class=\"oct-anat-intro-media\">\n                                    <img data-recalc-dims=\"1\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/www.octantastudio.com\/wp-content\/buildadd\/QuadDesigns.webp?ssl=1\" alt=\"Quad layout for the lightning strike effect\" loading=\"lazy\">\n                                <\/figure>\n                                <div>\n                                    <p>In our studio's practice, we designed a lightning strike as a shader effect. Its strike point sits at a fixed spot at the bottom of the transparent quad and is then attached to the target in the scene. <code>_RandomSeed<\/code> drives the bolt: it stretches from a random top corner of the quad down to that strike point, so spawned strikes look organic and varied. The effect never leaves the particle bounds.<\/p>\n                                <\/div>\n                            <\/div>\n                            <ol class=\"oct-steps\" style=\"margin: 10px 0 0;\">\n                                <li>\n                                    <label class=\"oct-step\"><input type=\"checkbox\" class=\"oct-check\"><span class=\"oct-box\"><\/span><span class=\"oct-step-text\">Try generating an effect for your own project: first sketch how it should look and behave inside the quad.<\/span><\/label>\n                                    <p>If you use multimodal generative AI, feed it your layout sketch built on the same principle. The more concrete the layout in the prompt, the closer the generated effect gets to the visual you want.<\/p>\n                                <\/li>\n                            <\/ol>\n                        <\/div>\n                    <\/div>\n                    <aside class=\"oct-topic-side\">\n                        <p class=\"oct-setup-hint\">Shader vs Quad Operations<\/p>\n                        <p>Sometimes it is easier to position or rotate the quad than to rewrite the effect. The next section shows how the same effect changes role without touching the shader.<\/p>\n\n                        <p class=\"oct-setup-hint\">Isometric view<\/p>\n<p>The <code>IsometricMarker<\/code> shader and its prefab are built for isometric games, where the Camera looks from one angle most of the time. Tune <strong>Perspective Flatten<\/strong> once for that view: with it, the effect appears volumetric while staying flat - a UI particle on the Canvas, or a mesh perpendicular to the ground. Depending on the task, use the material settings or the correct placement of the effect.<\/p>\n<p>For a 3D effect, try building one from <code>IsometricMarker<\/code> via the Wizard.<\/p>\n                        <figure class=\"oct-topic-media oct-corners\">\n                            <img data-recalc-dims=\"1\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/www.octantastudio.com\/wp-content\/buildadd\/IsometricEffect.webp?ssl=1\" alt=\"IsometricMarker effect in a scene\" loading=\"lazy\">\n                        <\/figure>\n                    <\/aside>\n                <\/div>\n            <\/article>\n\n           <article class=\"oct-hands-panel is-hidden\">\n    <div class=\"oct-topic-grid\">\n        <div class=\"oct-topic-main\">\n            <p>Suppose your task is to outline a character's area of effect (one that grows with the player's upgrades), or show a strong hit differently from a weak one. There are three ways to handle it.<\/p>\n\n            <ol class=\"oct-steps\" style=\"margin: 10px 0 0;\">\n                <li>\n                    <label class=\"oct-step\"><input type=\"checkbox\" class=\"oct-check\"><span class=\"oct-box\"><\/span><span class=\"oct-step-text\">Approach 1 (good for a small number of variations): create several variations of the effect from one shader.<\/span><\/label>\n                    <div class=\"oct-inline-pair\">\n                        <p>Create two materials from the same shader and re-tune one - or start from the shipped pair <code>UI_HealingSpark<\/code> and <code>UI_HealingAura<\/code>: same shader, different look. Then duplicate <code>TemplateUIEmpty<\/code> twice (UI effect prefab template), drop a material into each copy, rename the effects, and spawn whichever fits your case.<\/p>\n                        <div class=\"oct-dirs\">\n                            <figure class=\"oct-dir\">\n                                <div class=\"oct-dir-media\">\n                                    <img data-recalc-dims=\"1\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/www.octantastudio.com\/wp-content\/buildadd\/HealingAura_Visual.webp?ssl=1\" alt=\"UI_HealingAura effect variation\" loading=\"lazy\">\n                                <\/div>\n                            <\/figure>\n                            <figure class=\"oct-dir\">\n                                <div class=\"oct-dir-media\">\n                                    <img data-recalc-dims=\"1\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/www.octantastudio.com\/wp-content\/buildadd\/HealingSpark_Visual.webp?ssl=1\" alt=\"UI_HealingSpark effect variation\" loading=\"lazy\">\n                                <\/div>\n                            <\/figure>\n                        <\/div>\n                    <\/div>\n                <\/li>\n\n                <li>\n                    <label class=\"oct-step\"><input type=\"checkbox\" class=\"oct-check\"><span class=\"oct-box\"><\/span><span class=\"oct-step-text\">Approach 2 (fast, but quality may suffer): scale the effect object with a script at spawn time.<\/span><\/label>\n                    <p>If you need more complex variations than two or three prepared assets, move to the script-based methods. When you instantiate the effect in the scene, multiply its scale by the parameter you need. The built-in <code>VfxController<\/code> spawn methods return the spawned effect, so you can do this:<\/p>\n                    <div class=\"oct-code-wrap\">\n                        <pre class=\"oct-code\"><code>\/\/ Call this from your script wherever the effect should appear:\n\/\/ Vector3 effectPosition = set yours\nGameObject spawnedEffect = vfxController.SpawnUniversalVfxEffect(vfxController.newEffectPrefab, effectPosition); \/\/ the spawned effect\n\nfloat damageValue = 2; \/\/ your damage value\nspawnedEffect.transform.localScale = spawnedEffect.transform.localScale * damageValue;<\/code><\/pre>\n                        <button type=\"button\" class=\"oct-code-copy\" aria-label=\"Copy Approach 2 code\">Copy<\/button>\n                    <\/div>\n                <\/li>\n\n                <li>\n                    <label class=\"oct-step\"><input type=\"checkbox\" class=\"oct-check\"><span class=\"oct-box\"><\/span><span class=\"oct-step-text\">Approach 3 (best quality and high flexibility): change the effect material right before the spawn.<\/span><\/label>\n                    <p>Scaling from the previous approach is often enough, but stretching can spoil the effect's appearance and does not let you influence anything other than the Transform. If the shader exposes a property, for example a radius slider, push the value straight into the material. Make sure the prepared effect's Transform is large enough to fit both the minimum and the maximum radius of the internal visuals. Make sure the material is not shared with other effects, and do not make the change in Update: set it once before instantiating the effect.<\/p>\n\n                    <p class=\"oct-setup-hint\">Assign the material<\/p>\n                    <div class=\"oct-code-wrap\">\n                        <pre class=\"oct-code\"><code>\/\/ In your script, assign a reference to the material of the effect you use\n[SerializeField] private Material effectShaderMaterial;\n\n\/\/ Better to cache once: the default radius from the material\nprivate float baseBurstSize = 1;<\/code><\/pre>\n                        <button type=\"button\" class=\"oct-code-copy\" aria-label=\"Copy material field\">Copy<\/button>\n                    <\/div>\n\n                    <p class=\"oct-setup-hint\">Set the value at spawn<\/p>\n                    <div class=\"oct-code-wrap\">\n                        <pre class=\"oct-code\"><code>\/\/ When you spawn the effect for your context, pass in the current multiplier\nfloat characterRadius = 2; \/\/ your radius, for example\n\n\/\/ Check the shader actually exposes _BurstSize before writing to it\nif (effectShaderMaterial.HasProperty(Shader.PropertyToID(\"_BurstSize\"))) \/\/ example radius slider\n{\n    float mult = characterRadius;\n    float reqRad = mult * baseBurstSize; \/\/ correction for the shader's own scale\n    effectShaderMaterial.SetFloat(\"_BurstSize\", reqRad); \/\/ pushed into the shader, affects rendering\n}<\/code><\/pre>\n                        <button type=\"button\" class=\"oct-code-copy\" aria-label=\"Copy radius code\">Copy<\/button>\n                    <\/div>\n                <\/li>\n            <\/ol>\n        <\/div>\n\n        <aside class=\"oct-topic-side\">\n    <p class=\"oct-setup-hint\">Mesh operations<\/p>\n    <p>You already know that <code>_RandomSeed<\/code> can vary an effect, and that the material's settings make it flexible enough to fit the camera's perspective or other features of your project. But sometimes, besides the shader, it makes sense to adjust the spawn of the object itself - mostly in 3D, where the effect plays on a Mesh Renderer.<\/p>\n\n    <p class=\"oct-setup-hint\">Spawn approach<\/p>\n    <p>Choose a spawn approach that suits your needs. Sometimes the simplest option is to prepare a Transform on the spawn target - already positioned and rotated - then spawn the effect inside it at zero position and zero rotation. The next section covers positioning effects in world coordinates.<\/p>\n<\/aside>\n    <\/div>\n<\/article>\n         <article class=\"oct-hands-panel is-hidden\">\n    <div class=\"oct-topic-grid\">\n        <div class=\"oct-topic-main\">\n            <p>This section is mostly about 3D - on the Canvas, placement is simple: put the element above the others, in the right spot, use masks and other UI features. For quads in world coordinates, the setups vary. A world-space VFX is a flat, transparent Canvas that plays a visual inside, so it can be arranged in quite a few ways. Here are the common ones:<\/p>\n\n            <ol class=\"oct-steps\" style=\"margin: 10px 0 0;\">\n                <li>\n                    <label class=\"oct-step\"><input type=\"checkbox\" class=\"oct-check\"><span class=\"oct-box\"><\/span><span class=\"oct-step-text\">Approach 1 (child of another object): spawn the VFX as a child of an object in the scene.<\/span><\/label>\n                    <p>Choose the object to attach the VFX reaction to: a playing card that needs a \"reveal\" effect, a top-down strategy figure that needs a ring (hula-hoop-like) indicator showing an attack, or an object that triggers an explosion on contact. Create an empty child under the target and spawn the effect inside it. From then on, the parent's movement and rotation carry the effect with it. Reset the local transform so the effect sits exactly at the marker:<\/p>\n                    <div class=\"oct-code-wrap\">\n                        <pre class=\"oct-code\"><code>GameObject vfx = Instantiate(effectPrefab, spawnPoint); \/\/ spawnPoint: the parent's marker Transform\nvfx.transform.localPosition = Vector3.zero;\nvfx.transform.localRotation = Quaternion.identity;<\/code><\/pre>\n                        <button type=\"button\" class=\"oct-code-copy\" aria-label=\"Copy spawn inside parent code\">Copy<\/button>\n                    <\/div>\n                <\/li>\n\n                <li>\n                    <label class=\"oct-step\"><input type=\"checkbox\" class=\"oct-check\"><span class=\"oct-box\"><\/span><span class=\"oct-step-text\">Approach 2 (facing the camera): try building a universal script that turns any 3D effect toward the camera, and attach this component to the effects that need it.<\/span><\/label>\n                    <p>This approach is for portals, smoke, fire, and ground impacts: the quad stands perpendicular to the ground. Instantiation needs the correct position and rotation so the effect looks volumetric relative to the player. This is billboarding: the quad keeps facing the player's view, so it reads as solid from any angle. Write the script yourself, or start from this sample:<\/p>\n                    <div class=\"oct-code-wrap\">\n                        <pre class=\"oct-code\"><code>using UnityEngine;\npublic class FaceCamera : MonoBehaviour\n{\n    [SerializeField] private float yawOffset = 0f; \/\/ extra rotation of the object around the vertical axis, in degrees\n    private Transform cam;\n    private void Awake() { cam = Camera.main.transform; }\n\n    private void LateUpdate()\n    {\n        Vector3 camForward = cam.forward;\n        Vector3 camRight = cam.right;\n        Vector3 up = Vector3.Cross(camForward, camRight);\n        transform.rotation = Quaternion.LookRotation(-camForward, up);\n        transform.Rotate(Vector3.up, yawOffset);\n    }\n}<\/code><\/pre>\n                        <button type=\"button\" class=\"oct-code-copy\" aria-label=\"Copy FaceCamera script\">Copy<\/button>\n                    <\/div>\n                <\/li>\n            <\/ol>\n        <\/div>\n\n       <aside class=\"oct-topic-side\">\n    <ol class=\"oct-steps\" style=\"counter-reset: oct-step 2; margin: 0;\">\n        <li>\n            <label class=\"oct-step\"><input type=\"checkbox\" class=\"oct-check\"><span class=\"oct-box\"><\/span><span class=\"oct-step-text\">Approach 3 (parallel to the ground): instantiate the effect with the correct position and rotation, then experiment with mesh forms.<\/span><\/label>\n            <p>This approach fits active zones, movement ranges, and build or entry spots. The quad settles in a layer just above the ground. For complex surfaces, processing the mesh itself may be useful. For example, in our own game, we cropped the effect's mesh to match the arena edges.<\/p>\n        <\/li>\n    <\/ol>\n\n    <p class=\"oct-setup-hint\">Effect spawned over the arena<\/p>\n    <figure class=\"oct-topic-media oct-corners\">\n        <img data-recalc-dims=\"1\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/www.octantastudio.com\/wp-content\/buildadd\/VFXSunAsIs.webp?ssl=1\" alt=\"Effect spawned over the arena\" loading=\"lazy\">\n    <\/figure>\n\n    <p style=\"text-align: center; margin: 8px 0 0;\"><span class=\"oct-text-arrow\" aria-hidden=\"true\">\u2193<\/span><\/p>\n\n    <p class=\"oct-setup-hint\">Mesh cropped at the arena edges<\/p>\n    <figure class=\"oct-topic-media oct-corners\">\n        <img data-recalc-dims=\"1\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/www.octantastudio.com\/wp-content\/buildadd\/VFXSunCrop.webp?ssl=1\" alt=\"Effect mesh cropped at the arena edges\" loading=\"lazy\">\n    <\/figure>\n\n    <p style=\"text-align: center; margin: 8px 0 0;\"><span class=\"oct-text-arrow\" aria-hidden=\"true\">\u2193<\/span><\/p>\n\n    <p class=\"oct-setup-hint\">The radius shown on the arena<\/p>\n    <figure class=\"oct-topic-media oct-corners\">\n        <img data-recalc-dims=\"1\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/www.octantastudio.com\/wp-content\/buildadd\/VFXSunSideview.webp?ssl=1\" alt=\"The final radius shown on the arena\" loading=\"lazy\">\n    <\/figure>\n<\/aside>\n    <\/div>\n<\/article>\n          <article class=\"oct-hands-panel is-hidden\">\n    <div class=\"oct-topic-grid\">\n        <div class=\"oct-topic-main\">\n            <div class=\"oct-quiz\" id=\"quiz-optimization\" style=\"margin-top: 0;\">\n                <p class=\"oct-quiz-q\" id=\"oct-quiz-q1\">Which simple way to optimize a shader effect have we already covered?<\/p>\n                <div class=\"oct-quiz-opts\" role=\"group\" aria-labelledby=\"oct-quiz-q1\">\n                    <div class=\"oct-quiz-item\">\n                        <button type=\"button\" class=\"oct-quiz-opt\">\n                            <span class=\"oct-quiz-mark\" data-n=\"01\">01<\/span>\n                            <span>Position UI effects around the player so they stand in for heavy world graphics.<\/span>\n                        <\/button>\n                        <p class=\"oct-quiz-why\" hidden=\"\"><strong>Not quite.<\/strong> Still a smart trick: a UI particle plays the effect more cheaply, because it skips the extra material on a mesh renderer.<\/p>\n                    <\/div>\n                    <div class=\"oct-quiz-item\">\n                        <button type=\"button\" class=\"oct-quiz-opt\">\n                            <span class=\"oct-quiz-mark\" data-n=\"02\">02<\/span>\n                            <span>Set a lower resolution and frame rate for the effect.<\/span>\n                        <\/button>\n                        <p class=\"oct-quiz-why\" hidden=\"\"><strong>Close!<\/strong> A different method came up earlier, but this one is very effective too for world VFX. The fewer pixels the player has to draw, the lighter your build.<\/p>\n                    <\/div>\n                    <div class=\"oct-quiz-item\">\n                        <button type=\"button\" class=\"oct-quiz-opt\" data-correct=\"\">\n                            <span class=\"oct-quiz-mark\" data-n=\"03\">03<\/span>\n                            <span>Reduce the number of animated particles with the material's count slider.<\/span>\n                        <\/button>\n                        <p class=\"oct-quiz-why\" hidden=\"\"><strong>Correct!<\/strong> The fewer separate elements the GPU has to animate, the better the performance. That is also why soft, misty effects are the cheapest.<\/p>\n                    <\/div>\n                    <div class=\"oct-quiz-item\">\n                        <button type=\"button\" class=\"oct-quiz-opt\">\n                            <span class=\"oct-quiz-mark\" data-n=\"04\">04<\/span>\n                            <span>Shrink the effect with its Transform.<\/span>\n                        <\/button>\n                        <p class=\"oct-quiz-why\" hidden=\"\"><strong>Not quite.<\/strong> The shader runs over a RenderTexture, not per screen pixel of the quad, so shrinking the quad saves almost nothing.<\/p>\n                    <\/div>\n                <\/div>\n                <button type=\"button\" class=\"oct-quiz-reset\" hidden=\"\">Try again<\/button>\n                <span class=\"oct-quiz-sr\" aria-live=\"polite\"><\/span>\n            <\/div>\n\n            <div class=\"oct-anat oct-anat-rules\">\n                <p class=\"oct-setup-hint\">Approaches to optimization<\/p>\n                <p>Poorly optimized effects can look great and still cause glitches and stutters, so the Procedural VFX Toolkit offers several ways to optimize effect performance, depending on the scenario.<\/p>\n\n                <ol class=\"oct-steps\" style=\"margin: 14px 0 0;\">\n                    <li>\n                        <label class=\"oct-step\"><input type=\"checkbox\" class=\"oct-check\"><span class=\"oct-box\"><\/span><span class=\"oct-step-text\">Optimize any world effect by lowering its Resolution.<\/span><\/label>\n                       <p>For example, open the <strong>VFXFireAbsorbtion<\/strong> prefab with the <strong>GlowMeshPlayer<\/strong> component. Set a smaller <strong>Resolution<\/strong> (256, for example) and a lower <strong>Target Blit FPS<\/strong>. In Play Mode, drag the prefab into the scene and see how the change affects the effect's visual and the FPS.<\/p>\n                    <\/li>\n                    <li>\n                        <label class=\"oct-step\"><input type=\"checkbox\" class=\"oct-check\"><span class=\"oct-box\"><\/span><span class=\"oct-step-text\">Optimize any trail effect by reducing the number of points.<\/span><\/label>\n                        <p>For example, open the <strong>TouchGlowTrailHeat<\/strong> prefab with the <strong>TouchGlowUI<\/strong> component. Lower <strong>Desktop Max Points<\/strong> and scale the mobile count proportionally. In Play Mode, place the effect on the Canvas, click inside the Game view, and see how the change affects the effect's visual and the FPS.<\/p>\n                    <\/li>\n                    <li>\n                        <label class=\"oct-step\"><input type=\"checkbox\" class=\"oct-check\"><span class=\"oct-box\"><\/span><span class=\"oct-step-text\">Optimize any effect by editing its shader (the universal, recommended way).<\/span><\/label>\n                        <p>For example, open the shader material of an effect you made yourself. Check which visual elements have a count (sparkles, dust, dots) and lower that count. Test how the change affects the visual where you use the effect.<\/p>\n                    <\/li>\n                <\/ol>\n            <\/div>\n        <\/div>\n\n        <aside class=\"oct-topic-side\">\n            <p class=\"oct-setup-hint\">Editor Glitches, Build OK<\/p>\n            <p>When working with shader effects, you may come across glitches. Don't panic: first check whether the glitch repeats in the build (it shouldn't). The flicker in the Unity Editor usually comes from the effect being rendered by several cameras at once (the effect preview + Scene view + Game view). Only scene cameras remain in the build, so the FPS load is lighter. We also added extra rendering safeguards to ensure reliable results. More on that <a class=\"oct-ref\" href=\"#res-vfx-discussions\">here (Procedural VFX Toolkit thread on Unity Discussions)<\/a>.<\/p>\n        <\/aside>\n    <\/div>\n<\/article>\n\n                                  <article class=\"oct-hands-panel is-hidden\">\n    <div class=\"oct-topic-grid\">\n        <div class=\"oct-topic-main\">\n            <p class=\"oct-setup-hint\">PDF documentation on GitBook<\/p>\n<p>The asset's main documentation lives on <a class=\"oct-ref\" href=\"https:\/\/octanta-studio.gitbook.io\/touch-effect-system-for-unity\" target=\"_blank\" rel=\"noopener noreferrer\">GitBook<\/a>. Download it in the <strong>Prompting &amp; PDF<\/strong> section.<\/p>\n\n<aside class=\"oct-note oct-anat-tip\">\n    <p class=\"oct-note-text\">Upload the file to your AI assistant so it can guide you through the asset - a simple way to get oriented without granting the AI file access.<\/p>\n<\/aside>\n\n            <p class=\"oct-setup-hint\">AI Skills inside the package<\/p>\n            <p>The asset ships with AI skills built to meet Unity Asset Store recommendations. To use them, open your AI assistant (Unity AI, Claude Code, Cursor, and so on), give it access to the asset at <code>Assets\/OctantaStudio\/TouchEffectSystem\/AI\/Skills\/<\/code>, and work with AI support that way.<\/p>\n        <\/div>\n        <aside class=\"oct-topic-side\">\n            <p class=\"oct-setup-hint\">From the asset's developers<\/p>\n            <p>This page is an interactive guide built by the same developers who ship the asset, in both its free and full versions. Every part of it is meant to help you understand how the shader approach works in practice.<\/p>\n            <p>Our social links are at the bottom of the page - reach out there if you have something to tell us.<\/p>\n        <\/aside>\n    <\/div>\n<\/article>\n        <\/div>\n    <\/div>\n<\/section>\n\n<script>\n(function () {\n    \/\/ Written without the logical and \/ or operators: WordPress HTML-escapes them in inline scripts.\n    document.querySelectorAll('.oct-anat-set').forEach(function (root) {\n        var bars = root.querySelectorAll('.oct-anat-bar');\n        var panels = root.querySelectorAll('.oct-anat-panel');\n        var map = root.querySelector('.oct-anat-map');\n        var current = 0;\n\n        function show(i) {\n            current = i;\n            bars.forEach(function (bar, n) {\n                var on = n === i;\n                bar.classList.toggle('is-active', on);\n                bar.setAttribute('aria-selected', on ? 'true' : 'false');\n                bar.tabIndex = on ? 0 : -1;\n            });\n            panels.forEach(function (panel, n) {\n                panel.classList.toggle('is-current', n === i);\n            });\n        }\n\n        bars.forEach(function (bar, n) {\n            bar.addEventListener('click', function () { show(n); });\n        });\n\n        map.addEventListener('keydown', function (e) {\n            var next = -1;\n            if (e.key === 'ArrowDown') next = Math.min(current + 1, bars.length - 1);\n            if (e.key === 'ArrowUp') next = Math.max(current - 1, 0);\n            if (e.key === 'Home') next = 0;\n            if (e.key === 'End') next = bars.length - 1;\n            if (next < 0) return;\n            e.preventDefault();\n            bars[next].focus();\n            show(next);\n        });\n\n        show(0);\n    });\n})();\n<\/script>\n<script>\n(function () {\n    \/\/ Written without the logical and \/ or operators: WordPress HTML-escapes them in inline scripts.\n    document.querySelectorAll('.oct-quiz').forEach(function (quiz) {\n        var items = quiz.querySelectorAll('.oct-quiz-item');\n        var reset = quiz.querySelector('.oct-quiz-reset');\n        var live = quiz.querySelector('.oct-quiz-sr');\n        var solved = false;\n\n        items.forEach(function (item) {\n            var btn = item.querySelector('.oct-quiz-opt');\n            var why = item.querySelector('.oct-quiz-why');\n            var mark = item.querySelector('.oct-quiz-mark');\n\n            btn.addEventListener('click', function () {\n                if (solved) return;\n                if (item.classList.contains('is-wrong')) return;\n\n                var right = btn.hasAttribute('data-correct');\n                item.classList.add(right ? 'is-right' : 'is-wrong');\n                mark.textContent = right ? '\u2713' : '\u2715';\n                btn.setAttribute('aria-disabled', 'true');\n                why.hidden = false;\n                reset.hidden = false;\n                live.textContent = why.textContent;\n\n                if (right) {\n                    solved = true;\n                    quiz.classList.add('is-solved');\n                }\n            });\n        });\n\n        reset.addEventListener('click', function () {\n            solved = false;\n            quiz.classList.remove('is-solved');\n            items.forEach(function (item) {\n                var btn = item.querySelector('.oct-quiz-opt');\n                var mark = item.querySelector('.oct-quiz-mark');\n                item.classList.remove('is-right');\n                item.classList.remove('is-wrong');\n                btn.removeAttribute('aria-disabled');\n                mark.textContent = mark.getAttribute('data-n');\n                item.querySelector('.oct-quiz-why').hidden = true;\n            });\n            live.textContent = '';\n            reset.hidden = true;\n        });\n    });\n})();\n<\/script>\n\n\n\n<style>\n\/* free vs full: layout only, colors and sizes come from the shared :root *\/\n.oct-fv {\n    display: grid;\n    grid-template-columns: minmax(0, 1.35fr) minmax(200px, 0.65fr);\n    gap: 16px 28px;\n    align-items: start;\n    margin: 12px 0;\n}\n\n\/* same section heading as in the other blocks *\/\n.oct-fv h2 {\n    margin: 0 0 16px;\n    color: #fff;\n    font-size: var(--fs-h2);\n    font-weight: 600;\n    line-height: 1.2;\n}\n\n.oct-fv h2::after {\n    content: \"\";\n    display: block;\n    width: 60px;\n    height: 3px;\n    margin-top: 8px;\n    background: var(--primary-light);\n}\n\n\/* a lead paragraph under the heading, before the comparison tiers *\/\n.oct-fv-lead {\n    margin: 0 0 16px;\n    color: var(--text-muted);\n    font-size: var(--fs-body);\n    line-height: var(--lh-body);\n}\n\n.oct-fv-tier {\n    --oct-fv-shade: linear-gradient(90deg,\n        rgba(18, 18, 24, 0.95) 0%,\n        rgba(18, 18, 24, 0.85) 30%,\n        rgba(18, 18, 24, 0.7) 60%,\n        rgba(18, 18, 24, 0.5) 100%);\n    padding: 16px 18px 18px;\n    background-color: var(--bg-card);\n    background-image: var(--oct-fv-shade), var(--oct-fv-img);\n    background-position: center;\n    background-size: cover;\n    border: 1px solid var(--border);\n}\n\n.oct-fv-tier + .oct-fv-tier { margin-top: 15px; }\n\n.oct-fv-tier.is-free { --oct-fv-img: url(\"https:\/\/www.octantastudio.com\/wp-content\/buildadd\/Podlozhka_sandy.webp\"); }\n\n.oct-fv-tier.is-full {\n    --oct-fv-img: url(\"https:\/\/www.octantastudio.com\/wp-content\/buildadd\/Podlozhka_sky.webp\");\n    border-color: var(--primary-light);\n}\n\n.oct-fv-head {\n    display: flex;\n    align-items: flex-start;\n    justify-content: space-between;\n    gap: 12px;\n    margin: 0 0 10px;\n}\n\n.oct-fv-head h3 {\n    margin: 0 0 2px;\n    color: #fff;\n    font-size: var(--fs-h3);\n    font-weight: 600;\n    line-height: 1.25;\n    letter-spacing: 0.5px;\n    text-transform: uppercase;\n}\n\n.oct-fv-head h3 a {\n    color: var(--secondary);\n    font-weight: 700;\n    text-decoration: underline;\n}\n\n.oct-fv-head h3 a::after { content: \" \u2192\"; }\n\n.oct-fv-sub {\n    color: var(--primary);\n    font-size: var(--fs-label);\n    text-transform: lowercase;\n}\n\n.oct-fv-badge {\n    padding: 2px 5px;\n    background: rgba(0, 0, 0, 0.3);\n    border-radius: 3px;\n    color: var(--text-muted);\n    font-family: monospace;\n    font-size: var(--fs-label);\n}\n\n.oct-fv-list {\n    display: grid;\n    grid-template-columns: repeat(2, minmax(0, 1fr));\n    gap: 8px 22px;\n    margin: 0;\n    padding: 0;\n    list-style: none;\n}\n\n.oct-fv-list li {\n    position: relative;\n    margin: 0;\n    padding-left: 32px;\n    color: var(--text-muted);\n    font-size: var(--fs-body);\n    line-height: var(--lh-body);\n}\n\n.oct-fv-list li::before {\n    content: \"\";\n    position: absolute;\n    left: 0;\n    top: 1px;\n    box-sizing: border-box;\n    width: 22px;\n    height: 22px;\n    background-color: rgba(99, 102, 241, 0.15);\n    background-image: url(\"data:image\/svg+xml,%3Csvg xmlns='http:\/\/www.w3.org\/2000\/svg' viewBox='0 0 24 24' fill='none' stroke='%238B5CF6' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 16C14.2091 16 16 14.2091 16 12C16 9.79086 14.2091 8 12 8C9.79086 8 8 9.79086 8 12C8 14.2091 9.79086 16 12 16Z'\/%3E%3Cpath d='M3 12H8M16 12H21M12 3V8M12 16V21'\/%3E%3C\/svg%3E\");\n    background-repeat: no-repeat;\n    background-position: center;\n    background-size: 14px 14px;\n    border-radius: 50%;\n}\n\n.oct-fv-side ul { margin: 0; padding: 0 0 0 1.15em; }\n.oct-fv-side ol { margin: 0; padding: 0 0 0 1.4em; list-style: decimal; }\n\n.oct-fv-side li::marker {\n    color: var(--primary);\n    font-family: monospace;\n}\n\n.oct-fv-side li {\n    color: var(--text-muted);\n    font-size: var(--fs-body);\n    line-height: var(--lh-body);\n}\n\n.oct-fv-side li + li { margin-top: 6px; }\n.oct-fv-side a { color: var(--text-subtle); text-decoration: underline; }\n\n@media (max-width: 800px) {\n    .oct-fv { grid-template-columns: minmax(0, 1fr); }\n\n    .oct-fv-tier {\n        --oct-fv-shade: linear-gradient(90deg,\n            rgba(18, 18, 24, 0.95) 0%,\n            rgba(18, 18, 24, 0.9) 50%,\n            rgba(18, 18, 24, 0.8) 100%);\n    }\n}\n\n@media (max-width: 600px) {\n    .oct-fv-tier {\n        --oct-fv-shade: linear-gradient(0deg,\n            rgba(18, 18, 24, 0.95) 0%,\n            rgba(18, 18, 24, 0.85) 50%,\n            rgba(18, 18, 24, 0.75) 100%);\n    }\n}\n\n@media (max-width: 520px) {\n    .oct-fv-list { grid-template-columns: minmax(0, 1fr); }\n}\n<\/style>\n\n<div class=\"oct-fv\">\n    <section class=\"oct-fv-main\" id=\"free-vs-full\">\n        <h2>Free vs Full Version<\/h2>\n\n        <p class=\"oct-fv-lead\">The full Procedural VFX Toolkit makes creating effects faster and more convenient with built-in Tools and a Wizard.<\/p>\n\n        <div class=\"oct-fv-tier is-free\">\n            <div class=\"oct-fv-head\">\n                <h3><a href=\"https:\/\/u3d.as\/4eGs\" target=\"_blank\" rel=\"noopener noreferrer\">Procedural VFX Mini<\/a><\/h3>\n                <span class=\"oct-fv-badge\">Free<\/span>\n            <\/div>\n            <ul class=\"oct-fv-list\">\n                <li>Randomized effect playback: a unique look on every cycle<\/li>\n                <li>Shader-based universal effects for UI and world space<\/li>\n            <\/ul>\n        <\/div>\n\n        <div class=\"oct-fv-tier is-full\">\n            <div class=\"oct-fv-head\">\n                <div>\n                    <h3><a href=\"https:\/\/u3d.as\/3C7x\" target=\"_blank\" rel=\"noopener noreferrer\">Procedural VFX Toolkit<\/a><\/h3>\n                    <div class=\"oct-fv-sub\">Everything in Free, plus<\/div>\n                <\/div>\n                <span class=\"oct-fv-badge\">Full<\/span>\n            <\/div>\n            <ul class=\"oct-fv-list\">\n                <li>Glitch-free rendering<\/li>\n                <li>50+ shader variants and ready-made prefabs<\/li>\n                <li>Editor Tools, Wizard and VfxController<\/li>\n                <li>Effects that react to player input<\/li>\n                <li>Sprite-based effects (SparkleSpawner)<\/li>\n                <li>Text-based effects (TouchTextUI)<\/li>\n                <li>Technical support and custom effects<\/li>\n            <\/ul>\n        <\/div>\n    <\/section>\n\n   <section class=\"oct-fv-side\" id=\"useful-resources\">\n    <h2>Useful Resources<\/h2>\n    <ol>\n        <li id=\"res-unity-shaders\"><a href=\"https:\/\/docs.unity3d.com\/Manual\/shader-introduction.html\" target=\"_blank\" rel=\"noopener noreferrer\">Unity resources on shaders<\/a><\/li>\n        <li id=\"res-shaderlab\"><a href=\"https:\/\/docs.unity.com\/en-us\/engine\/6000.6\/manual\/materials-and-shaders\/shaders\/reference\/sl-reference\" target=\"_blank\" rel=\"noopener noreferrer\">ShaderLab language reference<\/a><\/li>\n        <li id=\"res-hlsl\"><a href=\"https:\/\/learn.microsoft.com\/en-us\/windows\/win32\/direct3dhlsl\/dx-graphics-hlsl\" target=\"_blank\" rel=\"noopener noreferrer\">High-level shader language (HLSL) on Microsoft Learn<\/a><\/li>\n        <li id=\"res-vfx-mini\"><a href=\"https:\/\/u3d.as\/4eGs\" target=\"_blank\" rel=\"noopener noreferrer\">Procedural VFX Mini page in the Unity Asset Store<\/a><\/li>\n        <li id=\"res-vfx-mini-docs\"><a href=\"https:\/\/octantast.github.io\/octantastudio_as_publisher\/procedural-vfx-mini.html\" target=\"_blank\" rel=\"noopener noreferrer\">Procedural VFX Mini documentation<\/a><\/li>\n        <li id=\"res-vfx-discussions\"><a href=\"https:\/\/discussions.unity.com\/t\/procedural-vfx-toolkit-a-shader-vfx-system-with-50-effects-and-a-structure-for-your-own\/1740099\" target=\"_blank\" rel=\"noopener noreferrer\">Procedural VFX Toolkit thread on Unity Discussions<\/a><\/li>\n        <li id=\"res-vfx-toolkit\"><a href=\"https:\/\/u3d.as\/3C7x\" target=\"_blank\" rel=\"noopener noreferrer\">Procedural VFX Toolkit page in the Unity Asset Store<\/a><\/li>\n        <li id=\"res-vfx-toolkit-docs\"><a href=\"https:\/\/octanta-studio.gitbook.io\/touch-effect-system-for-unity\" target=\"_blank\" rel=\"noopener noreferrer\">Procedural VFX Toolkit documentation<\/a><\/li>\n        <li id=\"res-prompt\"><a href=\"https:\/\/github.com\/octantast\/octantastudio_as_publisher\/blob\/main\/TouchEffectSystem_examples\/particle-shader-prompt.md\" target=\"_blank\" rel=\"noopener noreferrer\">Shader generation prompt: preview page on GitHub<\/a><\/li>\n        <li id=\"res-studio\"><a href=\"https:\/\/www.octantastudio.com\/\" target=\"_blank\" rel=\"noopener noreferrer\">The studio's website: octantastudio.com<\/a><\/li>\n    <\/ol>\n<\/section>\n<\/div>\n<\/div>\n\n\n\n<div class=\"wp-block-group has-global-padding is-layout-constrained wp-container-core-group-is-layout-5ef4f83f wp-block-group-is-layout-constrained\">\n<p class=\"has-text-align-center wp-block-paragraph\">octantastudio@gmail.com<\/p>\n\n\n\n\n\n<ul class=\"wp-block-social-links aligncenter is-style-default is-horizontal is-content-justification-center is-layout-flex wp-container-core-social-links-is-layout-287e81f2 wp-block-social-links-is-layout-flex\"><li class=\"wp-social-link wp-social-link-youtube wp-block-social-link\"><a rel=\"noopener nofollow\" target=\"_blank\" href=\"https:\/\/www.youtube.com\/channel\/UCl5ZPQd1c08ZXIze7vo24Bg\" class=\"wp-block-social-link-anchor\"><svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" version=\"1.1\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" aria-hidden=\"true\" focusable=\"false\"><path d=\"M21.8,8.001c0,0-0.195-1.378-0.795-1.985c-0.76-0.797-1.613-0.801-2.004-0.847c-2.799-0.202-6.997-0.202-6.997-0.202 h-0.009c0,0-4.198,0-6.997,0.202C4.608,5.216,3.756,5.22,2.995,6.016C2.395,6.623,2.2,8.001,2.2,8.001S2,9.62,2,11.238v1.517 c0,1.618,0.2,3.237,0.2,3.237s0.195,1.378,0.795,1.985c0.761,0.797,1.76,0.771,2.205,0.855c1.6,0.153,6.8,0.201,6.8,0.201 s4.203-0.006,7.001-0.209c0.391-0.047,1.243-0.051,2.004-0.847c0.6-0.607,0.795-1.985,0.795-1.985s0.2-1.618,0.2-3.237v-1.517 C22,9.62,21.8,8.001,21.8,8.001z M9.935,14.594l-0.001-5.62l5.404,2.82L9.935,14.594z\"><\/path><\/svg><span class=\"wp-block-social-link-label screen-reader-text\">YouTube<\/span><\/a><\/li>\n\n<li class=\"wp-social-link wp-social-link-telegram wp-block-social-link\"><a rel=\"noopener nofollow\" target=\"_blank\" href=\"https:\/\/t.me\/octanta_studio\" class=\"wp-block-social-link-anchor\"><svg width=\"24\" height=\"24\" viewBox=\"0 0 128 128\" version=\"1.1\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" aria-hidden=\"true\" focusable=\"false\"><path d=\"M28.9700376,63.3244248 C47.6273373,55.1957357 60.0684594,49.8368063 66.2934036,47.2476366 C84.0668845,39.855031 87.7600616,38.5708563 90.1672227,38.528 C90.6966555,38.5191258 91.8804274,38.6503351 92.6472251,39.2725385 C93.294694,39.7979149 93.4728387,40.5076237 93.5580865,41.0057381 C93.6433345,41.5038525 93.7494885,42.63857 93.6651041,43.5252052 C92.7019529,53.6451182 88.5344133,78.2034783 86.4142057,89.5379542 C85.5170662,94.3339958 83.750571,95.9420841 82.0403991,96.0994568 C78.3237996,96.4414641 75.5015827,93.6432685 71.9018743,91.2836143 C66.2690414,87.5912212 63.0868492,85.2926952 57.6192095,81.6896017 C51.3004058,77.5256038 55.3966232,75.2369981 58.9976911,71.4967761 C59.9401076,70.5179421 76.3155302,55.6232293 76.6324771,54.2720454 C76.6721165,54.1030573 76.7089039,53.4731496 76.3346867,53.1405352 C75.9604695,52.8079208 75.4081573,52.921662 75.0095933,53.0121213 C74.444641,53.1403447 65.4461175,59.0880351 48.0140228,70.8551922 C45.4598218,72.6091037 43.1463059,73.4636682 41.0734751,73.4188859 C38.7883453,73.3695169 34.3926725,72.1268388 31.1249416,71.0646282 C27.1169366,69.7617838 23.931454,69.0729605 24.208838,66.8603276 C24.3533167,65.7078514 25.9403832,64.5292172 28.9700376,63.3244248 Z\" \/><\/svg><span class=\"wp-block-social-link-label screen-reader-text\">Telegram<\/span><\/a><\/li>\n\n<li class=\"wp-social-link wp-social-link-bluesky wp-block-social-link\"><a rel=\"noopener nofollow\" target=\"_blank\" href=\"https:\/\/bsky.app\/profile\/octantastudio.bsky.social\" class=\"wp-block-social-link-anchor\"><svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" version=\"1.1\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" aria-hidden=\"true\" focusable=\"false\"><path d=\"M6.3,4.2c2.3,1.7,4.8,5.3,5.7,7.2.9-1.9,3.4-5.4,5.7-7.2,1.7-1.3,4.3-2.2,4.3.9s-.4,5.2-.6,5.9c-.7,2.6-3.3,3.2-5.6,2.8,4,.7,5.1,3,2.9,5.3-5,5.2-6.7-2.8-6.7-2.8,0,0-1.7,8-6.7,2.8-2.2-2.3-1.2-4.6,2.9-5.3-2.3.4-4.9-.3-5.6-2.8-.2-.7-.6-5.3-.6-5.9,0-3.1,2.7-2.1,4.3-.9h0Z\"><\/path><\/svg><span class=\"wp-block-social-link-label screen-reader-text\">Bluesky<\/span><\/a><\/li>\n\n<li class=\"wp-social-link wp-social-link-discord wp-block-social-link\"><a rel=\"noopener nofollow\" target=\"_blank\" href=\"https:\/\/discord.gg\/6SPxKpFZFC\" class=\"wp-block-social-link-anchor\"><svg width=\"24\" height=\"24\" version=\"1.1\" viewBox=\"0 0 24 24\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" aria-hidden=\"true\" focusable=\"false\"><path d=\"M20.317 4.369A19.88 19.88 0 0 0 15.894 3a14.145 14.145 0 0 0-.719 1.518 19.205 19.205 0 0 0-5.351 0A14.183 14.183 0 0 0 9.104 3 19.896 19.896 0 0 0 4.682 4.369a18.921 18.921 0 0 0-3.012 12.52 19.929 19.929 0 0 0 6.081 3.097c.487-.65.922-1.339 1.3-2.061a12.445 12.445 0 0 1-1.958-.896c.165-.12.326-.246.483-.374a12.445 12.445 0 0 0 8.946 0c.157.128.318.253.483.374-.627.371-1.281.683-1.958.896.379.722.813 1.41 1.3 2.061a19.94 19.94 0 0 0 6.081-3.097 18.921 18.921 0 0 0-3.012-12.52ZM8.12 15.233c-1.202 0-2.184-1.09-2.184-2.431 0-1.34.97-2.431 2.184-2.431 1.213 0 2.202 1.09 2.184 2.431 0 1.341-.97 2.431-2.184 2.431Zm7.757 0c-1.202 0-2.184-1.09-2.184-2.431 0-1.34.97-2.431 2.184-2.431 1.213 0 2.202 1.09 2.184 2.431 0 1.341-.97 2.431-2.184 2.431Z\"\/><\/svg><span class=\"wp-block-social-link-label screen-reader-text\">Discord<\/span><\/a><\/li><\/ul>\n\n\n\n<div class=\"wp-block-group has-global-padding is-layout-constrained wp-container-core-group-is-layout-e6fe4d57 wp-block-group-is-layout-constrained\">\n<p class=\"has-text-align-center has-small-font-size wp-block-paragraph\">All content \u00a9 2022 by Octanta Studio is licensed under CC BY-NC-ND 4.0.<\/p>\n<\/div>\n\n\n<div class=\"aligncenter wp-block-site-logo\"><a href=\"https:\/\/www.octantastudio.com\/en\/\" class=\"custom-logo-link\" rel=\"home\"><img loading=\"lazy\" decoding=\"async\" width=\"60\" height=\"60\" src=\"https:\/\/i0.wp.com\/www.octantastudio.com\/wp-content\/uploads\/2025\/04\/Untitled640_20250420213822.png?fit=400%2C400&amp;ssl=1\" class=\"custom-logo\" alt=\"OCTANTA STUDIO\" srcset=\"https:\/\/i0.wp.com\/www.octantastudio.com\/wp-content\/uploads\/2025\/04\/Untitled640_20250420213822.png?w=400&amp;ssl=1 400w, https:\/\/i0.wp.com\/www.octantastudio.com\/wp-content\/uploads\/2025\/04\/Untitled640_20250420213822.png?resize=300%2C300&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.octantastudio.com\/wp-content\/uploads\/2025\/04\/Untitled640_20250420213822.png?resize=150%2C150&amp;ssl=1 150w, https:\/\/i0.wp.com\/www.octantastudio.com\/wp-content\/uploads\/2025\/04\/Untitled640_20250420213822.png?resize=12%2C12&amp;ssl=1 12w\" sizes=\"auto, (max-width: 60px) 100vw, 60px\" \/><\/a><\/div><\/div>\n","protected":false},"excerpt":{"rendered":"<p>50\u00b027\u20320.36\u2033 N, 30\u00b031\u203224.24\u2033 E Dariia Zodcha Guide to Unity VFX Shader Techniques by Octanta Studio Learn a reusable shader-based workflow for creating lightweight, customizable VFX in Unity &#8211; with AI as your assistant, not a replacement for your skills. You provide the vision, text descriptions or visual references; the system helps bring them to life [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":5979,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"page-no-title","meta":{"_jetpack_hide_featured_image":false,"_jetpack_featured_image_duplicate_dismissed":0,"footnotes":""},"class_list":["post-5658","page","type-page","status-publish","has-post-thumbnail","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Unity VFX Shader Techniques - OCTANTA STUDIO<\/title>\n<meta name=\"description\" content=\"Learn Unity VFX Shader Techniques: a reusable shader-based workflow for lightweight, customizable effects in UI and world space.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.octantastudio.com\/en\/unity-vfx-shader-techniques\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Unity VFX Shader Techniques - OCTANTA STUDIO\" \/>\n<meta property=\"og:description\" content=\"Learn Unity VFX Shader Techniques: a reusable shader-based workflow for lightweight, customizable effects in UI and world space.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.octantastudio.com\/en\/unity-vfx-shader-techniques\/\" \/>\n<meta property=\"og:site_name\" content=\"OCTANTA STUDIO\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.instagram.com\/octanta_studio\/\" \/>\n<meta property=\"article:modified_time\" content=\"2026-11-16T10:42:32+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.octantastudio.com\/wp-content\/uploads\/2026\/11\/DigitalUnityVFXShaderTechniques.webp\" \/>\n\t<meta property=\"og:image:width\" content=\"1920\" \/>\n\t<meta property=\"og:image:height\" content=\"1080\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/webp\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:site\" content=\"@octanta_studio\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"51 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.octantastudio.com\\\/unity-vfx-shader-techniques\\\/\",\"url\":\"https:\\\/\\\/www.octantastudio.com\\\/unity-vfx-shader-techniques\\\/\",\"name\":\"Unity VFX Shader Techniques - OCTANTA STUDIO\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.octantastudio.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.octantastudio.com\\\/unity-vfx-shader-techniques\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.octantastudio.com\\\/unity-vfx-shader-techniques\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/i0.wp.com\\\/www.octantastudio.com\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/DigitalUnityVFXShaderTechniques.webp?fit=1920%2C1080&ssl=1\",\"datePublished\":\"2026-11-14T23:11:07+00:00\",\"dateModified\":\"2026-11-16T10:42:32+00:00\",\"description\":\"Learn Unity VFX Shader Techniques: a reusable shader-based workflow for lightweight, customizable effects in UI and world space.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.octantastudio.com\\\/unity-vfx-shader-techniques\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.octantastudio.com\\\/unity-vfx-shader-techniques\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.octantastudio.com\\\/unity-vfx-shader-techniques\\\/#primaryimage\",\"url\":\"https:\\\/\\\/i0.wp.com\\\/www.octantastudio.com\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/DigitalUnityVFXShaderTechniques.webp?fit=1920%2C1080&ssl=1\",\"contentUrl\":\"https:\\\/\\\/i0.wp.com\\\/www.octantastudio.com\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/DigitalUnityVFXShaderTechniques.webp?fit=1920%2C1080&ssl=1\",\"width\":1920,\"height\":1080,\"caption\":\"Unity shaders + visual effects generation based on custom references\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.octantastudio.com\\\/unity-vfx-shader-techniques\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u0413\u043e\u043b\u043e\u0432\u043d\u0430\",\"item\":\"https:\\\/\\\/www.octantastudio.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Unity VFX Shader Techniques\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.octantastudio.com\\\/#website\",\"url\":\"https:\\\/\\\/www.octantastudio.com\\\/\",\"name\":\"OCTANTA STUDIO\",\"description\":\"games, indie studio, visionery\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.octantastudio.com\\\/#organization\"},\"alternateName\":\"\u043e\u043a\u0442\u0430\u043d\u0442\u0430 \u0441\u0442\u0443\u0434\u0456\u043e\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.octantastudio.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.octantastudio.com\\\/#organization\",\"name\":\"Octanta Studio\",\"alternateName\":\"\u041e\u043a\u0442\u0430\u043d\u0442\u0430 \u0421\u0442\u0443\u0434\u0456\u043e\",\"url\":\"https:\\\/\\\/www.octantastudio.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.octantastudio.com\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/i0.wp.com\\\/www.octantastudio.com\\\/wp-content\\\/uploads\\\/2025\\\/04\\\/Untitled640_20250420213822.png?fit=400%2C400&ssl=1\",\"contentUrl\":\"https:\\\/\\\/i0.wp.com\\\/www.octantastudio.com\\\/wp-content\\\/uploads\\\/2025\\\/04\\\/Untitled640_20250420213822.png?fit=400%2C400&ssl=1\",\"width\":400,\"height\":400,\"caption\":\"Octanta Studio\"},\"image\":{\"@id\":\"https:\\\/\\\/www.octantastudio.com\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.instagram.com\\\/octanta_studio\\\/\",\"https:\\\/\\\/x.com\\\/octanta_studio\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Unity VFX Shader Techniques - OCTANTA STUDIO","description":"Learn Unity VFX Shader Techniques: a reusable shader-based workflow for lightweight, customizable effects in UI and world space.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.octantastudio.com\/en\/unity-vfx-shader-techniques\/","og_locale":"en_US","og_type":"article","og_title":"Unity VFX Shader Techniques - OCTANTA STUDIO","og_description":"Learn Unity VFX Shader Techniques: a reusable shader-based workflow for lightweight, customizable effects in UI and world space.","og_url":"https:\/\/www.octantastudio.com\/en\/unity-vfx-shader-techniques\/","og_site_name":"OCTANTA STUDIO","article_publisher":"https:\/\/www.instagram.com\/octanta_studio\/","article_modified_time":"2026-11-16T10:42:32+00:00","og_image":[{"width":1920,"height":1080,"url":"https:\/\/www.octantastudio.com\/wp-content\/uploads\/2026\/11\/DigitalUnityVFXShaderTechniques.webp","type":"image\/webp"}],"twitter_card":"summary_large_image","twitter_site":"@octanta_studio","twitter_misc":{"Est. reading time":"51 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.octantastudio.com\/unity-vfx-shader-techniques\/","url":"https:\/\/www.octantastudio.com\/unity-vfx-shader-techniques\/","name":"Unity VFX Shader Techniques - OCTANTA STUDIO","isPartOf":{"@id":"https:\/\/www.octantastudio.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.octantastudio.com\/unity-vfx-shader-techniques\/#primaryimage"},"image":{"@id":"https:\/\/www.octantastudio.com\/unity-vfx-shader-techniques\/#primaryimage"},"thumbnailUrl":"https:\/\/i0.wp.com\/www.octantastudio.com\/wp-content\/uploads\/2026\/11\/DigitalUnityVFXShaderTechniques.webp?fit=1920%2C1080&ssl=1","datePublished":"2026-11-14T23:11:07+00:00","dateModified":"2026-11-16T10:42:32+00:00","description":"Learn Unity VFX Shader Techniques: a reusable shader-based workflow for lightweight, customizable effects in UI and world space.","breadcrumb":{"@id":"https:\/\/www.octantastudio.com\/unity-vfx-shader-techniques\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.octantastudio.com\/unity-vfx-shader-techniques\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.octantastudio.com\/unity-vfx-shader-techniques\/#primaryimage","url":"https:\/\/i0.wp.com\/www.octantastudio.com\/wp-content\/uploads\/2026\/11\/DigitalUnityVFXShaderTechniques.webp?fit=1920%2C1080&ssl=1","contentUrl":"https:\/\/i0.wp.com\/www.octantastudio.com\/wp-content\/uploads\/2026\/11\/DigitalUnityVFXShaderTechniques.webp?fit=1920%2C1080&ssl=1","width":1920,"height":1080,"caption":"Unity shaders + visual effects generation based on custom references"},{"@type":"BreadcrumbList","@id":"https:\/\/www.octantastudio.com\/unity-vfx-shader-techniques\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u0413\u043e\u043b\u043e\u0432\u043d\u0430","item":"https:\/\/www.octantastudio.com\/"},{"@type":"ListItem","position":2,"name":"Unity VFX Shader Techniques"}]},{"@type":"WebSite","@id":"https:\/\/www.octantastudio.com\/#website","url":"https:\/\/www.octantastudio.com\/","name":"OCTANTA STUDIO","description":"games, indie studio, visionery","publisher":{"@id":"https:\/\/www.octantastudio.com\/#organization"},"alternateName":"\u043e\u043a\u0442\u0430\u043d\u0442\u0430 \u0441\u0442\u0443\u0434\u0456\u043e","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.octantastudio.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.octantastudio.com\/#organization","name":"Octanta Studio","alternateName":"\u041e\u043a\u0442\u0430\u043d\u0442\u0430 \u0421\u0442\u0443\u0434\u0456\u043e","url":"https:\/\/www.octantastudio.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.octantastudio.com\/#\/schema\/logo\/image\/","url":"https:\/\/i0.wp.com\/www.octantastudio.com\/wp-content\/uploads\/2025\/04\/Untitled640_20250420213822.png?fit=400%2C400&ssl=1","contentUrl":"https:\/\/i0.wp.com\/www.octantastudio.com\/wp-content\/uploads\/2025\/04\/Untitled640_20250420213822.png?fit=400%2C400&ssl=1","width":400,"height":400,"caption":"Octanta Studio"},"image":{"@id":"https:\/\/www.octantastudio.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.instagram.com\/octanta_studio\/","https:\/\/x.com\/octanta_studio"]}]}},"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.octantastudio.com\/en\/wp-json\/wp\/v2\/pages\/5658","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.octantastudio.com\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.octantastudio.com\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.octantastudio.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.octantastudio.com\/en\/wp-json\/wp\/v2\/comments?post=5658"}],"version-history":[{"count":242,"href":"https:\/\/www.octantastudio.com\/en\/wp-json\/wp\/v2\/pages\/5658\/revisions"}],"predecessor-version":[{"id":5982,"href":"https:\/\/www.octantastudio.com\/en\/wp-json\/wp\/v2\/pages\/5658\/revisions\/5982"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.octantastudio.com\/en\/wp-json\/wp\/v2\/media\/5979"}],"wp:attachment":[{"href":"https:\/\/www.octantastudio.com\/en\/wp-json\/wp\/v2\/media?parent=5658"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}