Commit graph

217 commits

Author SHA1 Message Date
Stuart Carnie f9681bccf4 fix(crt-easymode): SPIRV-Cross compatibility
* likely a bug in SPIRV-Cross as it declared a local variable named
  param that conflicted with the fragment shader input parameter named
  param
2018-07-14 15:03:59 -07:00
Stuart Carnie c915193e82 fix(crt-royale): Ensures output location is defined for Metal support
* error after SPIRV-Cross is that output locations are not defined
2018-07-14 14:42:33 -07:00
hunterk a5ffea7278 add yee64 and yeetron shaders ported from reshade 2018-06-12 12:29:38 -05:00
hunterk 8f26d985e6 add curvature and moire compensation to crtglow 2018-06-06 16:17:10 -05:00
hunterk 68577a2af7 add crt-hyllian-3d shader and preset 2018-06-06 13:02:53 -05:00
hizzlekizzle 020a59e745
Create moire-resolve.slang 2018-06-01 16:24:32 -05:00
hunterk 36db5c17cb fix pal-r57shell and remove unnecessary multipass version, add royale ntsc/pal presets 2018-05-02 14:26:13 -05:00
hunterk a501be6211 add fakelottes shader and preset 2018-04-09 11:52:32 -05:00
hunterk 75090978fb update snes-hires-blend to match glsl; make image-adjustment play nicer with others 2018-02-14 10:44:24 -06:00
hunterk fa0b02bf66 add snes-hires-blend shader 2018-02-12 12:41:33 -06:00
hunterk 6dddf979ea add crt-lottes-fast shader and preset 2018-01-22 12:52:36 -06:00
hunterk 2f74b5fd1f whoops, delete extraneous file 2018-01-09 11:21:36 -06:00
hunterk bf78706305 add crt-potato 2018-01-09 11:20:52 -06:00
hunterk b4203c5f8c fix disabled runtime parameters code path 2017-12-28 20:34:39 -06:00
hunterk 202d0c7684 crt-royale fixes 2017-11-30 09:03:34 -06:00
hunterk eaf306f550 temporary fix for royale being too dark 2017-11-29 20:27:50 -06:00
hunterk 760d334b53 massive overhaul of crt-royale and all associated shaders 2017-11-29 13:40:28 -06:00
hunterk bd3f8eff56 Merge branch 'master' of https://github.com/libretro/slang-shaders 2017-11-09 20:29:48 -06:00
hunterk f89dc71d76 add ambient-glow border and apply dotmask in linear gamma 2017-11-09 12:34:25 -06:00
hunterk 8ad32974b1 add crt-royale fake-bloom shaders and preset; intel version is broken so no preset for it yet 2017-10-20 23:34:10 -05:00
hunterk 444f4772d3 add crt-hyllian-glow shaders and preset 2017-10-06 09:26:48 -05:00
hunterk 1a73032cfd fix typo in gtu-famicom that made the combfilter super-dark 2017-09-25 13:57:45 -05:00
hunterk 5ce80162de fix mask artifacts with phosphorlut and add spec doc as README 2017-08-29 15:34:14 -05:00
hunterk 0822605b7e add metacrt and pal-r57shell shaders 2017-06-12 16:17:53 -05:00
hunterk bada8fb234 update crt-lottes-multipass preset 2017-06-01 21:18:32 -05:00
hunterk 578ae7faa2 add crt-frutbunn and add shadertoy link to artifact-colors 2017-05-25 08:24:36 -05:00
hunterk f9c47b074a add ntsclut-phosphorlut preset and tweak crtsim ntsc setting 2017-05-04 21:36:39 -05:00
hunterk 6f47464db3 fix beam_horiz_filter, update kurozumi, add fallback to fix my AMD crash 2017-05-04 16:34:39 -05:00
hunterk 8590410b30 try to get some more params working with royale 2017-05-03 16:34:58 -05:00
hunterk b196ec57df add crt-caligari 2017-05-01 15:41:26 -05:00
hunterk 740edfbd12 some crtsim tweaks and new preset 2017-04-28 16:08:52 -05:00
hunterk 46172167c9 add crtsim shader 2017-04-27 10:38:48 -05:00
hunterk 5b18ba052f add runtime phosphor layout selection 2017-03-15 12:25:37 -05:00
hunterk a450ac1b2f add crt-nes-mini 2017-03-14 21:03:52 -05:00
hunterk 523aceef44 rework lottes-multipass to be nicer/slower; old version is moved to 'old' subdir 2017-03-08 10:32:29 -06:00
hunterk b03fd92d81 fix simple_linear_gamma switch in crt-lottes 2017-03-07 16:02:23 -06:00
hunterk 8243af2064 fix oversampling 2017-03-02 10:35:59 -06:00
hunterk eedf3a8c09 fix crash when curvature isn't defined 2017-03-02 10:20:49 -06:00
hunterk 81faa39b3f add crt-interlaced-halation and quilez shaders and presets 2017-02-28 14:50:17 -06:00
hunterk b21a18bc5f add phosphorlut shader 2017-01-26 16:08:16 -06:00
hunterk ef130f1a00 fix for weird issue on nvidia shield 2017-01-24 20:30:32 -06:00
hunterk 16f670e623 fix weird issue on nvidia shield 2017-01-24 20:20:24 -06:00
hunterk ec86a37a4e add tvout-tweaks shader 2017-01-23 16:56:16 -06:00
hunterk f8fac3677b add crt-hyllian-multipass 2017-01-17 10:16:54 -06:00
hunterk 8009dea4d7 break glow-trails to its own shader and add vector-glow presets 2016-12-20 15:36:43 -06:00
Arzed Five b8f930c86b (glow) Enforce the R8G8B8A8_SRGB format from within the shaders 2016-12-08 17:49:41 +00:00
hunterk 0640cc2cca force srgb framebuffers in crt-royale passes 2016-12-07 21:14:21 -06:00
hizzlekizzle 588bccd4a8 switch to 16-bit float framebuffer instead of 32
looks the same to me.
2016-12-07 12:05:05 -06:00
Arzed Five 5fdb0ee25d (gtu-famicom) Style nits, changed div by 2 with mul by 0.5 2016-12-07 01:12:14 +00:00
hunterk 9ee5eb1eb4 move gtu-famicom out of nonfunctional 2016-12-06 18:31:13 -06:00
hunterk 26bccd4bdc add NTSC-colors option to lottes-glow 2016-10-31 22:48:15 -05:00
hunterk bd4d99a096 add parameters to dotmask shader 2016-10-06 09:21:19 -05:00
hunterk 8c36b4b824 add easymode's crt-aperture 2016-09-26 15:43:42 -05:00
hizzlekizzle 9586b0d58d tone down the default settings 2016-09-13 21:49:16 -05:00
hunterk 776d525115 replace some float_framebuffers with srgb_framebuffers 2016-09-13 16:01:13 -05:00
hunterk b3edb4699e add glow trails to lottes-multipass-glow 2016-09-13 15:51:25 -05:00
hunterk 6661202ae1 fix crt-easymode-halation 2016-09-05 00:07:19 -05:00
hunterk 7728e7193f add nonworking blind conversion of easymode-halation 2016-09-04 22:11:36 -05:00
hunterk 9825d7bb0e more royale work 2016-09-02 12:31:09 -05:00
hunterk 7c1ea22938 add last pass to royale and kurozumi 2016-09-01 16:10:15 -05:00
hunterk b2f36e20c2 fix =C:/Users/HKaller/Desktop/MinGW-w64-RetroArch/==, change default kurozumi mask sample 2016-09-01 14:31:28 -05:00
hunterk 75c3eb5d1a more crt-royale work 2016-09-01 11:26:09 -05:00
hunterk abda62a6aa add some royale parameters 2016-08-30 14:57:13 -05:00
hizzlekizzle ae8692aa04 remove testing failsafe on crt-royale-bloom-approx 2016-08-26 11:34:43 -05:00
hunterk 291793e55e Merge branch 'master' of https://github.com/libretro/slang-shaders 2016-08-26 11:29:14 -05:00
hunterk 6035d32e17 big royale cleanup 2016-08-26 11:28:24 -05:00
hunterk 1ef9a493d0 change gamma handling and reduce default glowfactor 2016-08-26 05:50:41 -05:00
hunterk cc581b1418 more royale work; almost there 2016-08-25 12:38:14 -05:00
hunterk d33a8be758 add parameters to lottes multipass and create a glow version 2016-08-23 16:09:44 -05:00
hunterk f82445a2a7 another royale pass down... 2016-08-23 16:07:26 -05:00
hunterk f947ce7097 give royale passes non-testing FragColors 2016-08-19 15:33:40 -05:00
hunterk 98c2a8229f more work on crt-royale >_< 2016-08-19 15:26:12 -05:00
hunterk 13b985aaf9 more work on royale, long way to go 2016-08-18 09:54:37 -05:00
hunterk 7fd320b967 move crt-royale parameters to params.inc 2016-08-15 10:45:08 -05:00
hunterk 21b40f9cc6 fix interlacing detection in crt-royale first pass 2016-08-15 10:43:29 -05:00
hunterk 8f4886fcc3 add initial, broken first pass of crt-royale 2016-08-12 11:04:59 -05:00
hunterk d743b85124 move maister's crt shaders into 'slangtest' 2016-08-10 08:29:30 -05:00
hunterk f430a33c14 make gtu pass2 linear 2016-08-09 16:16:54 -05:00
hunterk fdb389c549 add aliaspider's GTU 2016-08-09 16:15:41 -05:00
Arzed Five 6a31c2dec5 Added parameters to all modified files.
Fixed a bug (introduced when porting to slang) related
to crt-hyllian and the PHOSPHOR feature.
2016-08-03 06:24:41 +01:00
hizzlekizzle 69ab6da976 Merge pull request #25 from Themaister/master
Merge upstream changes
2016-08-02 21:26:47 -05:00
rz5 419c7c580b Update crt-pi.slang
Add run-time parameters, replace 'gl_FragCoord' with 'vTexCoord / OutputSize.xy' because the spec recommends it.
2016-08-03 03:09:01 +01:00
hunterk 46df8c20c6 add parameters and push constants to crt-geom 2016-08-02 12:13:40 -05:00
Hans-Kristian Arntzen a37cff4905 Fix lanczos. 2016-08-02 16:11:44 +02:00
Hans-Kristian Arntzen e020baf774 Keep updating spec. 2016-08-02 13:24:03 +02:00
Hans-Kristian Arntzen 39cae98850 Add shader parameters to basic crt shaders. 2016-08-01 22:11:09 +02:00
rz5 3c1dfb6fe5 Update crt-pi.slang
Fix crt-pi.

