mirror of
https://github.com/szrpf/DataBoardDemo.git
synced 2024-12-26 11:48:34 +00:00
54 lines
1.3 KiB
JSON
54 lines
1.3 KiB
JSON
{
|
|
"__type__": "cc.EffectAsset",
|
|
"_name": "builtin-clear-stencil",
|
|
"_objFlags": 0,
|
|
"_native": "",
|
|
"properties": null,
|
|
"techniques": [
|
|
{
|
|
"passes": [
|
|
{
|
|
"blendState": {
|
|
"targets": [
|
|
{
|
|
"blend": true
|
|
}
|
|
]
|
|
},
|
|
"rasterizerState": {
|
|
"cullMode": 0
|
|
},
|
|
"program": "builtin-clear-stencil|vs|fs"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"shaders": [
|
|
{
|
|
"hash": 2075641479,
|
|
"glsl3": {
|
|
"vert": "\nprecision highp float;\nin vec3 a_position;\nvoid main () {\n gl_Position = vec4(a_position, 1);\n}",
|
|
"frag": "\nprecision highp float;\nvoid main () {\n gl_FragColor = vec4(1.0);\n}"
|
|
},
|
|
"glsl1": {
|
|
"vert": "\nprecision highp float;\nattribute vec3 a_position;\nvoid main () {\n gl_Position = vec4(a_position, 1);\n}",
|
|
"frag": "\nprecision highp float;\nvoid main () {\n gl_FragColor = vec4(1.0);\n}"
|
|
},
|
|
"builtins": {
|
|
"globals": {
|
|
"blocks": [],
|
|
"samplers": []
|
|
},
|
|
"locals": {
|
|
"blocks": [],
|
|
"samplers": []
|
|
}
|
|
},
|
|
"defines": [],
|
|
"blocks": [],
|
|
"samplers": [],
|
|
"record": null,
|
|
"name": "builtin-clear-stencil|vs|fs"
|
|
}
|
|
]
|
|
} |