diff options
author | Westley M. Martinez <anikom15@gmail.com> | 2018-10-07 08:42:30 -0700 |
---|---|---|
committer | R. Belmont <rb6502@users.noreply.github.com> | 2018-10-07 11:42:30 -0400 |
commit | b5a54b761c94c543ce950dee0bc4aa0610ba8cba (patch) | |
tree | 9593e366a3f3da82074dec2b431c3dc8ada08d1c /ini/presets | |
parent | 7b42e2f79950adc1dd6d3c07df5513eda87b507c (diff) |
HLSL Color Transforms and 3D LUT (#4043)
* 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
Diffstat (limited to 'ini/presets')
-rw-r--r-- | ini/presets/raster.ini | 5 | ||||
-rw-r--r-- | ini/presets/vector-mono.ini | 4 | ||||
-rw-r--r-- | ini/presets/vector.ini | 5 |
3 files changed, 14 insertions, 0 deletions
diff --git a/ini/presets/raster.ini b/ini/presets/raster.ini index 8f852cf5a10..2a1b8a3ea82 100644 --- a/ini/presets/raster.ini +++ b/ini/presets/raster.ini @@ -38,6 +38,11 @@ scale 1.15,1.05,0.90 power 0.90,0.90,1.15 floor 0.025,0.025,0.025 phosphor_life 0.25,0.25,0.25 +chroma_mode 3 +chroma_a 0.630,0.340 +chroma_b 0.310,0.595 +chroma_c 0.155,0.070 +chroma_y_gain 0.2124,0.7011,0.0866 # # NTSC POST-PROCESSING OPTIONS diff --git a/ini/presets/vector-mono.ini b/ini/presets/vector-mono.ini index 00ff7978f5d..443fdc39782 100644 --- a/ini/presets/vector-mono.ini +++ b/ini/presets/vector-mono.ini @@ -38,6 +38,10 @@ scale 1.0,1.0,1.0 power 1.0,1.0,1.0 floor 0.0,0.0,0.0 phosphor_life 0.5,0.5,0.5 +chroma_mode 1 +chroma_a 0.265,0.285 +chroma_conversion_gain 0.30,0.59,0.11 +chroma_y_gain 1.0,0.0,0.0 # # NTSC POST-PROCESSING OPTIONS diff --git a/ini/presets/vector.ini b/ini/presets/vector.ini index ea41036f3e5..2335c2f324c 100644 --- a/ini/presets/vector.ini +++ b/ini/presets/vector.ini @@ -41,6 +41,11 @@ scale 1.0,1.0,1.0 power 1.0,1.0,1.0 floor 0.0,0.0,0.0 phosphor_life 0.5,0.5,0.5 +chroma_mode 3 +chroma_a 0.630,0.340 +chroma_b 0.310,0.595 +chroma_c 0.155,0.070 +chroma_y_gain 0.2124,0.7011,0.0866 # # NTSC POST-PROCESSING OPTIONS |