2022-06-30 02:14:07 +00:00
|
|
|
{
|
|
|
|
"vertex_lines": [
|
|
|
|
"",
|
|
|
|
"precision highp float;",
|
|
|
|
"precision highp int;",
|
|
|
|
"",
|
|
|
|
"layout(location = 0) in highp vec3 vertex;",
|
|
|
|
"",
|
|
|
|
"out highp vec4 position_interp;",
|
|
|
|
"",
|
|
|
|
"void main() {",
|
|
|
|
"\tposition_interp = vec4(vertex.x,1,0,1);",
|
|
|
|
"}",
|
|
|
|
""
|
|
|
|
],
|
|
|
|
"fragment_lines": [
|
|
|
|
"",
|
|
|
|
"precision highp float;",
|
|
|
|
"precision highp int;",
|
|
|
|
"",
|
|
|
|
"in highp vec4 position_interp;",
|
|
|
|
"",
|
|
|
|
"void main() {",
|
|
|
|
"\thighp float depth = ((position_interp.z / position_interp.w) + 1.0);",
|
|
|
|
"\tfrag_color = vec4(depth);",
|
|
|
|
"}"
|
|
|
|
],
|
|
|
|
"uniforms": [],
|
|
|
|
"fbos": [],
|
|
|
|
"texunits": [],
|
|
|
|
"texunit_names": [],
|
|
|
|
"ubos": [],
|
|
|
|
"ubo_names": [],
|
2022-11-08 06:40:03 +00:00
|
|
|
"feedbacks": [],
|
2022-06-30 02:14:07 +00:00
|
|
|
"vertex_included_files": [],
|
|
|
|
"fragment_included_files": [],
|
|
|
|
"reading": "fragment",
|
|
|
|
"line_offset": 33,
|
|
|
|
"vertex_offset": 10,
|
|
|
|
"fragment_offset": 23,
|
|
|
|
"variant_defines": [
|
|
|
|
"#define USE_NINEPATCH"
|
|
|
|
],
|
|
|
|
"variant_names": [
|
|
|
|
"MODE_NINEPATCH"
|
|
|
|
],
|
|
|
|
"specialization_names": [
|
|
|
|
"DISABLE_LIGHTING"
|
|
|
|
],
|
|
|
|
"specialization_values": [
|
|
|
|
" false\n"
|
|
|
|
]
|
|
|
|
}
|