release.json 33 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620
  1. [
  2. 1,
  3. 0,
  4. 0,
  5. [
  6. [
  7. "cc.EffectAsset",
  8. [
  9. "_name",
  10. "shaders",
  11. "techniques"
  12. ],
  13. 0
  14. ]
  15. ],
  16. [
  17. [
  18. 0,
  19. 0,
  20. 1,
  21. 2,
  22. 4
  23. ]
  24. ],
  25. [
  26. [
  27. 0,
  28. "pipeline/skybox",
  29. [
  30. {
  31. "hash": 4049110380,
  32. "name": "pipeline/skybox|sky-vs:vert|sky-fs:frag",
  33. "blocks": [],
  34. "samplerTextures": [
  35. {
  36. "name": "environmentMap",
  37. "type": 31,
  38. "count": 1,
  39. "stageFlags": 16,
  40. "binding": 0,
  41. "defines": []
  42. }
  43. ],
  44. "samplers": [],
  45. "textures": [],
  46. "buffers": [],
  47. "images": [],
  48. "subpassInputs": [],
  49. "attributes": [
  50. {
  51. "name": "a_position",
  52. "format": 32,
  53. "location": 0,
  54. "defines": []
  55. },
  56. {
  57. "name": "a_normal",
  58. "format": 32,
  59. "location": 1,
  60. "defines": []
  61. },
  62. {
  63. "name": "a_texCoord",
  64. "format": 21,
  65. "location": 2,
  66. "defines": []
  67. },
  68. {
  69. "name": "a_tangent",
  70. "format": 44,
  71. "location": 3,
  72. "defines": []
  73. },
  74. {
  75. "name": "a_joints",
  76. "location": 4,
  77. "defines": [
  78. "CC_USE_SKINNING"
  79. ]
  80. },
  81. {
  82. "name": "a_weights",
  83. "format": 44,
  84. "location": 5,
  85. "defines": [
  86. "CC_USE_SKINNING"
  87. ]
  88. },
  89. {
  90. "name": "a_jointAnimInfo",
  91. "format": 44,
  92. "isInstanced": true,
  93. "location": 6,
  94. "defines": [
  95. "USE_INSTANCING",
  96. "CC_USE_BAKED_ANIMATION"
  97. ]
  98. },
  99. {
  100. "name": "a_matWorld0",
  101. "format": 44,
  102. "isInstanced": true,
  103. "location": 7,
  104. "defines": [
  105. "USE_INSTANCING"
  106. ]
  107. },
  108. {
  109. "name": "a_matWorld1",
  110. "format": 44,
  111. "isInstanced": true,
  112. "location": 8,
  113. "defines": [
  114. "USE_INSTANCING"
  115. ]
  116. },
  117. {
  118. "name": "a_matWorld2",
  119. "format": 44,
  120. "isInstanced": true,
  121. "location": 9,
  122. "defines": [
  123. "USE_INSTANCING"
  124. ]
  125. },
  126. {
  127. "name": "a_lightingMapUVParam",
  128. "format": 44,
  129. "isInstanced": true,
  130. "location": 10,
  131. "defines": [
  132. "USE_INSTANCING",
  133. "CC_USE_LIGHTMAP"
  134. ]
  135. },
  136. {
  137. "name": "a_localShadowBiasAndProbeId",
  138. "format": 44,
  139. "isInstanced": true,
  140. "location": 11,
  141. "defines": [
  142. "USE_INSTANCING"
  143. ]
  144. },
  145. {
  146. "name": "a_reflectionProbeData",
  147. "format": 44,
  148. "isInstanced": true,
  149. "location": 12,
  150. "defines": [
  151. "USE_INSTANCING",
  152. "CC_USE_REFLECTION_PROBE"
  153. ]
  154. },
  155. {
  156. "name": "a_sh_linear_const_r",
  157. "format": 44,
  158. "isInstanced": true,
  159. "location": 13,
  160. "defines": [
  161. "USE_INSTANCING",
  162. "CC_USE_LIGHT_PROBE"
  163. ]
  164. },
  165. {
  166. "name": "a_sh_linear_const_g",
  167. "format": 44,
  168. "isInstanced": true,
  169. "location": 14,
  170. "defines": [
  171. "USE_INSTANCING",
  172. "CC_USE_LIGHT_PROBE"
  173. ]
  174. },
  175. {
  176. "name": "a_sh_linear_const_b",
  177. "format": 44,
  178. "isInstanced": true,
  179. "location": 15,
  180. "defines": [
  181. "USE_INSTANCING",
  182. "CC_USE_LIGHT_PROBE"
  183. ]
  184. },
  185. {
  186. "name": "a_vertexId",
  187. "format": 11,
  188. "location": 16,
  189. "defines": [
  190. "CC_USE_MORPH"
  191. ]
  192. }
  193. ],
  194. "fragColors": [
  195. {
  196. "name": "cc_FragColor",
  197. "typename": "vec4",
  198. "type": 16,
  199. "count": 1,
  200. "stageFlags": 16,
  201. "location": 0,
  202. "defines": []
  203. }
  204. ],
  205. "descriptors": [
  206. {
  207. "rate": 0,
  208. "blocks": [],
  209. "samplerTextures": [],
  210. "samplers": [],
  211. "textures": [],
  212. "buffers": [],
  213. "images": [],
  214. "subpassInputs": []
  215. },
  216. {
  217. "rate": 1,
  218. "blocks": [],
  219. "samplerTextures": [
  220. {
  221. "name": "environmentMap",
  222. "type": 31,
  223. "count": 1,
  224. "stageFlags": 16,
  225. "binding": 0,
  226. "defines": []
  227. }
  228. ],
  229. "samplers": [],
  230. "textures": [],
  231. "buffers": [],
  232. "images": [],
  233. "subpassInputs": []
  234. },
  235. {
  236. "rate": 2,
  237. "blocks": [],
  238. "samplerTextures": [],
  239. "samplers": [],
  240. "textures": [],
  241. "buffers": [],
  242. "images": [],
  243. "subpassInputs": []
  244. },
  245. {
  246. "rate": 3,
  247. "blocks": [
  248. {
  249. "name": "CCGlobal",
  250. "stageFlags": 17,
  251. "tags": {
  252. "builtin": "global"
  253. },
  254. "members": [
  255. {
  256. "name": "cc_time",
  257. "typename": "vec4",
  258. "type": 16,
  259. "count": 1,
  260. "precision": "highp "
  261. },
  262. {
  263. "name": "cc_screenSize",
  264. "typename": "vec4",
  265. "type": 16,
  266. "count": 1,
  267. "precision": "mediump "
  268. },
  269. {
  270. "name": "cc_nativeSize",
  271. "typename": "vec4",
  272. "type": 16,
  273. "count": 1,
  274. "precision": "mediump "
  275. },
  276. {
  277. "name": "cc_probeInfo",
  278. "typename": "vec4",
  279. "type": 16,
  280. "count": 1,
  281. "precision": "mediump "
  282. },
  283. {
  284. "name": "cc_debug_view_mode",
  285. "typename": "vec4",
  286. "type": 16,
  287. "count": 1,
  288. "precision": "mediump "
  289. }
  290. ],
  291. "defines": []
  292. },
  293. {
  294. "name": "CCCamera",
  295. "stageFlags": 17,
  296. "tags": {
  297. "builtin": "global"
  298. },
  299. "members": [
  300. {
  301. "name": "cc_matView",
  302. "typename": "mat4",
  303. "type": 25,
  304. "count": 1,
  305. "precision": "highp "
  306. },
  307. {
  308. "name": "cc_matViewInv",
  309. "typename": "mat4",
  310. "type": 25,
  311. "count": 1,
  312. "precision": "highp "
  313. },
  314. {
  315. "name": "cc_matProj",
  316. "typename": "mat4",
  317. "type": 25,
  318. "count": 1,
  319. "precision": "highp "
  320. },
  321. {
  322. "name": "cc_matProjInv",
  323. "typename": "mat4",
  324. "type": 25,
  325. "count": 1,
  326. "precision": "highp "
  327. },
  328. {
  329. "name": "cc_matViewProj",
  330. "typename": "mat4",
  331. "type": 25,
  332. "count": 1,
  333. "precision": "highp "
  334. },
  335. {
  336. "name": "cc_matViewProjInv",
  337. "typename": "mat4",
  338. "type": 25,
  339. "count": 1,
  340. "precision": "highp "
  341. },
  342. {
  343. "name": "cc_cameraPos",
  344. "typename": "vec4",
  345. "type": 16,
  346. "count": 1,
  347. "precision": "highp "
  348. },
  349. {
  350. "name": "cc_surfaceTransform",
  351. "typename": "vec4",
  352. "type": 16,
  353. "count": 1,
  354. "precision": "mediump "
  355. },
  356. {
  357. "name": "cc_screenScale",
  358. "typename": "vec4",
  359. "type": 16,
  360. "count": 1,
  361. "precision": "mediump "
  362. },
  363. {
  364. "name": "cc_exposure",
  365. "typename": "vec4",
  366. "type": 16,
  367. "count": 1,
  368. "precision": "mediump "
  369. },
  370. {
  371. "name": "cc_mainLitDir",
  372. "typename": "vec4",
  373. "type": 16,
  374. "count": 1,
  375. "precision": "mediump "
  376. },
  377. {
  378. "name": "cc_mainLitColor",
  379. "typename": "vec4",
  380. "type": 16,
  381. "count": 1,
  382. "precision": "mediump "
  383. },
  384. {
  385. "name": "cc_ambientSky",
  386. "typename": "vec4",
  387. "type": 16,
  388. "count": 1,
  389. "precision": "mediump "
  390. },
  391. {
  392. "name": "cc_ambientGround",
  393. "typename": "vec4",
  394. "type": 16,
  395. "count": 1,
  396. "precision": "mediump "
  397. },
  398. {
  399. "name": "cc_fogColor",
  400. "typename": "vec4",
  401. "type": 16,
  402. "count": 1,
  403. "precision": "mediump "
  404. },
  405. {
  406. "name": "cc_fogBase",
  407. "typename": "vec4",
  408. "type": 16,
  409. "count": 1,
  410. "precision": "mediump "
  411. },
  412. {
  413. "name": "cc_fogAdd",
  414. "typename": "vec4",
  415. "type": 16,
  416. "count": 1,
  417. "precision": "mediump "
  418. },
  419. {
  420. "name": "cc_nearFar",
  421. "typename": "vec4",
  422. "type": 16,
  423. "count": 1,
  424. "precision": "mediump "
  425. },
  426. {
  427. "name": "cc_viewPort",
  428. "typename": "vec4",
  429. "type": 16,
  430. "count": 1,
  431. "precision": "mediump "
  432. }
  433. ],
  434. "defines": []
  435. }
  436. ],
  437. "samplerTextures": [
  438. {
  439. "name": "cc_environment",
  440. "typename": "samplerCube",
  441. "type": 31,
  442. "count": 1,
  443. "stageFlags": 16,
  444. "tags": {
  445. "builtin": "global"
  446. },
  447. "defines": []
  448. }
  449. ],
  450. "samplers": [],
  451. "textures": [],
  452. "buffers": [],
  453. "images": [],
  454. "subpassInputs": []
  455. }
  456. ],
  457. "glsl1": {
  458. "vert": "\nprecision highp float;\nuniform highp mat4 cc_matView;\n uniform highp mat4 cc_matProj;\n#define QUATER_PI 0.78539816340\n#define HALF_PI 1.57079632679\n#define PI 3.14159265359\n#define PI2 6.28318530718\n#define PI4 12.5663706144\n#define INV_QUATER_PI 1.27323954474\n#define INV_HALF_PI 0.63661977237\n#define INV_PI 0.31830988618\n#define INV_PI2 0.15915494309\n#define INV_PI4 0.07957747155\n#define EPSILON 1e-6\n#define EPSILON_LOWP 1e-4\n#define LOG2 1.442695\n#define EXP_VALUE 2.71828183\n#define FP_MAX 65504.0\n#define FP_SCALE 0.0009765625\n#define FP_SCALE_INV 1024.0\n#define GRAY_VECTOR vec3(0.299, 0.587, 0.114)\n#define LIGHT_MAP_TYPE_DISABLED 0\n#define LIGHT_MAP_TYPE_ALL_IN_ONE 1\n#define LIGHT_MAP_TYPE_INDIRECT_OCCLUSION 2\n#define REFLECTION_PROBE_TYPE_NONE 0\n#define REFLECTION_PROBE_TYPE_CUBE 1\n#define REFLECTION_PROBE_TYPE_PLANAR 2\n#define REFLECTION_PROBE_TYPE_BLEND 3\n#define REFLECTION_PROBE_TYPE_BLEND_AND_SKYBOX 4\n#define LIGHT_TYPE_DIRECTIONAL 0.0\n#define LIGHT_TYPE_SPHERE 1.0\n#define LIGHT_TYPE_SPOT 2.0\n#define LIGHT_TYPE_POINT 3.0\n#define LIGHT_TYPE_RANGED_DIRECTIONAL 4.0\n#define IS_DIRECTIONAL_LIGHT(light_type) (abs(float(light_type) - float(LIGHT_TYPE_DIRECTIONAL)) < EPSILON_LOWP)\n#define IS_SPHERE_LIGHT(light_type) (abs(float(light_type) - float(LIGHT_TYPE_SPHERE)) < EPSILON_LOWP)\n#define IS_SPOT_LIGHT(light_type) (abs(float(light_type) - float(LIGHT_TYPE_SPOT)) < EPSILON_LOWP)\n#define IS_POINT_LIGHT(light_type) (abs(float(light_type) - float(LIGHT_TYPE_POINT)) < EPSILON_LOWP)\n#define IS_RANGED_DIRECTIONAL_LIGHT(light_type) (abs(float(light_type) - float(LIGHT_TYPE_RANGED_DIRECTIONAL)) < EPSILON_LOWP)\n#define TONE_MAPPING_ACES 0\n#define TONE_MAPPING_LINEAR 1\n#define SURFACES_MAX_TRANSMIT_DEPTH_VALUE 999999.0\n#ifndef CC_SURFACES_DEBUG_VIEW_SINGLE\n #define CC_SURFACES_DEBUG_VIEW_SINGLE 1\n#endif\n#ifndef CC_SURFACES_DEBUG_VIEW_COMPOSITE_AND_MISC\n #define CC_SURFACES_DEBUG_VIEW_COMPOSITE_AND_MISC 2\n#endif\nstruct StandardVertInput {\n highp vec4 position;\n vec3 normal;\n vec4 tangent;\n};\nattribute vec3 a_position;\nattribute vec3 a_normal;\nattribute vec2 a_texCoord;\nattribute vec4 a_tangent;\n#if CC_USE_SKINNING\n attribute vec4 a_joints;\n attribute vec4 a_weights;\n#endif\n#if USE_INSTANCING\n #if CC_USE_BAKED_ANIMATION\n attribute highp vec4 a_jointAnimInfo;\n #endif\n attribute vec4 a_matWorld0;\n attribute vec4 a_matWorld1;\n attribute vec4 a_matWorld2;\n #if CC_USE_LIGHTMAP\n attribute vec4 a_lightingMapUVParam;\n #endif\n #if CC_USE_REFLECTION_PROBE || CC_RECEIVE_SHADOW\n #if CC_RECEIVE_SHADOW\n #endif\n attribute vec4 a_localShadowBiasAndProbeId;\n #endif\n #if CC_USE_REFLECTION_PROBE\n attribute vec4 a_reflectionProbeData;\n #endif\n #if CC_USE_LIGHT_PROBE\n attribute vec4 a_sh_linear_const_r;\n attribute vec4 a_sh_linear_const_g;\n attribute vec4 a_sh_linear_const_b;\n #endif\n#endif\n#if CC_USE_MORPH\n attribute float a_vertexId;\n#endif\nvarying mediump vec4 viewDir;\nvec4 vert () {\n viewDir = vec4(a_position, 1.0);\n mat4 matViewRotOnly = mat4(mat3(cc_matView));\n vec4 pos = matViewRotOnly * viewDir;\n if (cc_matProj[3].w > 0.0) {\n mat4 matProj = cc_matProj;\n matProj[0].x = 5.2;\n matProj[1].y = 2.6;\n matProj[2].zw = vec2(-1.0);\n matProj[3].zw = vec2(0.0);\n pos = matProj * pos;\n } else {\n pos = cc_matProj * pos;\n }\n pos.z = 0.99999 * pos.w;\n return pos;\n}\nvoid main() { gl_Position = vert(); }",
  459. "frag": "\n#ifdef GL_EXT_shader_texture_lod\n#extension GL_EXT_shader_texture_lod: enable\n#endif\nprecision mediump float;\nuniform mediump vec4 cc_surfaceTransform;\n uniform mediump vec4 cc_ambientSky;\nuniform samplerCube cc_environment;\nvec4 fragTextureLod (sampler2D tex, vec2 coord, float lod) {\n #ifdef GL_EXT_shader_texture_lod\n return texture2DLodEXT(tex, coord, lod);\n #else\n return texture2D(tex, coord, lod);\n #endif\n}\nvec4 fragTextureLod (samplerCube tex, vec3 coord, float lod) {\n #ifdef GL_EXT_shader_texture_lod\n return textureCubeLodEXT(tex, coord, lod);\n #else\n return textureCube(tex, coord, lod);\n #endif\n}\nvec4 packRGBE (vec3 rgb) {\n highp float maxComp = max(max(rgb.r, rgb.g), rgb.b);\n highp float e = 128.0;\n if (maxComp > 0.0001) {\n e = log(maxComp) / log(1.1);\n e = ceil(e);\n e = clamp(e + 128.0, 0.0, 255.0);\n }\n highp float sc = 1.0 / pow(1.1, e - 128.0);\n vec3 encode = clamp(rgb * sc, vec3(0.0), vec3(1.0)) * 255.0;\n vec3 encode_rounded = floor(encode) + step(encode - floor(encode), vec3(0.5));\n return vec4(encode_rounded, e) / 255.0;\n}\nvec3 unpackRGBE (vec4 rgbe) {\n return rgbe.rgb * pow(1.1, rgbe.a * 255.0 - 128.0);\n}\nvec3 SRGBToLinear (vec3 gamma) {\n#ifdef CC_USE_SURFACE_SHADER\n #if CC_USE_DEBUG_VIEW == CC_SURFACES_DEBUG_VIEW_COMPOSITE_AND_MISC && CC_SURFACES_ENABLE_DEBUG_VIEW\n if (!IS_DEBUG_VIEW_COMPOSITE_ENABLE_GAMMA_CORRECTION) {\n return gamma;\n }\n #endif\n#endif\n return gamma * gamma;\n}\nvec3 LinearToSRGB(vec3 linear) {\n#ifdef CC_USE_SURFACE_SHADER\n #if CC_USE_DEBUG_VIEW == CC_SURFACES_DEBUG_VIEW_COMPOSITE_AND_MISC && CC_SURFACES_ENABLE_DEBUG_VIEW\n if (!IS_DEBUG_VIEW_COMPOSITE_ENABLE_GAMMA_CORRECTION) {\n return linear;\n }\n #endif\n#endif\n return sqrt(linear);\n}\nvec3 ACESToneMap (vec3 color) {\n color = min(color, vec3(8.0));\n const float A = 2.51;\n const float B = 0.03;\n const float C = 2.43;\n const float D = 0.59;\n const float E = 0.14;\n return (color * (A * color + B)) / (color * (C * color + D) + E);\n}\nvec3 HDRToLDR(vec3 color)\n{\n #if CC_USE_HDR\n #if CC_USE_DEBUG_VIEW == CC_SURFACES_DEBUG_VIEW_COMPOSITE_AND_MISC && CC_SURFACES_ENABLE_DEBUG_VIEW\n if (IS_DEBUG_VIEW_COMPOSITE_ENABLE_TONE_MAPPING)\n #endif\n {\n #if CC_TONE_MAPPING_TYPE == HDR_TONE_MAPPING_ACES\n color.rgb = ACESToneMap(color.rgb);\n #endif\n }\n #endif\n return color;\n}\n#if defined(CC_USE_METAL) || defined(CC_USE_WGPU)\n#define CC_HANDLE_SAMPLE_NDC_FLIP_STATIC(y) y = -y\n#else\n#define CC_HANDLE_SAMPLE_NDC_FLIP_STATIC(y)\n#endif\nvec3 RotationVecFromAxisY(vec3 v, float cosTheta, float sinTheta)\n{\n vec3 result;\n result.x = dot(v, vec3(cosTheta, 0.0, -sinTheta));\n result.y = v.y;\n result.z = dot(v, vec3(sinTheta, 0.0, cosTheta));\n return result;\n}\nvec3 RotationVecFromAxisY(vec3 v, float rotateAngleArc)\n{\n return RotationVecFromAxisY(v, cos(rotateAngleArc), sin(rotateAngleArc));\n}\nvarying mediump vec4 viewDir;\nuniform samplerCube environmentMap;\nvec4 frag () {\n vec3 rotationDir = RotationVecFromAxisY(viewDir.xyz, cc_surfaceTransform.z, cc_surfaceTransform.w);\n #if USE_RGBE_CUBEMAP\n vec3 c = unpackRGBE(fragTextureLod(environmentMap, rotationDir.xyz, 0.0));\n #else\n vec3 c = SRGBToLinear(fragTextureLod(environmentMap, rotationDir.xyz, 0.0).rgb);\n #endif\n vec4 color = vec4(c * cc_ambientSky.w, 1.0);\n #if CC_USE_RGBE_OUTPUT\n color = packRGBE(color.rgb);\n #else\n color.rgb = HDRToLDR(color.rgb);\n color.rgb = LinearToSRGB(color.rgb);\n #endif\n return color;\n}\nvoid main() { gl_FragColor = frag(); }"
  460. },
  461. "builtins": {
  462. "globals": {
  463. "blocks": [
  464. {
  465. "name": "CCGlobal",
  466. "defines": []
  467. },
  468. {
  469. "name": "CCCamera",
  470. "defines": []
  471. }
  472. ],
  473. "samplerTextures": [
  474. {
  475. "name": "cc_environment",
  476. "defines": []
  477. }
  478. ],
  479. "buffers": [],
  480. "images": []
  481. },
  482. "locals": {
  483. "blocks": [],
  484. "samplerTextures": [],
  485. "buffers": [],
  486. "images": []
  487. },
  488. "statistics": {
  489. "CC_EFFECT_USED_VERTEX_UNIFORM_VECTORS": 42,
  490. "CC_EFFECT_USED_FRAGMENT_UNIFORM_VECTORS": 42
  491. }
  492. },
  493. "defines": [
  494. {
  495. "name": "USE_INSTANCING",
  496. "type": "boolean"
  497. },
  498. {
  499. "name": "CC_USE_SKINNING",
  500. "type": "boolean"
  501. },
  502. {
  503. "name": "CC_USE_BAKED_ANIMATION",
  504. "type": "boolean"
  505. },
  506. {
  507. "name": "CC_USE_LIGHTMAP",
  508. "type": "boolean"
  509. },
  510. {
  511. "name": "CC_USE_REFLECTION_PROBE",
  512. "type": "boolean"
  513. },
  514. {
  515. "name": "CC_RECEIVE_SHADOW",
  516. "type": "boolean"
  517. },
  518. {
  519. "name": "CC_USE_LIGHT_PROBE",
  520. "type": "boolean"
  521. },
  522. {
  523. "name": "CC_USE_MORPH",
  524. "type": "boolean"
  525. },
  526. {
  527. "name": "CC_USE_IBL",
  528. "type": "number",
  529. "range": [
  530. 0,
  531. 2
  532. ]
  533. },
  534. {
  535. "name": "CC_USE_DEBUG_VIEW",
  536. "type": "number",
  537. "range": [
  538. 0,
  539. 3
  540. ]
  541. },
  542. {
  543. "name": "CC_SURFACES_DEBUG_VIEW_COMPOSITE_AND_MISC",
  544. "type": "boolean"
  545. },
  546. {
  547. "name": "CC_SURFACES_ENABLE_DEBUG_VIEW",
  548. "type": "boolean"
  549. },
  550. {
  551. "name": "CC_USE_HDR",
  552. "type": "boolean"
  553. },
  554. {
  555. "name": "CC_TONE_MAPPING_TYPE",
  556. "type": "number",
  557. "range": [
  558. 0,
  559. 3
  560. ]
  561. },
  562. {
  563. "name": "HDR_TONE_MAPPING_ACES",
  564. "type": "boolean"
  565. },
  566. {
  567. "name": "USE_RGBE_CUBEMAP",
  568. "type": "boolean"
  569. },
  570. {
  571. "name": "CC_USE_RGBE_OUTPUT",
  572. "type": "boolean"
  573. }
  574. ]
  575. }
  576. ],
  577. [
  578. {
  579. "passes": [
  580. {
  581. "program": "pipeline/skybox|sky-vs:vert|sky-fs:frag",
  582. "priority": 245,
  583. "rasterizerState": {
  584. "cullMode": 0
  585. },
  586. "depthStencilState": {
  587. "depthTest": true,
  588. "depthWrite": false
  589. },
  590. "properties": {
  591. "environmentMap": {
  592. "value": "grey",
  593. "type": 31
  594. }
  595. }
  596. },
  597. {
  598. "propertyIndex": 0,
  599. "phase": "deferred-forward",
  600. "program": "pipeline/skybox|sky-vs:vert|sky-fs:frag",
  601. "priority": 245,
  602. "rasterizerState": {
  603. "cullMode": 0
  604. },
  605. "depthStencilState": {
  606. "depthTest": true,
  607. "depthWrite": false
  608. }
  609. }
  610. ]
  611. }
  612. ]
  613. ]
  614. ],
  615. 0,
  616. 0,
  617. [],
  618. [],
  619. []
  620. ]