810e96e4-e456-4468-9b59-f4e8f39732c0.json 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140
  1. {
  2. "__type__": "cc.EffectAsset",
  3. "_name": "internal/builtin-clear-stencil",
  4. "_objFlags": 0,
  5. "__editorExtras__": {},
  6. "_native": "",
  7. "techniques": [
  8. {
  9. "passes": [
  10. {
  11. "blendState": {
  12. "targets": [
  13. {
  14. "blend": true
  15. }
  16. ]
  17. },
  18. "rasterizerState": {
  19. "cullMode": 0
  20. },
  21. "program": "internal/builtin-clear-stencil|sprite-vs:vert|sprite-fs:frag",
  22. "depthStencilState": {
  23. "depthTest": false,
  24. "depthWrite": false
  25. }
  26. }
  27. ]
  28. }
  29. ],
  30. "shaders": [
  31. {
  32. "blocks": [],
  33. "samplerTextures": [],
  34. "samplers": [],
  35. "textures": [],
  36. "buffers": [],
  37. "images": [],
  38. "subpassInputs": [],
  39. "attributes": [
  40. {
  41. "name": "a_position",
  42. "defines": [],
  43. "format": 32,
  44. "location": 0
  45. }
  46. ],
  47. "varyings": [],
  48. "fragColors": [
  49. {
  50. "name": "cc_FragColor",
  51. "typename": "vec4",
  52. "type": 16,
  53. "count": 1,
  54. "defines": [],
  55. "stageFlags": 16,
  56. "location": 0
  57. }
  58. ],
  59. "descriptors": [
  60. {
  61. "rate": 0,
  62. "blocks": [],
  63. "samplerTextures": [],
  64. "samplers": [],
  65. "textures": [],
  66. "buffers": [],
  67. "images": [],
  68. "subpassInputs": []
  69. },
  70. {
  71. "rate": 1,
  72. "blocks": [],
  73. "samplerTextures": [],
  74. "samplers": [],
  75. "textures": [],
  76. "buffers": [],
  77. "images": [],
  78. "subpassInputs": []
  79. },
  80. {
  81. "rate": 2,
  82. "blocks": [],
  83. "samplerTextures": [],
  84. "samplers": [],
  85. "textures": [],
  86. "buffers": [],
  87. "images": [],
  88. "subpassInputs": []
  89. },
  90. {
  91. "rate": 3,
  92. "blocks": [],
  93. "samplerTextures": [],
  94. "samplers": [],
  95. "textures": [],
  96. "buffers": [],
  97. "images": [],
  98. "subpassInputs": []
  99. }
  100. ],
  101. "hash": 3507038093,
  102. "glsl4": {
  103. "vert": "\nprecision highp float;\nlayout(location = 0) in vec3 a_position;\nvec4 vert () {\n vec4 pos = vec4(a_position, 1);\n return pos;\n}\nvoid main() { gl_Position = vert(); }",
  104. "frag": "\nprecision highp float;\nvec4 frag () {\n vec4 o = vec4(1.0);\n return o;\n}\nlayout(location = 0) out vec4 cc_FragColor;\nvoid main() { cc_FragColor = frag(); }"
  105. },
  106. "glsl3": {
  107. "vert": "\nprecision highp float;\nin vec3 a_position;\nvec4 vert () {\n vec4 pos = vec4(a_position, 1);\n return pos;\n}\nvoid main() { gl_Position = vert(); }",
  108. "frag": "\nprecision highp float;\nvec4 frag () {\n vec4 o = vec4(1.0);\n return o;\n}\nlayout(location = 0) out vec4 cc_FragColor;\nvoid main() { cc_FragColor = frag(); }"
  109. },
  110. "glsl1": {
  111. "vert": "\nprecision highp float;\nattribute vec3 a_position;\nvec4 vert () {\n vec4 pos = vec4(a_position, 1);\n return pos;\n}\nvoid main() { gl_Position = vert(); }",
  112. "frag": "\nprecision highp float;\nvec4 frag () {\n vec4 o = vec4(1.0);\n return o;\n}\nvoid main() { gl_FragColor = frag(); }"
  113. },
  114. "builtins": {
  115. "globals": {
  116. "blocks": [],
  117. "samplerTextures": [],
  118. "buffers": [],
  119. "images": []
  120. },
  121. "locals": {
  122. "blocks": [],
  123. "samplerTextures": [],
  124. "buffers": [],
  125. "images": []
  126. },
  127. "statistics": {
  128. "CC_EFFECT_USED_VERTEX_UNIFORM_VECTORS": 0,
  129. "CC_EFFECT_USED_FRAGMENT_UNIFORM_VECTORS": 0
  130. }
  131. },
  132. "defines": [],
  133. "name": "internal/builtin-clear-stencil|sprite-vs:vert|sprite-fs:frag"
  134. }
  135. ],
  136. "combinations": [
  137. {}
  138. ],
  139. "hideInEditor": false
  140. }