Commit graph

446 commits

Author SHA1 Message Date
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
hizzlekizzle 41f065993e Merge pull request #3 from rz5/patch-1
Update crt-easymode.slang
2016-07-15 21:04:11 -05: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
hizzlekizzle 4109082682 Merge pull request #2 from rz5/patch-2
Create crt-easymode.slang
2016-07-15 18:29:34 -05:00
rz5 04bc4a257e Create crt-easymode.slang
Broken translation that at least compiles
2016-07-16 00:28:48 +01:00
hizzlekizzle da0536cf88 Merge pull request #1 from rz5/patch-1
Update crt-geom.slang
2016-07-15 18:25:53 -05: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 fb4f5d002b add aann and sharp-bilinear and broken pixellate 2016-07-14 15:54:54 -05:00
hunterk 0b9f0f2c20 fix image-adjustment shader 2016-07-14 09:54:58 -05:00
hunterk 51ea79d9ba add a stock shader to work from and start porting misc shaders 2016-07-14 09:46:04 -05:00
hunterk 3d9d246dc4 bring back the hacky clamp fix 2016-07-13 15:35:51 -05:00
hunterk 97106f2185 fix NTSC shader 2016-07-13 13:59:27 -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 aa9b5d4a67 Add RT format test. 2016-03-26 23:49:20 +01:00
Hans-Kristian Arntzen 765fe3a7cd Test for non-causal detection. 2016-03-26 18:27:36 +01:00
Hans-Kristian Arntzen ba78fde491 Add #pragma name test. 2016-03-26 17:59:00 +01:00
Hans-Kristian Arntzen ba83dc0ae5 Write some more ... 2016-03-26 15:48:50 +01:00
Hans-Kristian Arntzen 14ed980456 Start drafting ... 2016-03-26 01:36:05 +01:00
Hans-Kristian Arntzen 1350a5f15d Add frame count test. 2016-03-25 22:06:14 +01:00
Hans-Kristian Arntzen 05eb30b799 Add feedback test shader. 2016-03-25 19:18:26 +01:00
Hans-Kristian Arntzen 4289906520 Add test for original history feature. 2016-03-25 18:52:20 +01: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 7f80f00a4a Add basic gamma corrected linear and cubic filters. 2016-02-23 22:03:33 +01:00
Hans-Kristian Arntzen 7b1827a213 Add initial CRT-cubic and CRT-lanczos. 2016-02-16 22:56:22 +01:00