24 lines
580 B
JSON
24 lines
580 B
JSON
// license:BSD-3-Clause
|
|
// copyright-holders:Ryan Holtz
|
|
//============================================================
|
|
//
|
|
// gui_opaque.json: Generic opaque shader for GUI elements.
|
|
//
|
|
//============================================================
|
|
{
|
|
"depth": {
|
|
"function": "always"
|
|
},
|
|
"cull": { "mode": "none" },
|
|
"write": {
|
|
"rgb": true,
|
|
"alpha": true
|
|
},
|
|
"vertex": "vs_gui",
|
|
"fragment": "fs_gui",
|
|
"uniforms": [
|
|
{ "name": "s_tex", "type": "int", "values": [ 1.0 ] },
|
|
{ "name": "u_inv_view_dims", "type": "vec4", "values": [ 1.0, 1.0, 0.0, 0.0 ] }
|
|
]
|
|
}
|