mirror of
https://github.com/mamedev/mame.git
synced 2024-11-18 10:06:19 +01:00
b5a54b761c
* Remove broken scanline uniform from post_pass * Add 3D LUT to HLSL * Allow individual LUTs for screen and UI * WIP: Port 3D LUT to BGFX * Finish porting LUT to BGFX * Add individual phosphor color conversion for HLSL new file: hlsl/chroma.fx Shader for converting xyY3 to sRGB modified: hlsl/phosphor.fx Minor changes to emphasize idea that phosphors are color agnostic modified: hlsl/post.fx Conversion from signal RGB to xyY3 modified: src/osd/modules/render/d3d/d3dhlsl.cpp modified: src/osd/modules/render/d3d/d3dhlsl.h modified: src/osd/windows/winmain.cpp modified: src/osd/windows/winmain.h * Add phosphor examples and update presets * Port phosphor color shaders to BGFX * Fix missing newlines at EOF
32 lines
503 B
JSON
32 lines
503 B
JSON
{
|
|
"blend": {
|
|
"equation": "add",
|
|
"srcColor": "srcalpha",
|
|
"dstColor": "1-srcalpha",
|
|
"srcAlpha": "srcalpha",
|
|
"dstAlpha": "1-srcalpha"
|
|
},
|
|
"depth": {
|
|
"function": "always"
|
|
},
|
|
"cull": {
|
|
"mode": "none"
|
|
},
|
|
"write": {
|
|
"rgb": true,
|
|
"alpha": true
|
|
},
|
|
"vertex": "chains/misc/vs_lut",
|
|
"fragment": "chains/misc/fs_lut",
|
|
"uniforms": [
|
|
{
|
|
"name": "s_tex",
|
|
"type": "int",
|
|
"values": [ 1.0 ]
|
|
}, {
|
|
"name": "s_3dlut",
|
|
"type": "int",
|
|
"values": [ 1.0 ]
|
|
}
|
|
]
|
|
}
|