Skip to content

block-params.json ​

源文件:block-params.json

格式说明 ​

从 sharedassets12.assets 序列化读出的块系统资产参数(相机投影、材质 uniform、层与 tag)。顶层键:

键类型说明
materialsobject材质字典,键为 pathID 字符串。
camerasobject相机字典,键为 pathID 字符串(195–201)。
layersobject层索引 → 层名。
tagsstring[]GameObject tag 列表。

materials(8 个,pathID = 5 / 6 / 8 / 9 / 10 / 11 / 12 / 13)每个材质含:

字段说明
pathID材质自身的 pathID。
shader_pathID使用的 shader pathID(32–40,见 着色器清单)。
floats浮点 uniform 名 → 值。
colors颜色 uniform 名 → { r, g, b, a }。
textures纹理 uniform 名 → 贴图 pathID(0 表示运行时绑定的 RT)。

cameras(7 台,pathID = 195–201)每台含:name / mask / mask_hex / sees / depth / orthographic / orthographicSize / targetTexturePathID。

参数含义与用途见 渲染表现 与 材质细节。

原始数据 ​

json
{
 "materials": {
  "5": {
   "pathID": 5,
   "shader_pathID": 38,
   "floats": {
    "_BackgroundPixelScale": 6.0,
    "_DisplaceBlendIntensity": 0.41100001335144043,
    "_DisplaceSpeed": 1.5,
    "_DisplaceStrength": 0.15000000596046448,
    "_EdgeOpacity": 0.800000011920929,
    "_FillOpacity": 0.6669999957084656,
    "_FillStrength": 0.6669999957084656,
    "_GlowIntensity": 0.800000011920929,
    "_NoiseDirChangeSpeed": 60.0,
    "_NoiseDisplaceStrength": 1.0,
    "_NoiseEvoSpeed": 0.029999999329447746,
    "_NoiseRadius": 0.47999998927116394,
    "_NoiseSmoothness": 1.0,
    "_SDFCellSize": 0.10999999940395355,
    "_SDFFalloff": 0.3400000035762787,
    "_SDFMoveSpeed": 9.300000190734863,
    "_SDFSmoothness": 0.6299999952316284,
    "_ShineBrightness": 0.11999999731779099,
    "_ShineSpeed": 37.900001525878906,
    "_SparkDisplaceBlendIntensity": 0.5,
    "_SparkDisplaceIntensity": 2.390000104904175,
    "_SparkHueShiftAmount": 0.20000000298023224,
    "_SparkMapOpacity": 5.690000057220459,
    "_TouchBackgroundPixelScale": 8.0,
    "_TouchDisplaceSpeed": 2.9000000953674316,
    "_TouchDisplaceStrength": 0.07999999821186066,
    "_TouchPosBrightness": 2.0,
    "_TouchPosDarkness": 0.6499999761581421,
    "_TouchPosLowThreshold": 0.6299999952316284,
    "_TouchPosRadius": 0.5,
    "_TouchPosSDFFalloff": 0.4099999964237213,
    "_TouchPosSDFSmoothness": 0.4699999988079071,
    "_TouchPosShineSpeed": 43.0
   },
   "colors": {
    "_DisplaceDirection": {
     "r": 1.0,
     "g": 1.0,
     "b": 0.0,
     "a": 0.0
    },
    "_EdgeColor": {
     "r": 1.0,
     "g": 0.3301885724067688,
     "b": 0.3301885724067688,
     "a": 1.0
    },
    "_FillColor": {
     "r": 0.713207483291626,
     "g": 0.23549295961856842,
     "b": 0.23549295961856842,
     "a": 1.0
    },
    "_GlowColor": {
     "r": 1.0,
     "g": 0.17924517393112183,
     "b": 0.17924517393112183,
     "a": 1.0
    },
    "_NoiseTint": {
     "r": 1.0,
     "g": 0.0,
     "b": 0.0,
     "a": 1.0
    },
    "_ShineColor": {
     "r": 1.0,
     "g": 1.0,
     "b": 1.0,
     "a": 1.0
    },
    "_SparkTint": {
     "r": 1.0,
     "g": 0.28490567207336426,
     "b": 0.28490567207336426,
     "a": 1.0
    },
    "_TestTP1": {
     "r": 1.5099999904632568,
     "g": 0.49000000953674316,
     "b": 0.0,
     "a": 0.0
    },
    "_TestTP2": {
     "r": -0.25,
     "g": 0.5899999737739563,
     "b": 0.0,
     "a": 0.0
    },
    "_TouchDisplaceDirection": {
     "r": 1.0,
     "g": 1.0,
     "b": 0.0,
     "a": 0.0
    },
    "_TouchGlowColor": {
     "r": 1.0,
     "g": 0.0,
     "b": 0.0,
     "a": 1.0
    }
   },
   "textures": {
    "_ComposeRT": 0,
    "_DisabledNormalBlockRT": 0,
    "_DisabledSubtractBlockRT": 0,
    "_DisplaceMap": 30,
    "_EffectRT": 0,
    "_MainTex": 0,
    "_NoiseMap": 15,
    "_ReadyComposeRT": 0,
    "_SparkMap": 17,
    "_TouchDisplaceMap": 30,
    "_TouchHoverRT": 0
   }
  },
  "6": {
   "pathID": 6,
   "shader_pathID": 40,
   "floats": {
    "_DisplaceSpeed": 2.5899999141693115,
    "_DisplaceStrength": 0.10000000149011612
   },
   "colors": {
    "_DisplaceDirection": {
     "r": 0.5,
     "g": 0.5,
     "b": 0.0,
     "a": 0.0
    }
   },
   "textures": {
    "_DisabledNormalBlockRT": 0,
    "_DisabledSubtractBlockRT": 0,
    "_DisplaceMap": 30,
    "_NormalBlockRT": 0,
    "_SubtractBlockRT": 0
   }
  },
  "8": {
   "pathID": 8,
   "shader_pathID": 39,
   "floats": {
    "_BackgroundPixelScale": 6.0,
    "_DisplaceBlendIntensity": 0.33399999141693115,
    "_DisplaceSpeed": 0.30000001192092896,
    "_DisplaceStrength": 0.15000000596046448,
    "_EdgeOpacity": 1.0,
    "_FillOpacity": 0.4000000059604645,
    "_GlowIntensity": 0.0,
    "_RenderPart": 0.0,
    "_SparkDisplaceBlendIntensity": 0.5,
    "_SparkDisplaceIntensity": 2.2899999618530273,
    "_SparkHueShiftAmount": 0.7300000190734863,
    "_SparkMapOpacity": 3.5
   },
   "colors": {
    "_DisplaceDirection": {
     "r": 1.0,
     "g": 1.0,
     "b": 0.0,
     "a": 0.0
    },
    "_EdgeColor": {
     "r": 1.0,
     "g": 1.0,
     "b": 1.0,
     "a": 1.0
    },
    "_FillColor": {
     "r": 0.4970000088214874,
     "g": 0.13766898214817047,
     "b": 0.13766898214817047,
     "a": 1.0
    },
    "_GlowColor": {
     "r": 1.0,
     "g": 0.17924517393112183,
     "b": 0.17924517393112183,
     "a": 1.0
    },
    "_SparkTint": {
     "r": 0.31132078170776367,
     "g": 0.07783019542694092,
     "b": 0.07783019542694092,
     "a": 1.0
    }
   },
   "textures": {
    "_ComposeRT": 0,
    "_DisplaceMap": 30,
    "_SparkMap": 17
   }
  },
  "9": {
   "pathID": 9,
   "shader_pathID": 34,
   "floats": {},
   "colors": {},
   "textures": {
    "_ComposeRT": 0,
    "_MainTex": 0
   }
  },
  "10": {
   "pathID": 10,
   "shader_pathID": 32,
   "floats": {
    "_GlowFirstPass": 0.0,
    "_PassWeight": 0.02494780719280243
   },
   "colors": {},
   "textures": {
    "_ComposeRT": 0,
    "_MainTex": 0
   }
  },
  "11": {
   "pathID": 11,
   "shader_pathID": 36,
   "floats": {
    "_ShineBrightness": 0.11999999731779099,
    "_ShineSpeed": 37.900001525878906
   },
   "colors": {
    "_ShineColor": {
     "r": 1.0,
     "g": 1.0,
     "b": 1.0,
     "a": 1.0
    }
   },
   "textures": {
    "_ComposeRT": 0,
    "_DisabledNormalBlockRT": 0,
    "_DisabledSubtractBlockRT": 0
   }
  },
  "12": {
   "pathID": 12,
   "shader_pathID": 35,
   "floats": {
    "_ClampThresholdHigh": 0.11999999731779099,
    "_ClampThresholdLow": 0.09000000357627869
   },
   "colors": {},
   "textures": {
    "_MainTex": 0
   }
  },
  "13": {
   "pathID": 13,
   "shader_pathID": 33,
   "floats": {
    "_BackgroundPixelScale": 8.0,
    "_DisplaceSpeed": 2.9000000953674316,
    "_DisplaceStrength": 0.07999999821186066,
    "_GlowEaseGap": 1.0,
    "_GlowRadius": 0.0,
    "_NoiseDirChangeSpeed": 60.0,
    "_NoiseDisplaceStrength": 1.0,
    "_NoiseEaseGap": 0.10000000149011612,
    "_NoiseEvoSpeed": 0.029999999329447746,
    "_NoiseRadius": 0.47999998927116394,
    "_NoiseSmoothness": 1.0,
    "_SDFCellSize": 0.10999999940395355,
    "_SDFFalloff": 0.3400000035762787,
    "_SDFMoveSpeed": 9.300000190734863,
    "_SDFSmoothness": 0.6299999952316284
   },
   "colors": {
    "_DisplaceDirection": {
     "r": 1.0,
     "g": 1.0,
     "b": 0.0,
     "a": 0.0
    },
    "_GlowColor": {
     "r": 1.0,
     "g": 0.0,
     "b": 0.0,
     "a": 1.0
    },
    "_NoiseTint": {
     "r": 1.0,
     "g": 0.0,
     "b": 0.0,
     "a": 1.0
    }
   },
   "textures": {
    "_DisplaceMap": 30,
    "_NoiseMap": 15,
    "_TouchHoverRT": 0
   }
  }
 },
 "cameras": {
  "195": {
   "name": "disabledNormalReadyBlockCamera",
   "mask": 32768,
   "mask_hex": "0x00008000",
   "sees": [
    "DisabledNormalReadyBlock"
   ],
   "depth": 0.0,
   "orthographic": null,
   "orthographicSize": null,
   "targetTexturePathID": 0
  },
  "196": {
   "name": "disabledNormalBlockCamera",
   "mask": 40960,
   "mask_hex": "0x0000A000",
   "sees": [
    "DisabledNormalBlock",
    "DisabledNormalReadyBlock"
   ],
   "depth": 0.0,
   "orthographic": null,
   "orthographicSize": null,
   "targetTexturePathID": 0
  },
  "197": {
   "name": "disabledSubtractBlockCamera",
   "mask": 81920,
   "mask_hex": "0x00014000",
   "sees": [
    "DisabledSubtractBlock",
    "DisabledSubtractReadyBlock"
   ],
   "depth": 0.0,
   "orthographic": null,
   "orthographicSize": null,
   "targetTexturePathID": 0
  },
  "198": {
   "name": "normalBlockCamera",
   "mask": 2048,
   "mask_hex": "0x00000800",
   "sees": [
    "NormalBlock"
   ],
   "depth": 0.0,
   "orthographic": null,
   "orthographicSize": null,
   "targetTexturePathID": 0
  },
  "199": {
   "name": "subtractBlockCamera",
   "mask": 4096,
   "mask_hex": "0x00001000",
   "sees": [
    "SubtractBlock"
   ],
   "depth": 0.0,
   "orthographic": null,
   "orthographicSize": null,
   "targetTexturePathID": 0
  },
  "200": {
   "name": "touchBlockCamera",
   "mask": 131072,
   "mask_hex": "0x00020000",
   "sees": [
    "TouchBlock"
   ],
   "depth": 0.0,
   "orthographic": null,
   "orthographicSize": null,
   "targetTexturePathID": 0
  },
  "201": {
   "name": "disabledSubtractReadyBlockCamera",
   "mask": 65536,
   "mask_hex": "0x00010000",
   "sees": [
    "DisabledSubtractReadyBlock"
   ],
   "depth": 0.0,
   "orthographic": null,
   "orthographicSize": null,
   "targetTexturePathID": 0
  }
 },
 "layers": {
  "0": "Default",
  "1": "TransparentFX",
  "2": "Ignore Raycast",
  "4": "Water",
  "5": "UI",
  "8": "Background",
  "9": "CutIn",
  "10": "Popup",
  "11": "NormalBlock",
  "12": "SubtractBlock",
  "13": "DisabledNormalBlock",
  "14": "DisabledSubtractBlock",
  "15": "DisabledNormalReadyBlock",
  "16": "DisabledSubtractReadyBlock",
  "17": "TouchBlock",
  "18": "TransitionBlurBackground"
 },
 "tags": [
  "LevelInformation",
  "Back",
  "Retry",
  "Resume",
  "Play",
  "ChapterEnsure",
  "TMP_Text",
  "Text",
  "GameInformation",
  "SongList",
  "SongCover",
  "Block",
  "MapElement"
 ]
}