Commit graph

125 commits

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