Commit Graph

63 Commits

Author SHA1 Message Date
Unknown W. Brackets
9a812f7f0b Shaders: Set vert shaders to mediump by default.
Seeing errors in logs about precision not agreeing.
2021-04-10 13:41:41 -07:00
Henrik Rydgård
bcd7856aaf Specify MaxScale=2 for the new MMPX texture scaling shader 2021-01-28 11:17:17 +01:00
Unknown W. Brackets
c99b4b118a Vulkan: Add MMPX upscaling texture shader.
See https://casual-effects.com/research/McGuire2021PixelArt/index.html
2021-01-28 00:38:53 -08:00
iota97
16e54c6300 Clean up psp_color shader 2020-11-22 20:28:17 +01:00
Leo
5c387ce413
Removed unused texel info 2020-10-15 19:01:24 +03:30
Leo
f3514704b1
Added new vertex shader file naturalA.vsh
This fixes the trembling issue
2020-10-15 18:57:24 +03:30
Leo
370d6ef62d
Removed unnecessary vertex coords 2020-10-15 18:56:04 +03:30
Leo
6c2aa86225
Replaced shader vertex file for naturalA
Vertex shader file is different now. Not sure why I was using the old one anyway.
2020-10-15 18:54:50 +03:30
RokkumanX
0f34a7427b
Add PSP color shader
This adds the PSP color shader ported from RetroArch courtesy from @jdgleaver (https://forums.ppsspp.org/showthread.php?tid=6594&pid=130635#pid130635) to PPSSPP

Also updated with up to date changes found here (https://github.com/libretro/glsl-shaders/blob/master/handheld/shaders/color/psp-color.glsl)
2020-09-28 09:31:33 +02:00
Unknown W. Brackets
d99e67a061 Vulkan: Allow custom texture upscaling shaders.
Let's not just hardcode.
2020-08-01 22:00:04 -07:00
vnctdj
b0221a9064 Reuse some already translated strings
+ fix a typo
2020-06-20 23:48:11 +02:00
iota97
b07874cd00 Fix per game setting and pack setting in vec4 2020-05-16 09:27:53 +02:00
iota97
a666635fa2 Post shader setting uniform 2020-05-15 18:08:52 +02:00
Henrik Rydgård
42a73e4c76 Fix minor bug in natural.vsh, which caused a gl_error that I ran into when tracing another bug 2018-10-20 12:15:58 +02:00
LunaMoo
ffac542f95 Change to int to allow higher supersampling scale. 2018-04-02 13:44:28 +02:00
LunaMoo
199106cad6 Add SSAA flag for post process shaders,
enforces 2x auto resolution, to be used with blurry effects
Also includes a perf. friendly example using simplified gauss filter
2018-04-01 17:00:10 +02:00
Leo
c637023cd6 Fixed the new shader error on OpenGL ES (#10799)
* Fixed the new shader error on OpenGL ES

* Fixed Natural Color PP shader error on OpenGL ES

* Updated to match the changes.

* Delete naturalA.vsh
2018-03-26 21:28:32 +02:00
LunaMoo
296481703f Quick try on fixing new shader for mobiles that are less forgiving. 2018-03-25 16:54:41 +02:00
Leo
8e8c21fa0b Added new Natural Colors PP shader (removed blur) (#10782)
Add Natural Colors shader with removed blur.
2018-03-24 20:51:38 +01:00
LunaMoo
5b75d2af20 Add uniform to make post process aware of videos.
And an example effect ~ subtle AA in-game/heavy smoothing for videos.
2017-09-13 08:13:51 +02:00
LunaMoo
20aa1f8250 Remove obsolete workaround. 2017-05-31 15:00:30 +02:00
LunaMoo
8f16c9ded6 Revert "Fix minor glitch with 5xBR effects." 2017-03-23 08:35:17 +01:00
LunaMoo
1f1db63068 Fix minor glitch with 5xBR effects. 2017-03-22 23:56:52 +01:00
LunaMoo
f71759020d Skip 5xBR based upscaling if output < (1.6 * input) 2017-03-16 13:46:43 +01:00
LunaMoo
1b39c3cb17 Add Hyllian's xBR-lv2 Shader Accuracy (tweak by guest.r) 2017-03-16 06:59:28 +01:00
LunaMoo
2b0ab12c4d Add PostShader option to force 60fps for animated effects 2017-03-05 15:04:22 +01:00
LunaMoo
d6c2944aac Minor workaround for 5xBR,
Also screen scaling filter for upscaling filters that also happen to use postShaderAtOutputResolution_.
2017-02-23 22:54:50 +01:00
LunaMoo
f9df189cca This could be a problem on less forgiving drivers, sorry. 2016-11-05 06:08:49 +01:00
LunaMoo
c7e2d1b7c7 Make 4xHQ look good without tweaking. 2016-10-18 10:38:23 +02:00
LunaMoo
9543250863 Add new postshader setting "upscaling" 2015-10-14 18:32:13 +02:00
LunaMoo
23cfdd8110 Add 5xBR and scaling to existing 4xHQ 2015-10-03 07:20:08 +02:00
Henrik Rydgård
462c261e31 One more fix in crt.fs 2014-04-22 09:12:18 +02:00
raven02
3bd9449c77 Fix CRT shader 2014-04-22 14:57:50 +08:00
Henrik Rydgard
20d4c34ff5 Add KillaMaakis CRT post shader 2013-12-11 09:37:05 +01:00
Henrik Rydgard
7eaec209d3 Set alpha to 1.0 in all the post shaders. Not that it should be required, but definitely recommended. 2013-12-04 15:38:38 +01:00
danyalzia
0bf06010bc Fix a stupid bug in bloom 2013-10-31 21:30:24 +05:00
Henrik Rydgard
b9c908ba3f Update post-processing shaders to work again after removing u_viewproj.
Initialize some uninitialized variables.
2013-10-31 00:07:55 +01:00
danyalzia
950c961dbc Shader Improvements and cleanup
Added sharpen shader

Added support for bloom and sharpen shader

cleanup

cleanup
2013-10-30 00:33:21 +05:00
danyalzia
6947261488 Slightly improves scanlines 2013-10-28 20:01:38 +05:00
Henrik Rydgard
3a787f46a5 Hide shaders we can't run on GLES2 2013-10-23 22:58:21 +02:00
danyalzia
11dd3250f1 Add a Better name for scanlines shader 2013-10-22 21:36:23 +05:00
danyalzia
125c4a8ec2 Improves scanlines fragment shader 2013-10-22 21:18:53 +05:00
Henrik Rydgard
bf59f3db73 Add ugly hack setting for PowerVR to disable alpha test
Causes glitches but the speedup is truly massive in some games so I relent :/

Please do not report graphics bugs when this is enabled...

Future: Maybe remove this setting except on PowerVR?
2013-10-22 13:00:19 +02:00
Henrik Rydgard
7d8aed096a Add proper support for upscaling shaders, add Spline36 upscaling
Spline36 isn't as amazing as I had hoped heh. And it will need work to
work in GLSL ES. Anyway...

This also renames u_texcoordDelta to u_texelDelta to fit in with u_pixelDelta.
2013-10-22 12:18:49 +02:00
Unknown W. Brackets
7c8a6c88d6 Be more specific about type in the scanline shader.
Man, so picky.  May improve #4188.
2013-10-14 16:11:42 -07:00
danyalzia
90c8cba39e Update scanlines.fsh 2013-10-15 02:46:28 +05:00
danyalzia
2f95aef77c Fix Scanlines for Android 2013-10-15 02:43:19 +05:00
danyalzia
3c3178e4a0 Fix AA-Color for Android 2013-10-15 02:40:00 +05:00
danyalzia
d45049e7b5 Update defaultshaders.ini
Update natural.fsh

Create 4xhqglsl.vsh

Update 4xhqglsl.vsh

Create 4xhqglsl.fsh

Create aacolor.vsh

Create aacolor.fsh

Update cartoon.vsh

Update cartoon.fsh

Update cartoon.fsh

Update cartoon.fsh

Update and rename Scanlines.fsh to scanlines.fsh

Update aacolor.fsh

Update 4xhqglsl.vsh

Update aacolor.vsh

Update cartoon.vsh
2013-10-14 21:22:33 +05:00
Henrik Rydgard
5b9bfd32f7 Minor shader cleanup, fix a build error (see #4160) 2013-10-13 18:45:16 +02:00