| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817 |
- {
- "tags": null,
- "id": "dummy node",
- "uniqueId": 78,
- "name": "dummy node",
- "checkReadyOnEveryCall": false,
- "checkReadyOnlyOnce": false,
- "state": "",
- "alpha": 1,
- "backFaceCulling": true,
- "sideOrientation": 1,
- "alphaMode": 2,
- "_needDepthPrePass": false,
- "disableDepthWrite": false,
- "forceDepthWrite": false,
- "separateCullingPass": false,
- "fogEnabled": true,
- "pointSize": 1,
- "zOffset": 0,
- "wireframe": false,
- "pointsCloud": false,
- "fillMode": 0,
- "customType": "BABYLON.NodeMaterial",
- "outputNodes": [
- 200,
- 213,
- 226
- ],
- "blocks": [
- {
- "customType": "BABYLON.VertexOutputBlock",
- "id": 200,
- "name": "vertexOutput",
- "inputs": [
- {
- "name": "vector",
- "inputName": "vector",
- "targetBlockId": 201,
- "targetConnectionName": "output"
- }
- ]
- },
- {
- "customType": "BABYLON.TransformBlock",
- "id": 201,
- "name": "worldPos * viewProjectionTransform",
- "inputs": [
- {
- "name": "vector",
- "inputName": "vector",
- "targetBlockId": 202,
- "targetConnectionName": "output"
- },
- {
- "name": "transform",
- "inputName": "transform",
- "targetBlockId": 212,
- "targetConnectionName": "output"
- }
- ],
- "complementZ": 0,
- "complementW": 1
- },
- {
- "customType": "BABYLON.TransformBlock",
- "id": 202,
- "name": "worldPos",
- "inputs": [
- {
- "name": "vector",
- "inputName": "vector",
- "targetBlockId": 203,
- "targetConnectionName": "positionOutput"
- },
- {
- "name": "transform",
- "inputName": "transform",
- "targetBlockId": 208,
- "targetConnectionName": "output"
- }
- ],
- "complementZ": 0,
- "complementW": 1
- },
- {
- "customType": "BABYLON.MorphTargetsBlock",
- "id": 203,
- "name": "morphTargets",
- "inputs": [
- {
- "name": "position",
- "inputName": "position",
- "targetBlockId": 204,
- "targetConnectionName": "output"
- },
- {
- "name": "normal",
- "inputName": "normal",
- "targetBlockId": 205,
- "targetConnectionName": "output"
- },
- {
- "name": "tangent",
- "inputName": "tangent",
- "targetBlockId": 206,
- "targetConnectionName": "output"
- },
- {
- "name": "uv",
- "inputName": "uv",
- "targetBlockId": 207,
- "targetConnectionName": "output"
- }
- ]
- },
- {
- "customType": "BABYLON.InputBlock",
- "id": 204,
- "name": "position",
- "inputs": [],
- "type": 8,
- "mode": 1,
- "wellKnownValue": null,
- "animationType": 0,
- "visibleInInspector": false
- },
- {
- "customType": "BABYLON.InputBlock",
- "id": 205,
- "name": "normal",
- "inputs": [],
- "type": 8,
- "mode": 1,
- "wellKnownValue": null,
- "animationType": 0,
- "visibleInInspector": false
- },
- {
- "customType": "BABYLON.InputBlock",
- "id": 206,
- "name": "tangent",
- "inputs": [],
- "type": 8,
- "mode": 1,
- "wellKnownValue": null,
- "animationType": 0,
- "visibleInInspector": false
- },
- {
- "customType": "BABYLON.InputBlock",
- "id": 207,
- "name": "uv",
- "inputs": [],
- "type": 4,
- "mode": 1,
- "wellKnownValue": null,
- "animationType": 0,
- "visibleInInspector": false
- },
- {
- "customType": "BABYLON.BonesBlock",
- "id": 208,
- "name": "bonesBlock",
- "inputs": [
- {
- "name": "matricesIndices",
- "inputName": "matricesIndices",
- "targetBlockId": 209,
- "targetConnectionName": "output"
- },
- {
- "name": "matricesWeights",
- "inputName": "matricesWeights",
- "targetBlockId": 210,
- "targetConnectionName": "output"
- },
- {
- "name": "matricesIndicesExtra"
- },
- {
- "name": "matricesWeightsExtra"
- },
- {
- "name": "world",
- "inputName": "world",
- "targetBlockId": 211,
- "targetConnectionName": "output"
- }
- ]
- },
- {
- "customType": "BABYLON.InputBlock",
- "id": 209,
- "name": "matricesIndices",
- "inputs": [],
- "type": 16,
- "mode": 1,
- "wellKnownValue": null,
- "animationType": 0,
- "visibleInInspector": false
- },
- {
- "customType": "BABYLON.InputBlock",
- "id": 210,
- "name": "matricesWeights",
- "inputs": [],
- "type": 16,
- "mode": 1,
- "wellKnownValue": null,
- "animationType": 0,
- "visibleInInspector": false
- },
- {
- "customType": "BABYLON.InputBlock",
- "id": 211,
- "name": "world",
- "inputs": [],
- "type": 128,
- "mode": 0,
- "wellKnownValue": 1,
- "animationType": 0,
- "visibleInInspector": false,
- "valueType": "BABYLON.Matrix",
- "value": {
- "0": 1,
- "1": 0,
- "2": 0,
- "3": 0,
- "4": 0,
- "5": 1,
- "6": 0,
- "7": 0,
- "8": 0,
- "9": 0,
- "10": 1,
- "11": 0,
- "12": 0,
- "13": 0,
- "14": 0,
- "15": 1
- }
- },
- {
- "customType": "BABYLON.InputBlock",
- "id": 212,
- "name": "viewProjection",
- "inputs": [],
- "type": 128,
- "mode": 0,
- "wellKnownValue": 4,
- "animationType": 0,
- "visibleInInspector": false
- },
- {
- "customType": "BABYLON.FogBlock",
- "id": 213,
- "name": "fog",
- "inputs": [
- {
- "name": "worldPosition",
- "inputName": "worldPosition",
- "targetBlockId": 202,
- "targetConnectionName": "output"
- },
- {
- "name": "view",
- "inputName": "view",
- "targetBlockId": 214,
- "targetConnectionName": "output"
- },
- {
- "name": "input",
- "inputName": "input",
- "targetBlockId": 215,
- "targetConnectionName": "rgb"
- },
- {
- "name": "fogColor",
- "inputName": "fogColor",
- "targetBlockId": 225,
- "targetConnectionName": "output"
- }
- ]
- },
- {
- "customType": "BABYLON.InputBlock",
- "id": 214,
- "name": "view",
- "inputs": [],
- "type": 128,
- "mode": 0,
- "wellKnownValue": 2,
- "animationType": 0,
- "visibleInInspector": false
- },
- {
- "customType": "BABYLON.ColorSplitterBlock",
- "id": 215,
- "name": "color4 splitter",
- "inputs": [
- {
- "name": "rgba",
- "inputName": "rgba",
- "targetBlockId": 216,
- "targetConnectionName": "output"
- },
- {
- "name": "rgb "
- }
- ]
- },
- {
- "customType": "BABYLON.ScaleBlock",
- "id": 216,
- "name": "color scale",
- "inputs": [
- {
- "name": "input",
- "inputName": "input",
- "targetBlockId": 217,
- "targetConnectionName": "output"
- },
- {
- "name": "factor",
- "inputName": "factor",
- "targetBlockId": 224,
- "targetConnectionName": "output"
- }
- ]
- },
- {
- "customType": "BABYLON.MultiplyBlock",
- "id": 217,
- "name": "color multiplier",
- "inputs": [
- {
- "name": "left",
- "inputName": "left",
- "targetBlockId": 218,
- "targetConnectionName": "rgba"
- },
- {
- "name": "right",
- "inputName": "right",
- "targetBlockId": 221,
- "targetConnectionName": "rgba"
- }
- ]
- },
- {
- "customType": "BABYLON.TextureBlock",
- "id": 218,
- "name": "diffuseTexture",
- "inputs": [
- {
- "name": "uv",
- "inputName": "uv",
- "targetBlockId": 220,
- "targetConnectionName": "output"
- }
- ],
- "texture": {
- "tags": null,
- "url": "/playground/textures/bloc.jpg",
- "uOffset": 0,
- "vOffset": 0,
- "uScale": 1,
- "vScale": 1,
- "uAng": 0,
- "vAng": 0,
- "wAng": 0,
- "uRotationCenter": 0.5,
- "vRotationCenter": 0.5,
- "wRotationCenter": 0.5,
- "isBlocking": true,
- "uniqueId": 88,
- "name": "/playground/textures/bloc.jpg",
- "hasAlpha": false,
- "getAlphaFromRGB": false,
- "level": 1,
- "coordinatesIndex": 0,
- "coordinatesMode": 0,
- "wrapU": 1,
- "wrapV": 1,
- "wrapR": 1,
- "anisotropicFilteringLevel": 4,
- "isCube": false,
- "is3D": false,
- "gammaSpace": true,
- "invertZ": false,
- "lodLevelInAlpha": false,
- "lodGenerationOffset": 0,
- "lodGenerationScale": 0,
- "linearSpecularLOD": false,
- "isRenderTarget": false,
- "animations": [],
- "invertY": true,
- "samplingMode": 3
- }
- },
- {
- "customType": "BABYLON.InputBlock",
- "id": 220,
- "name": "uv",
- "inputs": [],
- "type": 4,
- "mode": 1,
- "wellKnownValue": null,
- "animationType": 0,
- "visibleInInspector": false
- },
- {
- "customType": "BABYLON.TextureBlock",
- "id": 221,
- "name": "diffuseTexture2",
- "inputs": [
- {
- "name": "uv",
- "inputName": "uv",
- "targetBlockId": 223,
- "targetConnectionName": "output"
- }
- ],
- "texture": {
- "tags": null,
- "url": "/playground/textures/crate.png",
- "uOffset": 0,
- "vOffset": 0,
- "uScale": 1,
- "vScale": 1,
- "uAng": 0,
- "vAng": 0,
- "wAng": 0,
- "uRotationCenter": 0.5,
- "vRotationCenter": 0.5,
- "wRotationCenter": 0.5,
- "isBlocking": true,
- "uniqueId": 90,
- "name": "/playground/textures/crate.png",
- "hasAlpha": false,
- "getAlphaFromRGB": false,
- "level": 1,
- "coordinatesIndex": 0,
- "coordinatesMode": 0,
- "wrapU": 1,
- "wrapV": 1,
- "wrapR": 1,
- "anisotropicFilteringLevel": 4,
- "isCube": false,
- "is3D": false,
- "gammaSpace": true,
- "invertZ": false,
- "lodLevelInAlpha": false,
- "lodGenerationOffset": 0,
- "lodGenerationScale": 0,
- "linearSpecularLOD": false,
- "isRenderTarget": false,
- "animations": [],
- "invertY": true,
- "samplingMode": 3
- }
- },
- {
- "customType": "BABYLON.InputBlock",
- "id": 223,
- "name": "uv",
- "inputs": [],
- "type": 4,
- "mode": 1,
- "wellKnownValue": null,
- "animationType": 0,
- "visibleInInspector": false
- },
- {
- "customType": "BABYLON.InputBlock",
- "id": 224,
- "name": "time",
- "inputs": [],
- "type": 1,
- "mode": 0,
- "wellKnownValue": null,
- "animationType": 0,
- "visibleInInspector": false,
- "valueType": "number",
- "value": 1
- },
- {
- "customType": "BABYLON.InputBlock",
- "id": 225,
- "name": "fogColor",
- "inputs": [],
- "type": 32,
- "mode": 0,
- "wellKnownValue": 8,
- "animationType": 0,
- "visibleInInspector": false,
- "valueType": "BABYLON.Color3",
- "value": [
- 1,
- 1,
- 1
- ]
- },
- {
- "customType": "BABYLON.FragmentOutputBlock",
- "id": 226,
- "name": "pixelOutput",
- "inputs": [
- {
- "name": "rgba"
- },
- {
- "name": "rgb",
- "inputName": "rgb",
- "targetBlockId": 524,
- "targetConnectionName": "output"
- },
- {
- "name": "a"
- }
- ]
- },
- {
- "customType": "BABYLON.ScaleBlock",
- "id": 524,
- "name": "Scale",
- "inputs": [
- {
- "name": "input",
- "inputName": "input",
- "targetBlockId": 213,
- "targetConnectionName": "output"
- },
- {
- "name": "factor",
- "inputName": "factor",
- "targetBlockId": 228,
- "targetConnectionName": "fresnel"
- }
- ]
- },
- {
- "customType": "BABYLON.FresnelBlock",
- "id": 228,
- "name": "Fresnel",
- "inputs": [
- {
- "name": "worldPosition",
- "inputName": "worldPosition",
- "targetBlockId": 202,
- "targetConnectionName": "output"
- },
- {
- "name": "worldNormal",
- "inputName": "worldNormal",
- "targetBlockId": 229,
- "targetConnectionName": "output"
- },
- {
- "name": "cameraPosition",
- "inputName": "cameraPosition",
- "targetBlockId": 231,
- "targetConnectionName": "output"
- },
- {
- "name": "bias",
- "inputName": "bias",
- "targetBlockId": 232,
- "targetConnectionName": "output"
- },
- {
- "name": "power",
- "inputName": "power",
- "targetBlockId": 233,
- "targetConnectionName": "output"
- }
- ]
- },
- {
- "customType": "BABYLON.TransformBlock",
- "id": 229,
- "name": "Transform",
- "inputs": [
- {
- "name": "vector",
- "inputName": "vector",
- "targetBlockId": 230,
- "targetConnectionName": "output"
- },
- {
- "name": "transform",
- "inputName": "transform",
- "targetBlockId": 208,
- "targetConnectionName": "output"
- }
- ],
- "complementZ": 0,
- "complementW": 1
- },
- {
- "customType": "BABYLON.InputBlock",
- "id": 230,
- "name": "normal",
- "inputs": [],
- "type": 8,
- "mode": 1,
- "wellKnownValue": null,
- "animationType": 0,
- "visibleInInspector": false
- },
- {
- "customType": "BABYLON.InputBlock",
- "id": 231,
- "name": "Vector3",
- "inputs": [],
- "type": 8,
- "mode": 0,
- "wellKnownValue": 7,
- "animationType": 0,
- "visibleInInspector": false,
- "valueType": "BABYLON.Vector3",
- "value": [
- 0,
- 0,
- 0
- ]
- },
- {
- "customType": "BABYLON.InputBlock",
- "id": 232,
- "name": "Float",
- "inputs": [],
- "type": 1,
- "mode": 0,
- "wellKnownValue": null,
- "animationType": 0,
- "visibleInInspector": false,
- "valueType": "number",
- "value": 0
- },
- {
- "customType": "BABYLON.InputBlock",
- "id": 233,
- "name": "Float",
- "inputs": [],
- "type": 1,
- "mode": 0,
- "wellKnownValue": null,
- "animationType": 0,
- "visibleInInspector": false,
- "valueType": "number",
- "value": 1
- }
- ],
- "locations": [
- {
- "blockId": 200,
- "x": 1500,
- "y": 561.5
- },
- {
- "blockId": 201,
- "x": 1250,
- "y": 548.5
- },
- {
- "blockId": 202,
- "x": 1000,
- "y": 465
- },
- {
- "blockId": 203,
- "x": 750,
- "y": 172
- },
- {
- "blockId": 204,
- "x": 500,
- "y": 0
- },
- {
- "blockId": 205,
- "x": 500,
- "y": 158
- },
- {
- "blockId": 206,
- "x": 500,
- "y": 316
- },
- {
- "blockId": 207,
- "x": 500,
- "y": 474
- },
- {
- "blockId": 208,
- "x": 750,
- "y": 639
- },
- {
- "blockId": 209,
- "x": 500,
- "y": 632
- },
- {
- "blockId": 210,
- "x": 500,
- "y": 790
- },
- {
- "blockId": 211,
- "x": 500,
- "y": 948
- },
- {
- "blockId": 212,
- "x": 1000,
- "y": 842
- },
- {
- "blockId": 213,
- "x": 1473,
- "y": 1109
- },
- {
- "blockId": 214,
- "x": 1000,
- "y": 1000
- },
- {
- "blockId": 215,
- "x": 1000,
- "y": 1158
- },
- {
- "blockId": 216,
- "x": 750,
- "y": 1221
- },
- {
- "blockId": 217,
- "x": 500,
- "y": 1137.5
- },
- {
- "blockId": 218,
- "x": 250,
- "y": 931.5
- },
- {
- "blockId": 220,
- "x": 0,
- "y": 999.5
- },
- {
- "blockId": 221,
- "x": 250,
- "y": 1225.5
- },
- {
- "blockId": 223,
- "x": 0,
- "y": 1293.5
- },
- {
- "blockId": 224,
- "x": 500,
- "y": 1313.5
- },
- {
- "blockId": 225,
- "x": 1000,
- "y": 1460
- },
- {
- "blockId": 226,
- "x": 2470.619469026549,
- "y": 953.8318584070795
- },
- {
- "blockId": 228,
- "x": 1721.8141602372705,
- "y": 789.0458809677541
- },
- {
- "blockId": 229,
- "x": 1176.0973460779783,
- "y": 704.7538455695241
- },
- {
- "blockId": 230,
- "x": 989.1946912107215,
- "y": 592.1874738881081
- },
- {
- "blockId": 231,
- "x": 1432.91148916599,
- "y": 680.329066808462
- },
- {
- "blockId": 232,
- "x": 1411.6725511128925,
- "y": 834.3113676934179
- },
- {
- "blockId": 233,
- "x": 1369.1946750066977,
- "y": 962.8688898173117
- },
- {
- "blockId": 524,
- "x": 2063,
- "y": 1078
- }
- ]
- }
|