Also did some MAD optimizations, combine some lines, massage the formatting a bit so it's more readable
2016-07-30 21:45:00 +01:00
hunterk 127daaa3ab add crt-pi; mask is b0rk3n 2016-07-28 16:29:06 -05:00
Arzed Five 996f5daa06 (crt-lottes-multipass) Style nits 2016-07-27 04:40:16 +01:00
Arzed Five 08d25f1dd1 (crtglow) All presets now correctly alias gaus_vert.slang as
'CRTPass'
2016-07-27 00:45:20 +01:00
hunterk a7f96ace8e add alias to crtglow - needs to be done for other glow presets 2016-07-26 12:00:03 -05:00
hunterk d3b1faffd0 add lottes-multipass 2016-07-26 10:27:29 -05:00
Arzed Five 7ee14b1c5a Create/change preset files in 'crt' and move the respective
shader files to 'crt/shaders'
2016-07-25 18:39:04 +01:00
Arzed Five 0593d28e8b (crt-easymode) The chromatic aberration bug should be gone now. There
might still be lingering bugs due to filter_lanczos() addressing
elements of a matrix which hasn't been transposed.
2016-07-25 18:31:39 +01:00
hunterk 68f19bee40 add preset for easymode, move geom into shaders dir 2016-07-23 19:56:50 -05:00
hunterk 11f0af188c move crtglow presets into the correct directory 2016-07-23 15:08:51 -05:00
rz5 7a624837c7 Update crt-easymode.slang
Optimize a bit more. There is still some chromatic aberration going on: R, G and B are slightly offset from each other horizontally on my screen.
2016-07-21 16:10:09 +01:00
Arzed Five efd79721cb (crtglow) Translated the glow set of shaders and their associated
presets.
2016-07-21 03:01:53 +01:00
hizzlekizzle 95fce03925 whoops, missed one 2016-07-20 11:11:36 -05:00
hizzlekizzle b4c5c648ce fix the black dot in crt-geom
a rounding or divide by zero problem, IIRC.
2016-07-20 11:10:37 -05:00
rz5 c593a895a8 Create crt-cgwg-fast.slang 2016-07-19 02:44:24 +01:00
rz5 b4a3d72ca5 Update crt-geom.slang
CURVATURE is now working. The problem was due to the replacement of ´´´IN.video_size / IN.texture_size´´´ (a small number representing the scale between the two sizes) with ´´´global.SourceSize.xy ´´´ (much bigger than the previous number).

