Commit graph

257 commits

Author SHA1 Message Date
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