UNPKG

oxygen-core

Version:

Oxygen game engine (Xenon Core for browsers)

18 lines (17 loc) 334 B
{ "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] } }