SHARPER was made to work too.

@hizzlekizzle: I deleted your vec2 angle variable, which was hardcoded to (0, 0) while I was trying to fix the curvature stuff. Feel free to revert that.
2016-07-18 19:16:56 +01:00
hunterk 402940a6be add dotmask and fix some things with crt-geom 2016-07-18 11:09:14 -05:00
rz5 54fb6ee4b2 Update crt-hyllian.slang
Cg/HLSL have row major matrices. In GLSL/slang shaders, we have to reverse the operand order around.
This shader should now be completely fixed.
2016-07-18 14:35:00 +01:00
rz5 163c32c3a3 Create crt-hyllian.slang
I got it to compile.
But the final image is not correct yet.
2016-07-16 13:19:56 +01:00
rz5 29e6c68d4f Update crt-easymode.slang
Unbreak the translation.
There's still too much chromatic aberration going.
2016-07-16 00:45:50 +01:00
rz5 04bc4a257e Create crt-easymode.slang
Broken translation that at least compiles
2016-07-16 00:28:48 +01:00
rz5 c864dbb2d4 Update crt-geom.slang
Changed the formatting, tab size is 4 spaces.
Based on the discussion in IRC, I carefully deleted every instance of global.SourceSize.zw, because z = 1/x and w = 1/y and zw is NOT the same as IN.video_size.
2016-07-16 00:01:38 +01:00
hunterk f14ba96715 update still-broken crt-geom 2016-07-15 14:24:05 -05:00
hunterk 3d9d246dc4 bring back the hacky clamp fix 2016-07-13 15:35:51 -05:00
hunterk 08433c4564 blind commit ntsc 2016-07-12 23:38:02 -05:00
hunterk 0ea5a88200 blind commit for crt-geom 2016-07-12 21:55:48 -05:00
hizzlekizzle b5a1690f9a remove clamp fix that didn't work anyway 2016-07-12 19:44:26 -05:00
hunterk 73db8b3fd2 add crt-lottes 2016-07-12 15:20:15 -05:00
Hans-Kristian Arntzen 7ea771e71f Use #include in crt/ shaders. 2016-03-25 17:34:21 +01:00
Hans-Kristian Arntzen 1d33c8decb Use textureLodOffset. Save some ALU! 2016-02-23 23:04:48 +01:00
Hans-Kristian Arntzen 7b1827a213 Add initial CRT-cubic and CRT-lanczos. 2016-02-16 22:56:22 +01:00