mirror of
https://github.com/mamedev/mame.git
synced 2024-11-16 07:48:32 +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
15 lines
400 B
INI
15 lines
400 B
INI
# P7 Phosphor
|
|
#
|
|
# Dual-color phosphor for military RADAR
|
|
#
|
|
# Red channel should be set to medium-short persistence. Green
|
|
# channel should be set to long.
|
|
#
|
|
# DIRECT3D POST-PROCESSING OPTIONS
|
|
#
|
|
phosphor_life 0.2,0.8,0.0
|
|
chroma_mode 1
|
|
chroma_a 0.151,0.032
|
|
chroma_b 0.357,0.537
|
|
chroma_conversion_gain 0.30,0.59,0.11
|
|
chroma_y_gain 0.50,0.50,0.0
|