Commit graph

828 commits

Author SHA1 Message Date
hizzlekizzle 0e21ee8362 Merge pull request #20 from rz5/master
(crtglow) All presets now correctly alias gaus_vert.slang as 'CRTPass'
2016-07-26 19:51:32 -05: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
hizzlekizzle ed2acc33ab Merge pull request #19 from rz5/master
(CRT) Fix crt-easymode, create presets and move files around
2016-07-25 12:54:55 -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 e3e6c7b93d get gameboy shader working 2016-07-25 09:57:15 -05:00
hizzlekizzle 428987847f Merge pull request #18 from rz5/master
(gameboy) A couple of MAD optimizations, some formatting and ensure the shader
2016-07-23 22:11:01 -05:00
Arzed Five 70d30ead4b A couple of MAD optimizations, some formatting and ensure the shader
works a little bit better.
If the blending_mode macro on gb-pass1 is set to 0, we'll get only the
green background color.
2016-07-24 03:59:55 +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
hizzlekizzle fecb12e766 Merge pull request #17 from rz5/patch-1
Update pal-singlepass.slang
2016-07-22 18:43:00 -05:00
rz5 263ebb4bc2 Update pal-singlepass.slang
Add BSD 2-Clause license text.
2016-07-22 23:35:26 +01:00
hizzlekizzle 6457233cff Merge pull request #16 from rz5/master
(pal) Port @svofski's CRT shader to libretro.
2016-07-22 14:56:04 -05:00
Arzed Five c2e4647849 (pal) Port @svofski's CRT shader to libretro.
Tried to add the phase noise feature found in his crt.py software
version.
2016-07-22 19:32:09 +01:00
hizzlekizzle e518f8fae0 Merge pull request #15 from rz5/patch-1
Update crt-easymode.slang
2016-07-21 13:27:31 -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
hizzlekizzle 14c6533193 remove extraneous originalhistorysizes 2016-07-21 08:43:59 -05:00
hizzlekizzle 354d0b8b43 couple of changes related to previous pass
currently broken but whatever
2016-07-21 08:42:22 -05:00
hunterk 762dfe1cb5 add lcd-cgwg and dot shaders to handheld 2016-07-21 08:39:08 -05:00
hunterk 2a48c2148c add scalehq and supereagle 2016-07-21 08:37:37 -05:00
hunterk 16dc63625e add broken 2xBR-multipass 2016-07-21 08:35:13 -05:00
hizzlekizzle fd674e97bd Merge pull request #14 from rz5/master
(crtglow) Translated the glow set of shaders and their associated
2016-07-20 21:07:45 -05:00
Arzed Five efd79721cb (crtglow) Translated the glow set of shaders and their associated
presets.
2016-07-21 03:01:53 +01:00
hizzlekizzle 41769642e4 Merge pull request #13 from rz5/master
gb shader formatting quality assurance
2016-07-20 18:43:07 -05:00
Arzed Five a61f86864f More MAD optimizations 2016-07-20 23:25:20 +01:00
Arzed Five 18a6182b0d Some MAD optimizations.
Style nits: Replaced tabs with spaces, 4-space tabs, 80 char general
limit, etc.
2016-07-20 22:50:07 +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
hizzlekizzle 9c30c6dc03 access pass 1 correctly 2016-07-19 19:52:03 -05:00
hunterk c1de320e4e fix interlacing shader; i think framecount might be b0rk3n 2016-07-19 16:18:36 -05:00
hunterk e060625eef add broken gameboy shader 2016-07-19 15:17:23 -05:00
hizzlekizzle 08ba6f835f Merge pull request #11 from rz5/patch-1
Update aann.slang
2016-07-19 13:24:53 -05:00
hizzlekizzle 161eff4b09 Merge pull request #12 from rz5/master
Translated all of the shaders to allow the super-xbr-2p preset to work.
2016-07-19 13:22:48 -05:00
Arzed Five 5de3ce96a2 Translated all of the shaders to allow the super-xbr-2p preset to work.
Final image doesn't seem to be quite right - horizontal lines are bumpy.
2016-07-19 18:04:16 +01:00
rz5 a0608ed481 Update aann.slang
Notable changes:
* As per https://www.opengl.org/wiki/GLSL_Optimizations, I tried replacing divisions with multiplications.
* All the color space conversion functions accept (and work on) vectors instead of single.

This part is subjective, but I formatted the code all around based on my idea of what looks most legible  .

@wareya, @Monroe88: Hi, could you both take a quick glance at my multiply-add optimizations? The wiki says it would make it faster, dunno by how much but it was easy to change and it didn't hinder legibility too much.
2016-07-19 14:20:30 +01:00
hizzlekizzle 27efe97300 Merge pull request #9 from rz5/patch-1
Create crt-cgwg-fast.slang
2016-07-18 21:53:04 -05:00
hizzlekizzle df9382876d Merge pull request #10 from Monroe88/patch-2
(AANN) Update to latest version
2016-07-18 21:52:52 -05:00
Monroe88 6a6fc86cf3 (AANN) Update to latest version 2016-07-18 21:08:02 -05:00
rz5 c593a895a8 Create crt-cgwg-fast.slang 2016-07-19 02:44:24 +01:00
hizzlekizzle 454e1ac131 Merge pull request #7 from rz5/patch-1
Update crt-geom.slang
2016-07-18 13:18:57 -05: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
hizzlekizzle cfa2d35646 Merge pull request #6 from rz5/master
Translated gba-color.cg.
2016-07-18 11:14:31 -05:00
hunterk 402940a6be add dotmask and fix some things with crt-geom 2016-07-18 11:09:14 -05:00
Arzed Five d0ef0cc60c Translated gba-color.cg.
No obvious bugs were spotted.
2016-07-18 15:28:57 +01:00
hizzlekizzle c1b2f02bf5 Merge pull request #5 from rz5/patch-2
Update crt-hyllian.slang
2016-07-18 09:06:00 -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
hizzlekizzle 4a1bd3d938 Merge pull request #4 from rz5/patch-2
Create crt-hyllian.slang
2016-07-16 08:06:42 -05: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