Commit graph

387 commits

Author SHA1 Message Date
hizzlekizzle 6baa6ec488 Merge pull request #22 from rz5/patch-2
Update crt-pi.slang
2016-07-30 16:31:18 -05: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
mudlord 915132eb93 Added 2 more example raymarch shaders. 2016-07-29 16:10:55 +10:00
mudlord 72aee76479 Ported a tunnel shader that describes how to render a tunnel procedurally. 2016-07-29 15:04:42 +10:00
mudlord 9a81f4db05 Heh. 2016-07-29 13:26:31 +10:00
mudlord 35227f6dff Added some proof of concept procedural graphics shaders.
These do not postprocess per se, but render entirely new graphics.
This is purely an abuse of the postprocess system. Would be ideal
with async compute, but what the hell :D
2016-07-29 13:25:23 +10:00
hunterk 127daaa3ab add crt-pi; mask is b0rk3n 2016-07-28 16:29:06 -05:00
hizzlekizzle 97f02f97f2 Merge pull request #21 from rz5/master
(crt-lottes-multipass) Style nits
2016-07-26 22:59:42 -05:00
Arzed Five 996f5daa06 (crt-lottes-multipass) Style nits 2016-07-27 04:40:16 +01:00
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