oxygen-core
Version:
Oxygen game engine (Xenon Core for browsers)
22 lines (21 loc) • 427 B
JSON
{
"vertex": "shaders/color.vert",
"fragment": "shaders/color.frag",
"layout": {
"aPosition": {
"size": 2,
"stride": 2,
"offset": 0
}
},
"uniforms": {
"uModel": "model-matrix",
"uView": "view-matrix",
"uProjection": "projection-matrix",
"uColor": [1, 1, 1, 1]
},
"blending": {
"source": "src-alpha",
"destination": "one-minus-src-alpha"
}
}