| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670 |
- {
- "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": [
- 84,
- 93,
- 94
- ],
- "blocks": [
- {
- "customType": "BABYLON.VertexOutputBlock",
- "id": 84,
- "name": "vertexOutput",
- "inputs": [
- {
- "name": "vector",
- "inputName": "vector",
- "targetBlockId": 83,
- "targetConnectionName": "output"
- }
- ]
- },
- {
- "customType": "BABYLON.TransformBlock",
- "id": 83,
- "name": "worldPos * viewProjectionTransform",
- "inputs": [
- {
- "name": "vector",
- "inputName": "vector",
- "targetBlockId": 81,
- "targetConnectionName": "output"
- },
- {
- "name": "transform",
- "inputName": "transform",
- "targetBlockId": 82,
- "targetConnectionName": "output"
- }
- ],
- "complementZ": 0,
- "complementW": 1
- },
- {
- "customType": "BABYLON.TransformBlock",
- "id": 81,
- "name": "worldPos",
- "inputs": [
- {
- "name": "vector",
- "inputName": "vector",
- "targetBlockId": 79,
- "targetConnectionName": "positionOutput"
- },
- {
- "name": "transform",
- "inputName": "transform",
- "targetBlockId": 80,
- "targetConnectionName": "output"
- }
- ],
- "complementZ": 0,
- "complementW": 1
- },
- {
- "customType": "BABYLON.MorphTargetsBlock",
- "id": 79,
- "name": "morphTargets",
- "inputs": [
- {
- "name": "position",
- "inputName": "position",
- "targetBlockId": 95,
- "targetConnectionName": "output"
- },
- {
- "name": "normal",
- "inputName": "normal",
- "targetBlockId": 96,
- "targetConnectionName": "output"
- },
- {
- "name": "tangent",
- "inputName": "tangent",
- "targetBlockId": 97,
- "targetConnectionName": "output"
- },
- {
- "name": "uv",
- "inputName": "uv",
- "targetBlockId": 98,
- "targetConnectionName": "output"
- }
- ]
- },
- {
- "customType": "BABYLON.InputBlock",
- "id": 95,
- "name": "position",
- "inputs": [],
- "type": 8,
- "mode": 1,
- "wellKnownValue": null,
- "animationType": 0,
- "visibleInInspector": false
- },
- {
- "customType": "BABYLON.InputBlock",
- "id": 96,
- "name": "normal",
- "inputs": [],
- "type": 8,
- "mode": 1,
- "wellKnownValue": null,
- "animationType": 0,
- "visibleInInspector": false
- },
- {
- "customType": "BABYLON.InputBlock",
- "id": 97,
- "name": "tangent",
- "inputs": [],
- "type": 8,
- "mode": 1,
- "wellKnownValue": null,
- "animationType": 0,
- "visibleInInspector": false
- },
- {
- "customType": "BABYLON.InputBlock",
- "id": 98,
- "name": "uv",
- "inputs": [],
- "type": 4,
- "mode": 1,
- "wellKnownValue": null,
- "animationType": 0,
- "visibleInInspector": false
- },
- {
- "customType": "BABYLON.BonesBlock",
- "id": 80,
- "name": "bonesBlock",
- "inputs": [
- {
- "name": "matricesIndices",
- "inputName": "matricesIndices",
- "targetBlockId": 99,
- "targetConnectionName": "output"
- },
- {
- "name": "matricesWeights",
- "inputName": "matricesWeights",
- "targetBlockId": 100,
- "targetConnectionName": "output"
- },
- {
- "name": "matricesIndicesExtra"
- },
- {
- "name": "matricesWeightsExtra"
- },
- {
- "name": "world",
- "inputName": "world",
- "targetBlockId": 101,
- "targetConnectionName": "output"
- }
- ]
- },
- {
- "customType": "BABYLON.InputBlock",
- "id": 99,
- "name": "matricesIndices",
- "inputs": [],
- "type": 16,
- "mode": 1,
- "wellKnownValue": null,
- "animationType": 0,
- "visibleInInspector": false
- },
- {
- "customType": "BABYLON.InputBlock",
- "id": 100,
- "name": "matricesWeights",
- "inputs": [],
- "type": 16,
- "mode": 1,
- "wellKnownValue": null,
- "animationType": 0,
- "visibleInInspector": false
- },
- {
- "customType": "BABYLON.InputBlock",
- "id": 101,
- "name": "world",
- "inputs": [],
- "type": 128,
- "mode": 0,
- "wellKnownValue": 1,
- "animationType": 0,
- "visibleInInspector": false
- },
- {
- "customType": "BABYLON.InputBlock",
- "id": 82,
- "name": "viewProjection",
- "inputs": [],
- "type": 128,
- "mode": 0,
- "wellKnownValue": 4,
- "animationType": 0,
- "visibleInInspector": false
- },
- {
- "customType": "BABYLON.FogBlock",
- "id": 93,
- "name": "fog",
- "inputs": [
- {
- "name": "worldPosition",
- "inputName": "worldPosition",
- "targetBlockId": 81,
- "targetConnectionName": "output"
- },
- {
- "name": "view",
- "inputName": "view",
- "targetBlockId": 102,
- "targetConnectionName": "output"
- },
- {
- "name": "input",
- "inputName": "input",
- "targetBlockId": 92,
- "targetConnectionName": "rgb"
- },
- {
- "name": "fogColor",
- "inputName": "fogColor",
- "targetBlockId": 103,
- "targetConnectionName": "output"
- }
- ]
- },
- {
- "customType": "BABYLON.InputBlock",
- "id": 102,
- "name": "view",
- "inputs": [],
- "type": 128,
- "mode": 0,
- "wellKnownValue": 2,
- "animationType": 0,
- "visibleInInspector": false
- },
- {
- "customType": "BABYLON.ColorSplitterBlock",
- "id": 92,
- "name": "color4 splitter",
- "inputs": [
- {
- "name": "rgba"
- },
- {
- "name": "rgb ",
- "inputName": "rgb ",
- "targetBlockId": 491,
- "targetConnectionName": "output"
- }
- ]
- },
- {
- "customType": "BABYLON.MultiplyBlock",
- "id": 491,
- "name": "Multiply",
- "inputs": [
- {
- "name": "left",
- "inputName": "left",
- "targetBlockId": 86,
- "targetConnectionName": "output"
- },
- {
- "name": "right",
- "inputName": "right",
- "targetBlockId": 255,
- "targetConnectionName": "diffuseOutput"
- }
- ]
- },
- {
- "customType": "BABYLON.MultiplyBlock",
- "id": 86,
- "name": "color multiplier",
- "inputs": [
- {
- "name": "left",
- "inputName": "left",
- "targetBlockId": 87,
- "targetConnectionName": "rgb"
- },
- {
- "name": "right",
- "inputName": "right",
- "targetBlockId": 89,
- "targetConnectionName": "rgb"
- }
- ]
- },
- {
- "customType": "BABYLON.TextureBlock",
- "id": 87,
- "name": "diffuseTexture",
- "inputs": [
- {
- "name": "uv",
- "inputName": "uv",
- "targetBlockId": 98,
- "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.TextureBlock",
- "id": 89,
- "name": "diffuseTexture2",
- "inputs": [
- {
- "name": "uv",
- "inputName": "uv",
- "targetBlockId": 98,
- "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.LightBlock",
- "id": 255,
- "name": "Lights",
- "inputs": [
- {
- "name": "worldPosition",
- "inputName": "worldPosition",
- "targetBlockId": 81,
- "targetConnectionName": "output"
- },
- {
- "name": "worldNormal",
- "inputName": "worldNormal",
- "targetBlockId": 418,
- "targetConnectionName": "output"
- },
- {
- "name": "cameraPosition",
- "inputName": "cameraPosition",
- "targetBlockId": 256,
- "targetConnectionName": "output"
- }
- ]
- },
- {
- "customType": "BABYLON.TransformBlock",
- "id": 418,
- "name": "Transform",
- "inputs": [
- {
- "name": "vector",
- "inputName": "vector",
- "targetBlockId": 409,
- "targetConnectionName": "output"
- },
- {
- "name": "transform",
- "inputName": "transform",
- "targetBlockId": 80,
- "targetConnectionName": "output"
- }
- ],
- "complementZ": 0,
- "complementW": 1
- },
- {
- "customType": "BABYLON.InputBlock",
- "id": 409,
- "name": "normal",
- "inputs": [],
- "type": 8,
- "mode": 1,
- "wellKnownValue": null,
- "animationType": 0,
- "visibleInInspector": false
- },
- {
- "customType": "BABYLON.InputBlock",
- "id": 256,
- "name": "cameraPosition",
- "inputs": [],
- "type": 8,
- "mode": 0,
- "wellKnownValue": 7,
- "animationType": 0,
- "visibleInInspector": false
- },
- {
- "customType": "BABYLON.InputBlock",
- "id": 103,
- "name": "fogColor",
- "inputs": [],
- "type": 32,
- "mode": 0,
- "wellKnownValue": 8,
- "animationType": 0,
- "visibleInInspector": false,
- "valueType": "BABYLON.Color3",
- "value": [
- 1,
- 1,
- 1
- ]
- },
- {
- "customType": "BABYLON.FragmentOutputBlock",
- "id": 94,
- "name": "pixelOutput",
- "inputs": [
- {
- "name": "rgba"
- },
- {
- "name": "rgb",
- "inputName": "rgb",
- "targetBlockId": 93,
- "targetConnectionName": "output"
- },
- {
- "name": "a"
- }
- ]
- }
- ],
- "locations": [
- {
- "blockId": 84,
- "x": 1500,
- "y": 399
- },
- {
- "blockId": 83,
- "x": 1250,
- "y": 386
- },
- {
- "blockId": 81,
- "x": 1000,
- "y": 396
- },
- {
- "blockId": 79,
- "x": 750,
- "y": 137.5
- },
- {
- "blockId": 95,
- "x": 500,
- "y": 0
- },
- {
- "blockId": 96,
- "x": 500,
- "y": 158
- },
- {
- "blockId": 97,
- "x": 500,
- "y": 316
- },
- {
- "blockId": 98,
- "x": 0,
- "y": 691
- },
- {
- "blockId": 80,
- "x": 750,
- "y": 501
- },
- {
- "blockId": 99,
- "x": 500,
- "y": 494
- },
- {
- "blockId": 100,
- "x": 500,
- "y": 652
- },
- {
- "blockId": 101,
- "x": 500,
- "y": 810
- },
- {
- "blockId": 82,
- "x": 1000,
- "y": 704
- },
- {
- "blockId": 94,
- "x": 1500,
- "y": 973
- },
- {
- "blockId": 93,
- "x": 1250,
- "y": 916
- },
- {
- "blockId": 102,
- "x": 1000,
- "y": 862
- },
- {
- "blockId": 92,
- "x": 1000,
- "y": 1020
- },
- {
- "blockId": 86,
- "x": 519.7647058823529,
- "y": 965.1764705882352
- },
- {
- "blockId": 87,
- "x": 250,
- "y": 701.5
- },
- {
- "blockId": 89,
- "x": 250,
- "y": 1056
- },
- {
- "blockId": 103,
- "x": 1000,
- "y": 1322
- },
- {
- "blockId": 255,
- "x": 452.0588235294116,
- "y": 1241.0588235294117
- },
- {
- "blockId": 256,
- "x": 221.05882352941177,
- "y": 1607.1176470588236
- },
- {
- "blockId": 409,
- "x": 21.82147288123261,
- "y": 1389.5119468766763
- },
- {
- "blockId": 418,
- "x": 333.8214728812328,
- "y": 1361.2766527590293
- },
- {
- "blockId": 491,
- "x": 770.0567669988801,
- "y": 1040.8060645237351
- }
- ]
- }
|