123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010 |
- {
- "nodes": [
- {
- "name": "Inputs",
- "icon": "stack-push",
- "children": [
- {
- "name": "Primitives",
- "icon": "forms",
- "children": [
- {
- "name": "Color",
- "icon": "palette",
- "editorClass": "ColorEditor"
- },
- {
- "name": "Float",
- "icon": "box-multiple-1",
- "editorClass": "FloatEditor"
- },
- {
- "name": "Slider",
- "icon": "adjustments-horizontal",
- "editorClass": "SliderEditor"
- },
- {
- "name": "String",
- "icon": "forms",
- "editorClass": "StringEditor"
- },
- {
- "name": "Texture",
- "icon": "photo",
- "editorClass": "TextureEditor"
- },
- {
- "name": "Vector 2",
- "icon": "box-multiple-2",
- "editorClass": "Vector2Editor"
- },
- {
- "name": "Vector 3",
- "icon": "box-multiple-3",
- "editorClass": "Vector3Editor"
- },
- {
- "name": "Vector 4",
- "icon": "box-multiple-4",
- "editorClass": "Vector4Editor"
- }
- ]
- },
- {
- "name": "Camera",
- "icon": "video",
- "children": [
- {
- "name": "Camera Normal Matrix",
- "icon": "video",
- "nodeType": "mat3",
- "shaderNode": "cameraNormalMatrix"
- },
- {
- "name": "Camera Position",
- "icon": "video",
- "description": "Returns the global transform of the camera.",
- "nodeType": "vec3",
- "shaderNode": "cameraPosition"
- },
- {
- "name": "Camera Projection Matrix",
- "icon": "video",
- "nodeType": "mat4",
- "description": "Returns the matrix which contains the projection.",
- "shaderNode": "cameraProjectionMatrix"
- },
- {
- "name": "Camera View Matrix",
- "icon": "video",
- "nodeType": "mat4",
- "shaderNode": "cameraViewMatrix"
- },
- {
- "name": "Camera World Matrix",
- "icon": "video",
- "description": "Returns the global transform of the camera.",
- "nodeType": "mat4",
- "shaderNode": "cameraWorldMatrix"
- }
- ]
- },
- {
- "name": "Normal",
- "icon": "arrow-bar-up",
- "children": [
- {
- "name": "Normal Geometry",
- "icon": "arrow-bar-up",
- "description": "Return the normal vector from the coordinate space Geometry.",
- "nodeType": "vec3",
- "shaderNode": "normalGeometry"
- },
- {
- "name": "Normal Local",
- "icon": "arrow-bar-up",
- "description": "Return the normal vector from the coordinate space Local.",
- "nodeType": "vec3",
- "shaderNode": "normalLocal"
- },
- {
- "name": "Normal View",
- "icon": "arrow-bar-up",
- "description": "Return the normal vector from the coordinate space View.",
- "nodeType": "vec3",
- "shaderNode": "normalView"
- },
- {
- "name": "Normal World",
- "icon": "arrow-bar-up",
- "description": "Return the normal vector from the coordinate space World.",
- "nodeType": "vec3",
- "shaderNode": "normalWorld"
- },
- {
- "name": "Transformed Normal View",
- "icon": "arrow-bar-up",
- "nodeType": "vec3",
- "shaderNode": "transformedNormalView"
- },
- {
- "name": "Transformed Normal World",
- "icon": "arrow-bar-up",
- "nodeType": "vec3",
- "shaderNode": "transformedNormalWorld"
- }
- ]
- },
- {
- "name": "Tangent",
- "icon": "arrows-up-right",
- "children": [
- {
- "name": "Tangent Geometry",
- "icon": "arrows-up-right",
- "nodeType": "vec3",
- "shaderNode": "tangentGeometry"
- },
- {
- "name": "Tangent Local",
- "icon": "arrows-up-right",
- "nodeType": "vec3",
- "shaderNode": "tangentLocal"
- },
- {
- "name": "Tangent View",
- "icon": "arrows-up-right",
- "nodeType": "vec3",
- "shaderNode": "tangentView"
- },
- {
- "name": "Tangent World",
- "icon": "arrows-up-right",
- "nodeType": "vec3",
- "shaderNode": "tangentWorld"
- },
- {
- "name": "Transformed Tangent View",
- "icon": "arrows-up-right",
- "nodeType": "vec3",
- "shaderNode": "transformedTangentView"
- },
- {
- "name": "Transformed Tangent World",
- "icon": "arrows-up-right",
- "nodeType": "vec3",
- "shaderNode": "transformedTangentWorld"
- }
- ]
- },
- {
- "name": "Bitangent",
- "icon": "arrows-up-left",
- "children": [
- {
- "name": "Bitangent Geometry",
- "icon": "arrows-up-left",
- "nodeType": "vec3",
- "shaderNode": "bitangentGeometry"
- },
- {
- "name": "Bitangent Local",
- "icon": "arrows-up-left",
- "nodeType": "vec3",
- "shaderNode": "bitangentLocal"
- },
- {
- "name": "Bitangent View",
- "icon": "arrow-up-left",
- "nodeType": "vec3",
- "shaderNode": "bitangentView"
- },
- {
- "name": "Bitangent World",
- "icon": "arrows-up-left",
- "nodeType": "vec3",
- "shaderNode": "bitangentWorld"
- },
- {
- "name": "Transformed Bitangent View",
- "icon": "arrows-up-left",
- "nodeType": "vec3",
- "shaderNode": "transformedBitangentView"
- },
- {
- "name": "Transformed Bitangent World",
- "icon": "arrows-up-left",
- "nodeType": "vec3",
- "shaderNode": "transformedBitangentWorld"
- }
- ]
- },
- {
- "name": "Model",
- "icon": "box",
- "children": [
- {
- "name": "Model Direction",
- "icon": "box",
- "nodeType": "vec3",
- "shaderNode": "modelDirection"
- },
- {
- "name": "Model Normal Matrix",
- "icon": "box",
- "nodeType": "mat3",
- "shaderNode": "modelNormalMatrix"
- },
- {
- "name": "Model Position",
- "icon": "box",
- "nodeType": "vec3",
- "shaderNode": "modelPosition"
- },
- {
- "name": "Model View Matrix",
- "icon": "box",
- "nodeType": "mat4",
- "shaderNode": "modelViewMatrix"
- },
- {
- "name": "Model View Position",
- "icon": "box",
- "nodeType": "vec3",
- "shaderNode": "modelViewPosition"
- },
- {
- "name": "Model World Matrix",
- "icon": "box",
- "nodeType": "mat4",
- "shaderNode": "modelWorldMatrix"
- }
- ]
- },
- {
- "name": "Object",
- "icon": "3d-cube-sphere",
- "children": [
- {
- "name": "Object Direction",
- "icon": "3d-cube-sphere",
- "shaderNode": "objectDirection",
- "properties": [
- {
- "name": "object3d",
- "nodeType": "Object3D"
- }
- ]
- },
- {
- "name": "Object Normal Matrix",
- "icon": "3d-cube-sphere",
- "shaderNode": "objectNormalMatrix",
- "nodeType": "mat3",
- "properties": [
- {
- "name": "object3d",
- "nodeType": "Object3D"
- }
- ]
- },
- {
- "name": "Object Position",
- "icon": "3d-cube-sphere",
- "shaderNode": "objectPosition",
- "properties": [
- {
- "name": "object3d",
- "nodeType": "Object3D"
- }
- ]
- },
- {
- "name": "Object View Matrix",
- "icon": "3d-cube-sphere",
- "shaderNode": "objectViewMatrix",
- "nodeType": "mat4",
- "properties": [
- {
- "name": "object3d",
- "nodeType": "Object3D"
- }
- ]
- },
- {
- "name": "Object View Position",
- "icon": "3d-cube-sphere",
- "shaderNode": "objectViewPosition",
- "properties": [
- {
- "name": "object3d",
- "nodeType": "Object3D"
- }
- ]
- },
- {
- "name": "Object World Matrix",
- "icon": "3d-cube-sphere",
- "shaderNode": "objectWorldMatrix",
- "properties": [
- {
- "name": "object3d",
- "nodeType": "Object3D"
- }
- ]
- }
- ]
- },
- {
- "name": "Position",
- "icon": "gizmo",
- "children": [
- {
- "name": "Position Geometry",
- "icon": "gizmo",
- "nodeType": "vec3",
- "shaderNode": "positionGeometry"
- },
- {
- "name": "Position Local",
- "icon": "gizmo",
- "nodeType": "mat4",
- "shaderNode": "positionLocal"
- },
- {
- "name": "Position View",
- "icon": "gizmo",
- "nodeType": "vec3",
- "shaderNode": "positionView"
- },
- {
- "name": "Position View Direction",
- "icon": "gizmo",
- "nodeType": "vec3",
- "shaderNode": "positionViewDirection"
- },
- {
- "name": "Position World",
- "icon": "gizmo",
- "nodeType": "mat3",
- "shaderNode": "positionWorld"
- },
- {
- "name": "Position World Direction",
- "icon": "gizmo",
- "nodeType": "mat4",
- "shaderNode": "positionWorldDirection"
- }
- ]
- },
- {
- "name": "Viewport",
- "icon": "device-desktop",
- "children": [
- {
- "name": "Viewport Bottom Left",
- "icon": "device-desktop",
- "nodeType": "vec3",
- "shaderNode": "viewportBottomLeft"
- },
- {
- "name": "Viewport Bottom Right",
- "icon": "device-desktop",
- "nodeType": "vec3",
- "shaderNode": "viewportBottomRight"
- },
- {
- "name": "Viewport Coordinate",
- "icon": "device-desktop",
- "nodeType": "vec3",
- "shaderNode": "viewportCoordinate"
- },
- {
- "name": "Viewport Resolution",
- "icon": "device-desktop",
- "nodeType": "vec3",
- "shaderNode": "viewportResolution"
- },
- {
- "name": "Viewport Top Left",
- "icon": "device-desktop",
- "nodeType": "vec3",
- "shaderNode": "viewportTopLeft"
- },
- {
- "name": "Viewport Top Right",
- "icon": "device-desktop",
- "nodeType": "vec3",
- "shaderNode": "viewportTopRight"
- }
- ]
- },
- {
- "name": "UV",
- "icon": "chart-treemap",
- "children": [
- {
- "name": "UV",
- "icon": "chart-treemap",
- "nodeType": "vec2",
- "editorClass": "UVEditor"
- },
- {
- "name": "Matcap UV",
- "icon": "chart-treemap",
- "nodeType": "vec1",
- "shaderNode": "matcapUV"
- },
- {
- "name": "Point UV",
- "icon": "chart-treemap",
- "nodeType": "vec1",
- "shaderNode": "pointUV"
- }
- ]
- },
- {
- "name": "Geometry",
- "icon": "world",
- "children": [
- {
- "name": "Attribute",
- "icon": "book-upload",
- "shaderNode": "attribute",
- "nodeType": "bool",
- "properties": [
- {
- "name": "aNode",
- "nodeType": "node"
- }
- ]
- },
- {
- "name": "Face Direction",
- "icon": "brightness",
- "nodeType": "float",
- "shaderNode": "faceDirection"
- },
- {
- "name": "Front Facing",
- "icon": "brightness",
- "shaderNode": "frontFacing",
- "nodeType": "bool"
- },
- {
- "name": "Geometry Color",
- "icon": "palette",
- "shaderNode": "geometryColor",
- "nodeType": "color"
- }
- ]
- }
- ]
- },
- {
- "name": "Math",
- "icon": "calculator",
- "children": [
- {
- "name": "Arithmetic Operators",
- "icon": "math-symbols",
- "children": [
- {
- "name": "Addition",
- "icon": "plus",
- "description": "Addition operator.",
- "shaderNode": "add",
- "nodeType": "node",
- "properties": [
- {
- "name": "aNode",
- "nodeType": "node"
- },
- {
- "name": "bNode",
- "nodeType": "node"
- }
- ]
- },
- {
- "name": "Division",
- "icon": "divide",
- "description": "Division operator.",
- "shaderNode": "div",
- "nodeType": "node",
- "properties": [
- {
- "name": "aNode",
- "nodeType": "node"
- },
- {
- "name": "bNode",
- "nodeType": "node"
- }
- ]
- },
- {
- "name": "Multiply",
- "icon": "x",
- "tags": "tag1,tag2",
- "description": "Multiply operator.",
- "shaderNode": "mul",
- "nodeType": "node",
- "renderers": "WebGPU",
- "properties": [
- {
- "name": "aNode",
- "nodeType": "float"
- },
- {
- "name": "bNode",
- "nodeType": "float"
- }
- ]
- },
- {
- "name": "Power",
- "icon": "arrow-up-right",
- "description": "Exponentiation operator.",
- "shaderNode": "pow",
- "nodeType": "node",
- "properties": [
- {
- "name": "aNode",
- "nodeType": "node"
- },
- {
- "name": "bNode",
- "nodeType": "node"
- }
- ]
- },
- {
- "name": "Remainder",
- "icon": "percentage",
- "description": "Remainder operator.",
- "shaderNode": "remainder",
- "nodeType": "node",
- "properties": [
- {
- "name": "aNode",
- "nodeType": "node"
- },
- {
- "name": "bNode",
- "nodeType": "node"
- }
- ]
- },
- {
- "name": "Subtraction",
- "icon": "minus",
- "description": "Subtraction operator.",
- "shaderNode": "sub",
- "nodeType": "node",
- "properties": [
- {
- "name": "aNode",
- "nodeType": "node"
- },
- {
- "name": "bNode",
- "nodeType": "node"
- }
- ]
- }
- ]
- },
- {
- "name": "Logic Operators",
- "icon": "math-symbols",
- "children": [
- {
- "name": "Less Than",
- "icon": "math-lower",
- "description": "Less than operator..",
- "shaderNode": "lessThan",
- "nodeType": "bool",
- "properties": [
- {
- "name": "aNode",
- "nodeType": "node"
- },
- {
- "name": "bNode",
- "nodeType": "node"
- }
- ]
- },
- {
- "name": "Less Than Or Equal",
- "icon": "math-equal-lower",
- "description": "Less than or equal operator.",
- "shaderNode": "lessThanEqual",
- "nodeType": "bool",
- "properties": [
- {
- "name": "aNode",
- "nodeType": "node"
- },
- {
- "name": "bNode",
- "nodeType": "node"
- }
- ]
- },
- {
- "name": "Greater Than",
- "icon": "math-greater",
- "description": "Greater than operator.",
- "shaderNode": "greaterThan",
- "nodeType": "bool",
- "renderers": "WebGPU",
- "properties": [
- {
- "name": "aNode",
- "nodeType": "node"
- },
- {
- "name": "bNode",
- "nodeType": "node"
- }
- ]
- },
- {
- "name": "Greater Than Or Equal",
- "icon": "math-equal-greater",
- "description": "Greater than or equal operator.",
- "shaderNode": "greaterThanEqual",
- "nodeType": "bool",
- "properties": [
- {
- "name": "aNode",
- "nodeType": "node"
- },
- {
- "name": "bNode",
- "nodeType": "node"
- }
- ]
- },
- {
- "name": "Equality",
- "icon": "equal-double",
- "description": "Equality operator.",
- "shaderNode": "equal",
- "nodeType": "bool",
- "properties": [
- {
- "name": "aNode",
- "nodeType": "node"
- },
- {
- "name": "bNode",
- "nodeType": "node"
- }
- ]
- },
- {
- "name": "Inequality",
- "icon": "equal-not",
- "description": "Inequality operator.",
- "shaderNode": "notEqual",
- "nodeType": "bool",
- "properties": [
- {
- "name": "aNode",
- "nodeType": "node"
- },
- {
- "name": "bNode",
- "nodeType": "node"
- }
- ]
- },
- {
- "name": "And",
- "icon": "ampersand",
- "description": "Logical AND operator.",
- "shaderNode": "and",
- "nodeType": "bool",
- "properties": [
- {
- "name": "aNode",
- "nodeType": "node"
- },
- {
- "name": "bNode",
- "nodeType": "node"
- }
- ]
- },
- {
- "name": "Or",
- "icon": "switch-horizontal",
- "description": "Logical OR operator.",
- "shaderNode": "or",
- "nodeType": "bool",
- "properties": [
- {
- "name": "aNode",
- "nodeType": "node"
- },
- {
- "name": "bNode",
- "nodeType": "node"
- }
- ]
- },
- {
- "name": "Conditional",
- "icon": "arrows-split",
- "description": "Logical OR operator.",
- "shaderNode": "Conditional",
- "nodeType": "bool",
- "properties": [
- {
- "name": "condNode",
- "nodeType": "node"
- },
- {
- "name": "ifNode",
- "nodeType": "node"
- },
- {
- "name": "elseNode",
- "nodeType": "node"
- }
- ]
- }
- ]
- },
- {
- "name": "Bitwise Operators",
- "icon": "math-symbols",
- "children": [
- {
- "name": "Bitwise AND",
- "icon": "binary",
- "description": "Bitwise AND operator.",
- "shaderNode": "bitAnd",
- "nodeType": "node",
- "properties": [
- {
- "name": "aNode",
- "nodeType": "node"
- },
- {
- "name": "bNode",
- "nodeType": "node"
- }
- ]
- },
- {
- "name": "Bitwise OR",
- "icon": "binary",
- "description": "Bitwise OR operator.",
- "shaderNode": "bitOr",
- "nodeType": "node",
- "properties": [
- {
- "name": "aNode",
- "nodeType": "node"
- },
- {
- "name": "bNode",
- "nodeType": "node"
- }
- ]
- },
- {
- "name": "Bitwise XOR",
- "icon": "binary",
- "description": "Bitwise XOR operator.",
- "shaderNode": "bitXor",
- "nodeType": "node",
- "properties": [
- {
- "name": "aNode",
- "nodeType": "node"
- },
- {
- "name": "bNode",
- "nodeType": "node"
- }
- ]
- },
- {
- "name": "Shift left",
- "icon": "binary",
- "description": "Bitwise left shift operator.",
- "shaderNode": "shiftLeft",
- "nodeType": "node",
- "properties": [
- {
- "name": "aNode",
- "nodeType": "node"
- },
- {
- "name": "bNode",
- "nodeType": "node"
- }
- ]
- },
- {
- "name": "Shift right",
- "icon": "binary",
- "description": "Bitwise right shift operator.",
- "shaderNode": "shiftRight",
- "nodeType": "node",
- "properties": [
- {
- "name": "aNode",
- "nodeType": "node"
- },
- {
- "name": "bNode",
- "nodeType": "node"
- }
- ]
- },
- {
- "name": "XOR",
- "icon": "binary",
- "description": "Bitwise XOR operator.",
- "shaderNode": "xor",
- "nodeType": "node",
- "properties": [
- {
- "name": "aNode",
- "nodeType": "node"
- },
- {
- "name": "bNode",
- "nodeType": "node"
- }
- ]
- }
- ]
- },
- {
- "name": "Functions",
- "icon": "math-function",
- "children": [
- {
- "name": "Abs",
- "icon": "math-function",
- "description": "Returns the absolute value of x.",
- "shaderNode": "abs",
- "nodeType": "node",
- "properties": [
- {
- "name": "aNode",
- "nodeType": "node",
- "label": "x",
- "description": "Specify the value of which to return the absolute."
- }
- ]
- },
- {
- "name": "Acos",
- "icon": "math-function",
- "description": "Returns the angle whose trigonometric cosine is x.",
- "shaderNode": "acos",
- "nodeType": "node",
- "properties": [
- {
- "name": "aNode",
- "nodeType": "node",
- "label": "x",
- "description": "Specify the value whose arccosine to return."
- }
- ]
- },
- {
- "name": "Asin",
- "icon": "math-function",
- "description": "Returns the angle whose trigonometric sine is X.",
- "shaderNode": "asin",
- "nodeType": "node",
- "properties": [
- {
- "name": "aNode",
- "nodeType": "node",
- "label": "x",
- "description": "Specify the value whose arcsine to return."
- }
- ]
- },
- {
- "name": "Atan",
- "icon": "math-function",
- "description": "Returns either the angle whose trigonometric arctangent is yx or y_over_x, depending on which overload is invoked. In the first overload, the signs of y and x are used to determine the quadrant that the angle lies in.",
- "shaderNode": "atan",
- "nodeType": "node",
- "properties": [
- {
- "name": "aSNode",
- "nodeType": "node",
- "label": "y_over_x",
- "description": "Specify the fraction whose arctangent to return."
- }
- ]
- },
- {
- "name": "Atan2",
- "icon": "math-function",
- "description": "Return the arc-tangent of the parameters",
- "shaderNode": "atan2",
- "nodeType": "node",
- "properties": [
- {
- "name": "aNode",
- "nodeType": "node",
- "label": "y",
- "description": "Specify the numerator of the fraction whose arctangent to return."
- },
- {
- "name": "bNode",
- "nodeType": "node",
- "label": "x",
- "description": "Specify the denominator of the fraction whose arctangent to return."
- }
- ]
- },
- {
- "name": "Ceil",
- "icon": "math-function",
- "description": "Returns a value equal to the nearest integer that is greater than or equal to x.",
- "shaderNode": "ceil",
- "nodeType": "node",
- "properties": [
- {
- "name": "aNode",
- "nodeType": "node",
- "label": "x",
- "description": "Specify the value to evaluate."
- }
- ]
- },
- {
- "name": "Clamp",
- "icon": "math-function",
- "description": "Constrain a value to lie between two further values",
- "shaderNode": "clamp",
- "nodeType": "node",
- "properties": [
- {
- "name": "aNode",
- "nodeType": "node",
- "label": "x",
- "description": "Specify the value to constrain."
- },
- {
- "name": "bNode",
- "nodeType": "node",
- "label": "minVal",
- "description": "Specify the lower end of the range into which to constrain."
- },
- {
- "name": "cNode",
- "nodeType": "node",
- "label": "maxVal",
- "description": "Specify the upper end of the range into which to constrain."
- }
- ]
- },
- {
- "name": "Cosine",
- "icon": "math-function",
- "description": "Returns the trigonometric cosine of angle.",
- "shaderNode": "cos",
- "nodeType": "node",
- "properties": [
- {
- "name": "aNode",
- "nodeType": "node",
- "label": "angle",
- "description": "Specify the quantity, in radians, of which to return the cosine."
- }
- ]
- },
- {
- "name": "Cross",
- "icon": "math-function",
- "description": "Calculate the cross product of two vectors",
- "shaderNode": "cross",
- "nodeType": "node",
- "properties": [
- {
- "name": "aNode",
- "nodeType": "node",
- "label": "x",
- "description": "Specifies the first of two points."
- },
- {
- "name": "bNode",
- "nodeType": "node",
- "label": "y",
- "description": "Specifies the second of two points."
- }
- ]
- },
- {
- "name": "Degrees",
- "icon": "math-function",
- "description": "Converts a quantity specified in radians into degrees.",
- "shaderNode": "degrees",
- "nodeType": "node",
- "properties": [
- {
- "name": "aNode",
- "nodeType": "node",
- "label": "radians",
- "description": "Specify the quantity, in radians, to be converted to degrees."
- }
- ]
- },
- {
- "name": "Distance",
- "icon": "math-function",
- "description": "Calculate the distance between two points",
- "shaderNode": "distance",
- "nodeType": "node",
- "properties": [
- {
- "name": "aNode",
- "nodeType": "node",
- "label": "p0",
- "description": "Specifies the first of two points."
- },
- {
- "name": "bNode",
- "nodeType": "node",
- "label": "p1",
- "description": "Specifies the second of two points."
- }
- ]
- },
- {
- "name": "Dot",
- "icon": "math-function",
- "description": "Calculate the dot product of two vectors",
- "shaderNode": "dot",
- "nodeType": "node",
- "properties": [
- {
- "name": "aNode",
- "nodeType": "node",
- "label": "x",
- "description": "Specifies the first of two points."
- },
- {
- "name": "bNode",
- "nodeType": "node",
- "label": "y",
- "description": "Specifies the second of two points."
- }
- ]
- },
- {
- "name": "Exp",
- "icon": "math-function",
- "description": "Returns the natural exponentiation of x. i.e., ex.",
- "shaderNode": "exp",
- "nodeType": "node",
- "properties": [
- {
- "name": "aNode",
- "nodeType": "node",
- "label": "x",
- "description": "Specify the value to exponentiate."
- }
- ]
- },
- {
- "name": "Face Forward",
- "icon": "math-function",
- "description": "Return a vector pointing in the same direction as another",
- "shaderNode": "faceForward",
- "nodeType": "node",
- "properties": [
- {
- "name": "aNode",
- "nodeType": "node",
- "label": "n",
- "description": "Specifies the vector to orient."
- },
- {
- "name": "bNode",
- "nodeType": "node",
- "label": "i",
- "description": "Specifies the incident vector."
- },
- {
- "name": "cNode",
- "nodeType": "node",
- "label": "nref",
- "description": "Specifies the reference vector."
- }
- ]
- },
- {
- "name": "Floor",
- "icon": "math-function",
- "description": "Returns a value equal to the nearest integer that is less than or equal to x.",
- "shaderNode": "floor",
- "nodeType": "node",
- "properties": [
- {
- "name": "aNode",
- "nodeType": "node",
- "label": "x",
- "description": "Specify the value to evaluate."
- }
- ]
- },
- {
- "name": "Fract",
- "icon": "math-function",
- "description": "Returns the fractional part of x. This is calculated as x - floor(x).",
- "shaderNode": "fract",
- "nodeType": "node",
- "properties": [
- {
- "name": "aNode",
- "nodeType": "node",
- "label": "x",
- "description": "Specify the value to evaluate."
- }
- ]
- },
- {
- "name": "Inverse Sqrt",
- "icon": "math-function",
- "description": "Returns the inverse of the square root of x; i.e. the value 1x√.",
- "shaderNode": "inversesqrt",
- "nodeType": "node",
- "properties": [
- {
- "name": "aNode",
- "nodeType": "node",
- "label": "x",
- "description": "Specify the value of which to take the inverse of the square root."
- }
- ]
- },
- {
- "name": "Length",
- "icon": "math-function",
- "description": "Returns the length of the vector, i.e.",
- "shaderNode": "length",
- "nodeType": "node",
- "properties": [
- {
- "name": "aNode",
- "nodeType": "node",
- "label": "x",
- "description": "Specify the vector of which to calculate the length."
- }
- ]
- },
- {
- "name": "Log",
- "icon": "math-function",
- "description": "Returns the natural logarithm of x, i.e. the value y which satisfies x=ey.",
- "shaderNode": "log",
- "nodeType": "node",
- "properties": [
- {
- "name": "aNode",
- "nodeType": "node",
- "label": "x",
- "description": "Specify the value of which to take the natural logarithm."
- }
- ]
- },
- {
- "name": "Log2",
- "icon": "math-function",
- "description": "Returns the base 2 logarithm of x, i.e. the value y which satisfies x=2y.",
- "shaderNode": "log2",
- "nodeType": "node",
- "properties": [
- {
- "name": "aNode",
- "nodeType": "node",
- "label": "x",
- "description": "Specify the value of which to take the base 2 logarithm."
- }
- ]
- },
- {
- "name": "Max",
- "icon": "math-function",
- "description": "Returns the maximun of the two parameters.",
- "shaderNode": "max",
- "nodeType": "node",
- "properties": [
- {
- "name": "aNode",
- "nodeType": "node",
- "label": "x",
- "description": "Specify the first value to compare."
- },
- {
- "name": "bNode",
- "nodeType": "node",
- "label": "y",
- "description": "Specify the second value to compare."
- }
- ]
- },
- {
- "name": "Min",
- "icon": "math-function",
- "description": "Returns the minimum of the two parameters.",
- "shaderNode": "min",
- "nodeType": "node",
- "properties": [
- {
- "name": "aNode",
- "nodeType": "node",
- "label": "x",
- "description": "Specify the first value to compare."
- },
- {
- "name": "bNode",
- "nodeType": "node",
- "label": "y",
- "description": "Specify the second value to compare."
- }
- ]
- },
- {
- "name": "Mix",
- "icon": "math-function",
- "description": "Linearly interpolate between two values",
- "shaderNode": "mix",
- "nodeType": "node",
- "properties": [
- {
- "name": "aNode",
- "nodeType": "node",
- "label": "x",
- "description": "Specify the start of the range in which to interpolate."
- },
- {
- "name": "bNode",
- "nodeType": "node",
- "label": "y",
- "description": "Specify the end of the range in which to interpolate."
- },
- {
- "name": "cNode",
- "nodeType": "node",
- "label": "a",
- "description": "Specify the value to use to interpolate between x and y."
- }
- ]
- },
- {
- "name": "Modulo",
- "icon": "math-function",
- "description": "Returns the value of x modulo y.",
- "shaderNode": "mod",
- "nodeType": "node",
- "properties": [
- {
- "name": "aNode",
- "nodeType": "node",
- "label": "x",
- "description": "Specify the value to evaluate."
- },
- {
- "name": "bNode",
- "nodeType": "float",
- "label": "y",
- "description": "Specify the value to evaluate."
- }
- ]
- },
- {
- "name": "Negate",
- "icon": "math-function",
- "description": "Returns the flipped sign value of input In",
- "shaderNode": "negate",
- "nodeType": "node",
- "properties": [
- {
- "name": "aNode",
- "nodeType": "node",
- "description": "Input value."
- }
- ]
- },
- {
- "name": "Normalize",
- "icon": "math-function",
- "description": "Returns a vector with the same direction as its parameter, v, but with length 1.",
- "shaderNode": "normalize",
- "nodeType": "node",
- "properties": [
- {
- "name": "aNode",
- "nodeType": "node",
- "label": "v",
- "description": "Specifies the vector to normalize."
- }
- ]
- },
- {
- "name": "One Minus",
- "icon": "math-function",
- "description": "Returns the result of input `a` subtracted from 1.",
- "shaderNode": "oneMinus",
- "nodeType": "node",
- "properties": [
- {
- "name": "aNode",
- "nodeType": "node",
- "description": "Input value."
- }
- ]
- },
- {
- "name": "Pow",
- "icon": "math-function",
- "description": "Return the value of the first parameter raised to the power of the second",
- "shaderNode": "pow",
- "nodeType": "node",
- "properties": [
- {
- "name": "aNode",
- "nodeType": "node",
- "label": "x",
- "description": "Specify the value to raise to the power y."
- },
- {
- "name": "bNode",
- "nodeType": "node",
- "label": "y",
- "description": "Specify the value to whitch to raise x."
- }
- ]
- },
- {
- "name": "Radians",
- "icon": "math-function",
- "description": "Converts a quantity specified in degrees into radians.",
- "shaderNode": "radians",
- "nodeType": "node",
- "properties": [
- {
- "name": "aNode",
- "nodeType": "node",
- "label": "degrees",
- "description": "Specify the quantity, in degrees, to be converted to radians."
- }
- ]
- },
- {
- "name": "Reciprocal",
- "icon": "math-function",
- "description": "Returns the result of dividing 1 by the input.",
- "shaderNode": "reciprocal",
- "nodeType": "node",
- "properties": [
- {
- "name": "aNode",
- "nodeType": "node",
- "description": "Input value."
- }
- ]
- },
- {
- "name": "Reflect",
- "icon": "math-function",
- "description": "Calculate the reflection direction for an incident vector",
- "shaderNode": "reflect",
- "nodeType": "node",
- "properties": [
- {
- "name": "aNode",
- "nodeType": "node",
- "label": "i",
- "description": "Specifies the incident vector."
- },
- {
- "name": "bNode",
- "nodeType": "node",
- "label": "n",
- "description": "Specifies the normal vector."
- }
- ]
- },
- {
- "name": "Refract",
- "icon": "math-function",
- "description": "Calculate the refraction direction for an incident vector",
- "shaderNode": "refract",
- "nodeType": "node",
- "properties": [
- {
- "name": "aNode",
- "nodeType": "node",
- "label": "i",
- "description": "Specifies the incident vector."
- },
- {
- "name": "bNode",
- "nodeType": "node",
- "label": "n",
- "description": "Specifies the normal vector."
- },
- {
- "name": "cNode",
- "nodeType": "node",
- "label": "eta",
- "description": "Specifies the ratio of indices of refraction."
- }
- ]
- },
- {
- "name": "Remap",
- "icon": "math-function",
- "nodeType": "node",
- "shaderNode": "remap",
- "properties": [
- {
- "name": "node",
- "nodeType": "node"
- },
- {
- "name": "inLowNode",
- "nodeType": "node"
- },
- {
- "name": "inHighNode",
- "nodeType": "node"
- },
- {
- "name": "outLowNode",
- "nodeType": "node"
- },
- {
- "name": "outHighNode",
- "nodeType": "node"
- }
- ]
- },
- {
- "name": "Round",
- "icon": "math-function",
- "description": "Round returns a value equal to the nearest integer to x.",
- "shaderNode": "round",
- "nodeType": "node",
- "properties": [
- {
- "name": "aNode",
- "nodeType": "node",
- "label": "x",
- "description": "Specify the value to evaluate."
- }
- ]
- },
- {
- "name": "Saturate",
- "icon": "math-function",
- "shaderNode": "saturate",
- "nodeType": "node",
- "properties": [
- {
- "name": "aNode",
- "nodeType": "node"
- }
- ]
- },
- {
- "name": "Sign",
- "icon": "math-function",
- "description": "Returns -1.0 if x is less than 0.0, 0.0 if x is equal to 0.0, and +1.0 if x is greater than 0.0.",
- "shaderNode": "sign",
- "nodeType": "node",
- "properties": [
- {
- "name": "aNode",
- "nodeType": "node",
- "label": "x",
- "description": "Specify the value from wich to extract the sign."
- }
- ]
- },
- {
- "name": "Sine",
- "icon": "math-function",
- "description": "Returns the trigonometric sine of angle.",
- "shaderNode": "sin",
- "nodeType": "node",
- "properties": [
- {
- "name": "aNode",
- "nodeType": "node",
- "label": "angle",
- "description": "Specify the quantity, in radians, of which to return the sine."
- }
- ]
- },
- {
- "name": "Smoothstep",
- "icon": "math-function",
- "description": "Perform Hermite interpolation between two values",
- "shaderNode": "smoothstep",
- "nodeType": "node",
- "properties": [
- {
- "name": "aNode",
- "nodeType": "node",
- "label": "edge0",
- "description": "Specifies the value of the lower edge of the Hermite function."
- },
- {
- "name": "bNode",
- "nodeType": "node",
- "label": "edge1",
- "description": "Specifies the value of the upper edge of the Hermite function."
- },
- {
- "name": "cNode",
- "nodeType": "node",
- "label": "x",
- "description": "Specifies the value to be used to generate the Hermite function."
- }
- ]
- },
- {
- "name": "Sqrt",
- "icon": "math-function",
- "description": "Returns the square root of x, i.e.",
- "shaderNode": "sqrt",
- "nodeType": "node",
- "properties": [
- {
- "name": "aNode",
- "nodeType": "node",
- "label": "x",
- "description": "Specify the value of which to take the square root."
- }
- ]
- },
- {
- "name": "Tangent",
- "icon": "math-function",
- "description": "Returns the trigonometric tangent of angle.",
- "shaderNode": "tan",
- "nodeType": "node",
- "properties": [
- {
- "name": "aNode",
- "nodeType": "node",
- "label": "angle",
- "description": "Specify the quantity, in radians, of which to return the tangent."
- }
- ]
- },
- {
- "name": "Transform Direction",
- "icon": "math-function",
- "description": "Transforms the direction of vector by a matrix and then normalizes the result.",
- "shaderNode": "transformDirection",
- "nodeType": "node",
- "properties": [
- {
- "name": "aNode",
- "nodeType": "node",
- "label": "dir"
- },
- {
- "name": "bNode",
- "nodeType": "node",
- "label": "matrix"
- }
- ]
- },
- {
- "name": "dFdx",
- "icon": "math-function",
- "description": "Return the partial derivative of expression p with respect to the window x coordinate.",
- "shaderNode": "dFdx",
- "nodeType": "node",
- "properties": [
- {
- "name": "aNode",
- "nodeType": "node",
- "label": "p",
- "description": "Specifies the expression of which to take the partial derivative."
- }
- ]
- },
- {
- "name": "dFdy",
- "icon": "math-function",
- "description": "Return the partial derivative of expression p with respect to the window y coordinate.",
- "shaderNode": "dFdy",
- "nodeType": "node",
- "properties": [
- {
- "name": "aNode",
- "nodeType": "node",
- "label": "p",
- "description": "Specifies the expression of which to take the partial derivative."
- }
- ]
- },
- {
- "name": "Step",
- "icon": "math-function",
- "description": "Generates a step function by comparing x to edge.",
- "shaderNode": "step",
- "nodeType": "node",
- "properties": [
- {
- "name": "aNode",
- "nodeType": "node",
- "label": "edge",
- "description": "Specifies the location of the edge of the step function."
- },
- {
- "name": "bNode",
- "nodeType": "node",
- "label": "x",
- "description": "Specify the value to be used to generate the step function."
- }
- ]
- }
- ]
- },
- {
- "name": "Constants",
- "icon": "123",
- "children": [
- {
- "name": "Epsilon",
- "icon": "letter-e",
- "shaderNode": "EPSILON",
- "nodeType": "float",
- "value": 1000000
- },
- {
- "name": "Infinity",
- "icon": "infinity",
- "shaderNode": "INFINITY",
- "nodeType": "float",
- "value": 0.000001
- },
- {
- "name": "PI",
- "icon": "math-pi",
- "shaderNode": "PI",
- "nodeType": "float",
- "value": 3.141592653589793
- }
- ]
- }
- ]
- },
- {
- "name": "Filters",
- "icon": "color-filter",
- "children": [
- {
- "name": "Burn",
- "icon": "color-filter",
- "nodeType": "color",
- "shaderNode": "burn",
- "properties": [
- {
- "name": "blendNode",
- "nodeType": "color"
- },
- {
- "name": "baseNode",
- "nodeType": "color"
- }
- ]
- },
- {
- "name": "Difference",
- "icon": "color-filter",
- "nodeType": "color",
- "shaderNode": "difference",
- "properties": [
- {
- "name": "blendNode",
- "nodeType": "color"
- },
- {
- "name": "baseNode",
- "nodeType": "color"
- }
- ]
- },
- {
- "name": "Dodge",
- "icon": "color-filter",
- "nodeType": "color",
- "shaderNode": "dodge",
- "properties": [
- {
- "name": "blendNode",
- "nodeType": "color"
- },
- {
- "name": "baseNode",
- "nodeType": "color"
- }
- ]
- },
- {
- "name": "Hue",
- "icon": "color-filter",
- "nodeType": "color",
- "shaderNode": "hue",
- "properties": [
- {
- "name": "blendNode",
- "nodeType": "color"
- },
- {
- "name": "baseNode",
- "nodeType": "color"
- }
- ]
- },
- {
- "name": "Luminance",
- "icon": "color-filter",
- "nodeType": "color",
- "shaderNode": "luminance",
- "properties": [
- {
- "name": "blendNode",
- "nodeType": "color"
- },
- {
- "name": "baseNode",
- "nodeType": "color"
- }
- ]
- },
- {
- "name": "Overlay",
- "icon": "color-filter",
- "nodeType": "color",
- "shaderNode": "overlay",
- "properties": [
- {
- "name": "blendNode",
- "nodeType": "color"
- },
- {
- "name": "baseNode",
- "nodeType": "color"
- }
- ]
- },
- {
- "name": "Posterize",
- "icon": "color-filter",
- "nodeType": "color",
- "shaderNode": "posterize",
- "visible": false,
- "properties": [
- {
- "name": "blendNode",
- "nodeType": "color"
- },
- {
- "name": "baseNode",
- "nodeType": "color"
- }
- ]
- },
- {
- "name": "Saturation",
- "icon": "color-filter",
- "nodeType": "color",
- "shaderNode": "saturation",
- "properties": [
- {
- "name": "blendNode",
- "nodeType": "color"
- },
- {
- "name": "baseNode",
- "nodeType": "color"
- }
- ]
- },
- {
- "name": "Screen",
- "icon": "color-filter",
- "nodeType": "color",
- "shaderNode": "screen",
- "properties": [
- {
- "name": "blendNode",
- "nodeType": "color"
- },
- {
- "name": "baseNode",
- "nodeType": "color"
- }
- ]
- },
- {
- "name": "Vibrance",
- "icon": "color-filter",
- "nodeType": "color",
- "shaderNode": "vibrance",
- "properties": [
- {
- "name": "blendNode",
- "nodeType": "color"
- },
- {
- "name": "baseNode",
- "nodeType": "color"
- }
- ]
- }
- ]
- },
- {
- "name": "Utils",
- "icon": "apps",
- "children": [
- {
- "name": "Channel",
- "icon": "server-2",
- "children": [
- {
- "name": "Join",
- "icon": "arrows-join",
- "nodeType": "node",
- "editorClass": "JoinEditor"
- },
- {
- "name": "Split",
- "icon": "arrows-split",
- "nodeType": "node",
- "editorClass": "SplitEditor"
- },
- {
- "name": "Swizzle",
- "icon": "switch-3",
- "nodeType": "node",
- "editorClass": "SwizzleEditor"
- }
- ]
- },
- {
- "name": "UV",
- "icon": "chart-treemap",
- "children": [
- {
- "name": "Rotate UV",
- "icon": "rotate-clockwise-2",
- "nodeType": "float",
- "shaderNode": "rotateUV"
- }
- ]
- },
- {
- "name": "Preview",
- "icon": "square-check",
- "nodeType": "float",
- "editorClass": "PreviewEditor"
- },
- {
- "name": "Timer",
- "icon": "clock",
- "editorClass": "TimerEditor"
- }
- ]
- },
- {
- "name": "Conversions",
- "icon": "arrows-exchange",
- "children": [
- {
- "name": "Color To Direction",
- "icon": "arrows-exchange",
- "nodeType": "color",
- "shaderNode": "colorToDirection"
- },
- {
- "name": "Direction To Color",
- "icon": "arrows-exchange",
- "nodeType": "color",
- "shaderNode": "directionToColor"
- }
- ]
- },
- {
- "name": "Procedural",
- "icon": "binary-tree",
- "children": [
- {
- "name": "Checker",
- "icon": "border-all",
- "nodeType": "float",
- "shaderNode": "checker",
- "properties": [
- {
- "name": "uvNode",
- "nodeType": "vec2"
- }
- ]
- },
- {
- "name": "Range",
- "icon": "sort-ascending-2",
- "nodeType": "node",
- "shaderNode": "range",
- "properties": [
- {
- "name": "minNode",
- "nodeType": "InputNode"
- },
- {
- "name": "maxNode",
- "nodeType": "InputNode"
- }
- ]
- }
- ]
- },
- {
- "name": "Prototype",
- "icon": "code",
- "children": [
- {
- "name": "Node Prototype",
- "icon": "components",
- "editorClass": "NodePrototypeEditor"
- },
- {
- "name": "Scriptable",
- "icon": "variable",
- "editorClass": "ScriptableEditor"
- }
- ]
- },
- {
- "name": "Material",
- "icon": "circles",
- "children": [
- {
- "name": "Basic Material",
- "icon": "circle",
- "nodeType": "float",
- "editorClass": "BasicMaterialEditor",
- "editorURL": "./materials/BasicMaterialEditor.js"
- },
- {
- "name": "Points Material",
- "icon": "circle-dotted",
- "nodeType": "float",
- "editorClass": "PointsMaterialEditor"
- },
- {
- "name": "Standard Material",
- "icon": "inner-shadow-top-left",
- "nodeType": "float",
- "editorClass": "StandardMaterialEditor"
- }
- ]
- }
- ]
- }
|