mirror of https://github.com/mamedev/mame.git
31 lines
981 B
JSON
31 lines
981 B
JSON
{
|
|
"blend": {
|
|
"equation": "add",
|
|
"srcColor": "1",
|
|
"dstColor": "0",
|
|
"srcAlpha": "1",
|
|
"dstAlpha": "0"
|
|
},
|
|
"depth": {
|
|
"function": "always",
|
|
"writeenable": false
|
|
},
|
|
"cull": {
|
|
"mode": "none"
|
|
},
|
|
"write": {
|
|
"rgb": true,
|
|
"alpha": true
|
|
},
|
|
"vertex": "chains/crt-geom/vs_phosphor_update",
|
|
"fragment": "chains/crt-geom/fs_phosphor_update",
|
|
"uniforms": [
|
|
{ "name": "s_screen", "type": "int", "values": [ 0 ] },
|
|
{ "name": "s_phosphor", "type": "int", "values": [ 1 ] },
|
|
{ "name": "u_phosphor_power", "type": "vec4", "values": [ 1.3, 0.0, 0.0, 0.0 ] },
|
|
{ "name": "u_phosphor_amplitude","type": "vec4", "values": [ 0.2, 0.0, 0.0, 0.0 ] },
|
|
{ "name": "u_phosphor_cutoff", "type": "vec4", "values": [300.0,0.0, 0.0, 0.0 ] },
|
|
{ "name": "u_gamma", "type": "vec4", "values": [ 2.2, 0.0, 0.0, 0.0 ] }
|
|
]
|
|
}
|