[{"data":1,"prerenderedAt":543},["ShallowReactive",2],{"navigation_docs":3,"-shaders-console":271,"-shaders-console-surround":538},[4,35,70,120,154,183,217,246,261],{"title":5,"path":6,"stem":7,"children":8,"page":34},"Getting started","\u002Fgetting-started","1.getting-started",[9,14,19,24,29],{"title":10,"path":11,"stem":12,"icon":13},"What is ISF Studio","\u002Fgetting-started\u002Fintroduction","1.getting-started\u002F1.introduction","i-lucide-house",{"title":15,"path":16,"stem":17,"icon":18},"Installation","\u002Fgetting-started\u002Finstallation","1.getting-started\u002F2.installation","i-lucide-download",{"title":20,"path":21,"stem":22,"icon":23},"Your first shader","\u002Fgetting-started\u002Ffirst-shader","1.getting-started\u002F3.first-shader","i-lucide-code-2",{"title":25,"path":26,"stem":27,"icon":28},"Your first pipeline","\u002Fgetting-started\u002Ffirst-pipeline","1.getting-started\u002F4.first-pipeline","i-lucide-workflow",{"title":30,"path":31,"stem":32,"icon":33},"Interface tour","\u002Fgetting-started\u002Finterface-tour","1.getting-started\u002F5.interface-tour","i-lucide-layout-panel-left",false,{"title":36,"path":37,"stem":38,"children":39,"page":34},"Library","\u002Flibrary","2.library",[40,45,50,55,60,65],{"title":41,"path":42,"stem":43,"icon":44},"The explorer","\u002Flibrary\u002Fexplorer","2.library\u002F1.explorer","i-lucide-folder-tree",{"title":46,"path":47,"stem":48,"icon":49},"Organizing files","\u002Flibrary\u002Forganizing-files","2.library\u002F2.organizing-files","i-lucide-files",{"title":51,"path":52,"stem":53,"icon":54},"Images and gallery","\u002Flibrary\u002Fimages-and-gallery","2.library\u002F3.images-and-gallery","i-lucide-image",{"title":56,"path":57,"stem":58,"icon":59},"Sharing","\u002Flibrary\u002Fsharing","2.library\u002F4.sharing","i-lucide-package",{"title":61,"path":62,"stem":63,"icon":64},"Installing in software","\u002Flibrary\u002Finstalling-in-software","2.library\u002F5.installing-in-software","i-lucide-folder-input",{"title":66,"path":67,"stem":68,"icon":69},"OpenFX plug-ins","\u002Flibrary\u002Fopenfx-plugins","2.library\u002F6.openfx-plugins","i-lucide-plug",{"title":71,"path":72,"stem":73,"children":74,"page":34},"Shaders","\u002Fshaders","3.shaders",[75,80,85,90,95,100,105,110,115],{"title":76,"path":77,"stem":78,"icon":79},"The code editor","\u002Fshaders\u002Fcode-editor","3.shaders\u002F1.code-editor","i-lucide-square-code",{"title":81,"path":82,"stem":83,"icon":84},"The ISF header","\u002Fshaders\u002Fisf-header","3.shaders\u002F2.isf-header","i-lucide-braces",{"title":86,"path":87,"stem":88,"icon":89},"The preview","\u002Fshaders\u002Fpreview","3.shaders\u002F3.preview","i-lucide-monitor-play",{"title":91,"path":92,"stem":93,"icon":94},"Input controls","\u002Fshaders\u002Finput-controls","3.shaders\u002F4.input-controls","i-lucide-sliders-horizontal",{"title":96,"path":97,"stem":98,"icon":99},"Presets","\u002Fshaders\u002Fpresets","3.shaders\u002F5.presets","i-lucide-bookmark",{"title":101,"path":102,"stem":103,"icon":104},"Console and fixes","\u002Fshaders\u002Fconsole","3.shaders\u002F6.console","i-lucide-terminal",{"title":106,"path":107,"stem":108,"icon":109},"Shader templates","\u002Fshaders\u002Ftemplates","3.shaders\u002F7.templates","i-lucide-layout-template",{"title":111,"path":112,"stem":113,"icon":114},"Vertex shaders","\u002Fshaders\u002Fvertex-shaders","3.shaders\u002F8.vertex-shaders","i-lucide-shapes",{"title":116,"path":117,"stem":118,"icon":119},"Font images","\u002Fshaders\u002Ffont-images","3.shaders\u002F9.font-images","i-lucide-type",{"title":121,"path":122,"stem":123,"children":124,"page":34},"Pipelines","\u002Fpipelines","4.pipelines",[125,129,134,139,144,149],{"title":126,"path":127,"stem":128,"icon":28},"Concepts","\u002Fpipelines\u002Fconcepts","4.pipelines\u002F1.concepts",{"title":130,"path":131,"stem":132,"icon":133},"Editing a graph","\u002Fpipelines\u002Fediting-graphs","4.pipelines\u002F2.editing-graphs","i-lucide-mouse-pointer-click",{"title":135,"path":136,"stem":137,"icon":138},"Node catalog","\u002Fpipelines\u002Fnode-catalog","4.pipelines\u002F3.node-catalog","i-lucide-boxes",{"title":140,"path":141,"stem":142,"icon":143},"Toolbox and snippets","\u002Fpipelines\u002Fsnippets-and-toolbox","4.pipelines\u002F4.snippets-and-toolbox","i-lucide-toolbox",{"title":145,"path":146,"stem":147,"icon":148},"Composing","\u002Fpipelines\u002Fcomposing","4.pipelines\u002F5.composing","i-lucide-combine",{"title":150,"path":151,"stem":152,"icon":153},"Macros","\u002Fpipelines\u002Fmacros","4.pipelines\u002F6.macros","i-lucide-package-plus",{"title":155,"path":156,"stem":157,"children":158,"page":34},"Media and inputs","\u002Fmedia","5.media",[159,164,168,173,178],{"title":160,"path":161,"stem":162,"icon":163},"Resources","\u002Fmedia\u002Fresources","5.media\u002F1.resources","i-lucide-clapperboard",{"title":165,"path":166,"stem":167,"icon":163},"Export a video","\u002Fmedia\u002Fvideo-export","5.media\u002F2.video-export",{"title":169,"path":170,"stem":171,"icon":172},"Videos and sounds","\u002Fmedia\u002Fvideos-and-sounds","5.media\u002F3.videos-and-sounds","i-lucide-audio-lines",{"title":174,"path":175,"stem":176,"icon":177},"MIDI","\u002Fmedia\u002Fmidi","5.media\u002F4.midi","i-lucide-sliders-vertical",{"title":179,"path":180,"stem":181,"icon":182},"OSC","\u002Fmedia\u002Fosc","5.media\u002F5.osc","i-lucide-radio-tower",{"title":184,"path":185,"stem":186,"children":187,"page":34},"Workspace","\u002Fworkspace","6.workspace",[188,193,198,203,208,213],{"title":189,"path":190,"stem":191,"icon":192},"Tabs and layout","\u002Fworkspace\u002Ftabs-and-layout","6.workspace\u002F1.tabs-and-layout","i-lucide-columns-2",{"title":194,"path":195,"stem":196,"icon":197},"History and clipboard","\u002Fworkspace\u002Fhistory-and-clipboard","6.workspace\u002F2.history-and-clipboard","i-lucide-history",{"title":199,"path":200,"stem":201,"icon":202},"Saving and drafts","\u002Fworkspace\u002Fsaving","6.workspace\u002F3.saving","i-lucide-save",{"title":204,"path":205,"stem":206,"icon":207},"Shortcuts","\u002Fworkspace\u002Fshortcuts","6.workspace\u002F4.shortcuts","i-lucide-keyboard",{"title":209,"path":210,"stem":211,"icon":212},"Preferences","\u002Fworkspace\u002Fpreferences","6.workspace\u002F5.preferences","i-lucide-settings",{"title":56,"path":214,"stem":215,"icon":216},"\u002Fworkspace\u002Fsharing","6.workspace\u002F6.sharing","i-lucide-share-2",{"title":218,"path":219,"stem":220,"children":221,"page":34},"Reference","\u002Freference","7.reference",[222,226,231,236,241],{"title":223,"path":224,"stem":225,"icon":84},"ISF header","\u002Freference\u002Fisf-header-reference","7.reference\u002F1.isf-header-reference",{"title":227,"path":228,"stem":229,"icon":230},"File formats","\u002Freference\u002Ffile-formats","7.reference\u002F2.file-formats","i-lucide-file-archive",{"title":232,"path":233,"stem":234,"icon":235},"Troubleshooting","\u002Freference\u002Ftroubleshooting","7.reference\u002F3.troubleshooting","i-lucide-life-buoy",{"title":237,"path":238,"stem":239,"icon":240},"ISF specifications","\u002Freference\u002Fisf-specifications","7.reference\u002F4.isf-specifications","i-lucide-book-marked",{"title":242,"path":243,"stem":244,"icon":245},"Pipeline text","\u002Freference\u002Fpipeline-text","7.reference\u002F5.pipeline-text","i-lucide-bot-message-square",{"title":247,"path":248,"stem":249,"children":250,"page":34},"For developers","\u002Fruntime","8.runtime",[251,256],{"title":252,"path":253,"stem":254,"icon":255},"Playing pipelines and shaders","\u002Fruntime\u002Fplaying-pipelines","8.runtime\u002F1.playing-pipelines","i-lucide-play",{"title":257,"path":258,"stem":259,"icon":260},"Listening to sound","\u002Fruntime\u002Flistening-to-sound","8.runtime\u002F2.listening-to-sound","i-lucide-audio-waveform",{"title":262,"path":263,"stem":264,"children":265,"page":34},"Licensing","\u002Flicensing","9.licensing",[266],{"title":267,"path":268,"stem":269,"icon":270},"Pricing","\u002Flicensing\u002Fpricing","9.licensing\u002F1.pricing","i-lucide-badge-euro",{"id":272,"title":273,"body":274,"description":531,"extension":532,"links":533,"meta":534,"navigation":535,"path":102,"seo":536,"stem":103,"__hash__":537},"docs\u002F3.shaders\u002F6.console.md","The console and fixes",{"type":275,"value":276,"toc":523},"minimark",[277,290,297,302,305,342,345,349,352,356,362,411,417,420,446,450,456],[278,279,280,281,285,286,289],"p",{},"The ",[282,283,284],"strong",{},"Console"," is at the top left. It is empty when everything is fine, and says ",[282,287,288],{},"No error",".",[278,291,292],{},[293,294],"img",{"alt":295,"src":296},"The console with two problems and a Fix button","\u002Fscreenshots\u002Fconsole-fix.png",[298,299,301],"h2",{"id":300},"what-it-shows","What it shows",[278,303,304],{},"Each line has the time, the file, the line number and the message. Problems come from:",[306,307,308,316,323,329,336],"ol",{},[309,310,311,312,315],"li",{},"the ISF ",[282,313,314],{},"header"," (invalid JSON, wrong keys);",[309,317,318,319,322],{},"the ",[282,320,321],{},"imports"," (a file that does not exist);",[309,324,318,325,328],{},[282,326,327],{},"text"," of the shader (invisible characters, misplaced comments);",[309,330,331,332,335],{},"the GLSL ",[282,333,334],{},"compiler",";",[309,337,338,341],{},[282,339,340],{},"rendering"," (a pass that fails while it is drawn).",[278,343,344],{},"They are sorted by that order, then by severity. A red name on a tab or in the explorer means the console has something to say about that file.",[298,346,348],{"id":347},"go-to-the-line","Go to the line",[278,350,351],{},"Click a line and the editor jumps to the place, in the fragment or the vertex shader. For a header problem, to the line of the key that is wrong.",[298,353,355],{"id":354},"fix","Fix",[278,357,358,359,361],{},"Some problems come with a ",[282,360,355],{}," button, which rewrites the text for you (one step in the history, so it can be undone):",[363,364,365,368,371,374,382,385,388,408],"ul",{},[309,366,367],{},"a comment before the ISF header moves below it;",[309,369,370],{},"invisible characters are removed;",[309,372,373],{},"trailing commas in the header JSON are removed, when they are the only fault;",[309,375,376,377,381],{},"the redundant ",[378,379,380],"code",{},"NAME"," of an imported image is removed;",[309,383,384],{},"mistyped keys are corrected, when a key is one typo away from a key that ISF knows;",[309,386,387],{},"unknown keys are removed, all at once;",[309,389,390,391,393,394,397,398,397,401,404,405,407],{},"an input whose ",[378,392,380],{}," cannot be a variable (an accent, a space, or a name ISF declares itself: ",[378,395,396],{},"TIME",", ",[378,399,400],{},"PASSINDEX",[378,402,403],{},"RENDERSIZE","…) is renamed in the header, and what you wrote stays as its label. An accent or a space is changed in the code too; a name ISF declares itself is not, because in the code ",[378,406,396],{}," is ISF's variable and stays in capitals;",[309,409,410],{},"ISF 1 constructs become ISF 2 ones (see below).",[278,412,413],{},[293,414],{"alt":415,"src":416},"A shader that does not compile","\u002Fscreenshots\u002Fconsole-error.png",[278,418,419],{},"The copy button under the console puts the messages in the clipboard, for pasting into a request for help.",[278,421,422,423,426,427,430,431,434,435,438,439,442,443,289],{},"While the console shows at least one error, a ",[282,424,425],{},"bug"," button appears next to it. It opens the support dialog on the topic ",[282,428,429],{},"Problem",", with the errors written in the message: read it, say what you were doing, change what you want, and send it. Nothing leaves your computer until you press ",[282,432,433],{},"Send",". The same dialog opens from ",[282,436,437],{},"Help, Report a Bug…",", and ",[282,440,441],{},"Help, Request a Feature…"," opens it on the topic ",[282,444,445],{},"Feature request",[298,447,449],{"id":448},"isf-1-shaders","ISF 1 shaders",[278,451,452,453,455],{},"ISF 1 shaders open as they are. ISF Studio recognises what ISF 1 hosts wrote that ISF 2 does not read, reports it, and converts it when the ",[282,454,355],{}," button is pressed. Each conversion is one step in the history, so it can be undone.",[457,458,459,478],"table",{},[460,461,462],"thead",{},[463,464,465,469,472],"tr",{},[466,467,468],"th",{},"In an ISF 1 shader",[466,470,471],{},"What the console reports",[466,473,474,475,477],{},"What ",[282,476,355],{}," does",[479,480,481,503],"tbody",{},[463,482,483,490,493],{},[484,485,486,489],"td",{},[378,487,488],{},"PERSISTENT_BUFFERS"," at the root of the header",[484,491,492],{},"The key is obsolete: it stays in the file and is ignored.",[484,494,495,498,499,502],{},[282,496,497],{},"Declare PERSISTENT on the passes",": writes ",[378,500,501],{},"PERSISTENT: true"," on each pass the list named, and removes the list.",[463,504,505,514,517],{},[484,506,507,397,510,513],{},[378,508,509],{},"vv_FragNormCoord",[378,511,512],{},"vv_vertShaderInit"," in the code",[484,515,516],{},"The shader does not compile: those names are ISF 1 ones.",[484,518,519,522],{},[282,520,521],{},"Rename the ISF 1 names (vv_) to ISF 2 (isf_)",": renames them everywhere in the shader, in the fragment or the vertex source.",{"title":524,"searchDepth":525,"depth":525,"links":526},"",2,[527,528,529,530],{"id":300,"depth":525,"text":301},{"id":347,"depth":525,"text":348},{"id":354,"depth":525,"text":355},{"id":448,"depth":525,"text":449},"Compile errors, header problems and one-click fixes.","md",null,{},{"icon":104,"title":101},{"title":273,"description":531},"KlLIN0oO751ky9oHIdCFmONGr6P6B2gDebpSyUZ8zgo",[539,541],{"title":96,"path":97,"stem":98,"description":540,"icon":99,"children":-1},"Keep the state of the inputs of a shader or a pipeline, and come back to it with one click.",{"title":106,"path":107,"stem":108,"description":542,"icon":109,"children":-1},"The starting points when you create a shader.",1796047426773]