Commit graph

1532 commits

Author SHA1 Message Date
Hyllian 89dfd9bbd0
Add Geom shader (#605)
- A modified CRT-Geom without CRT features made to be appended/integrated into any other shaders and provide curvature/warping/oversampling features.
2024-06-22 08:11:10 -05:00
fishcu 693c632bdd
Add ray traced curvature shader (#604)
* Ray-sphere intersection

* Implement spherical mapping with AA; Found mip-mapping bug

* Implement screen tilt

* Implement camera offset with tilt

* Clean up code a bit

* Implement perfect zoom; tweak params

* Add zero curvature

* Implement rounded corner

* Add aspect ratio forcing; Add bilinear filtering compile time switch

* Make rounded corner AA more generous

* Implement cylinder shape

* Implement ortho view

* Implement proper trilinear filtering

* Add LOD bias option

* Better sampling

* Initial cleanup

* Apply simplification that curvature_o = 0

* Compress code; Replace shape branching with multiplication

* Move stuff to the vert shader

* Inline update_frustum; Simplify cyl_ax = plane_v

* Separate out vertex shader

* Separate out ray tracing part of frag shader

* Make hq preset default

* Rename to rt curvature; Fix curv = 0 bug

* Fix rotated games; Finalize simplifications and comments

* Move to CRT folder; Add append preset

* Longer comment

* Add additional runtime switch for reducing aliasing when appending
2024-06-14 17:48:23 -05:00
metallic77 e5b20b1422
add licences (#603)
* Update crt-consumer.slang

* Update crt-pocket.slang
2024-06-14 08:27:40 -05:00
hunterk 573b339c98
add safe-120 BFI shaders and update motion interpolation for 120 FPS (#599)
* add safe-120 BFI shaders and update motion interpolation for 120 FPS

* revert motion-inteprolation changes

* delete accidentally added files
2024-06-03 18:54:18 -05:00
hizzlekizzle ecdbd7b271
Merge pull request #602 from Hyllian/master
Add mixed-res preset hooks
2024-06-03 18:46:03 -05:00
Hyllian 44de01372b Add mixed-res preset hooks
- These prepend and append preset hooks can be used with almost any crt shaders. Instructions on how to use in readme.md.
- Enable downsampling with almost any shader.
2024-06-03 18:35:48 -03:00
hizzlekizzle 1265cf159d
Merge pull request #601 from Hyllian/master
Add mixed-res-crt-hyllian preset
2024-06-02 15:19:53 -05:00
Hyllian d967185915 Add mixed-res-crt-hyllian preset
- Only 4x version for now;
- Curvature is broken in this preset. It'll be fixed in future updates.
2024-06-01 13:41:35 -03:00
hizzlekizzle 407a457294
Merge pull request #600 from Hyllian/master
Update mixed-res shaders
2024-05-28 14:05:17 -05:00
Hyllian 8583cfee2a Update mixed-res shaders
- Support to anti-aliasing added;
- Speed optimizations;
- Bilateral added to increase IQ.
2024-05-28 15:11:02 -03:00
Antonio Orefice 6cb93ce1be
koko-aio hotfix4 (#597)
* koko-aio hotfix4

* Fix inflation for tate, take 2
2024-05-23 14:38:23 -05:00
hizzlekizzle 6e3cc4c119
Merge pull request #598 from keylimesoda/patch-1
Update curvature.h
2024-05-23 14:34:52 -05:00
Ric Lewis 36c6c7bf78
Update curvature.h
Fixed a type in line 108.  Was calling max_scale(), should be calling maxscale()
2024-05-23 12:33:21 -07:00
Antonio Orefice 56d13de9b8
Sync to koko-aio 1.9.20-hotfix3 (#596)
* there were an undefined function, fixed

* fixed name

* Sync to 1.9.20-hotfix1 and removed a bunch of unused files

* Sync to koko-aio 1.9.20-hotfix2

* resync

* Sync to koko-aio 1.9.20-hotfix3
2024-05-22 20:35:55 -05:00
Antonio Orefice 9c930380c5
fixed undefined function in warp_koko() (#593)
* there were an undefined function, fixed

* fixed name
2024-05-19 08:35:43 -05:00
hizzlekizzle 8bdee83e38
Merge pull request #594 from Hyllian/master
Update mixed-res shaders.
2024-05-19 08:33:19 -05:00
Hyllian 37cce2aa74 Update mixed-res shaders.
- Now using bilateral to get rid of compression noise. IQ is more pleasing.
2024-05-19 10:30:11 -03:00
hizzlekizzle ba6f00b5c5
Merge pull request #592 from HyperspaceMadness/master
V1.17.2_2024-05-18
2024-05-18 20:33:46 -05:00
HyperspaceMadness e931b7a102 Mega Bezel V1.17.2_2024-05-18
Update of Mega Bezel with fixed paths and removed failing wildcard testers.
Added an additional independent DREZ preset
2024-05-18 19:21:48 -04:00
hizzlekizzle 7b4baaa11c
Merge pull request #591 from Hyllian/master
Add deblur-luma shaders
2024-05-18 16:36:47 -05:00
Hyllian ed50f0475c Add deblur-luma shaders
- A faster deblur using luma instead color channels to calc contrast;
- Added a preset for deblur too;
- Small fix to deblur shader.
2024-05-18 12:46:10 -03:00
hizzlekizzle 99d1bfe3bf
Merge pull request #590 from kokoko3k/master
sync to koko-aio 1.9.20
2024-05-17 21:39:55 -05:00
Antonio Orefice 0a741ee7a2 sync to koko-aio 1.9.20 2024-05-16 17:37:58 +02:00
hizzlekizzle 8724e92bd3
Merge pull request #589 from Hyllian/master
Add bilateral-2p shaders
2024-05-16 08:59:38 -05:00
Hyllian 879dcd27fe Add bilateral-2p shaders
- Fast bilateral shaders in 2-pass from guest.r.
2024-05-15 13:37:59 -03:00
hizzlekizzle 5fbd610582
Merge pull request #588 from Hyllian/master
Add bilateral shader from guest.r
2024-05-13 13:06:06 -05:00
Hyllian d5a089f770 Add bilateral shader from guest.r
- A flexible and fast bilateral shader from guest.r.
2024-05-13 11:39:57 -03:00
hizzlekizzle 4968a52943
fix NSO-gbc-color.slang 2024-05-09 09:49:36 -05:00
hizzlekizzle 7fc92d726a
Merge pull request #587 from Hyllian/master
Add crt-royale-downsample preset and LUTs
2024-05-05 22:46:03 -05:00
Hyllian 97c7ed71ca Add crt-royale-downsample preset and LUTs
- Added 2 LUTs: grade-rgb and grade-composite.
- Added crt-royale-preset is resolution internal agnostic, so it'll work with 2x, 3x, 4x and so on. Just use internal res above 1x.
2024-05-05 16:12:55 -03:00
hizzlekizzle 699402877c
Merge pull request #586 from Hyllian/master
Update super-xbr and mixed-res shaders
2024-05-03 22:40:19 -05:00
Hyllian 729ab17673 Update super-xbr and mixed-res shaders
- Super-xbr go back to gamma color, as I think it looks better;
- Some parameters tweaked;
- New mixed-res presets.
2024-05-03 12:39:32 -03:00
fishcu 3378d01600
Fishcu/pixel aa xform (#585)
* Upstream optimizations from GLSL; split out vert shader

* Revert splitting of pix aa vert shader; Implement xform variant
2024-05-01 19:00:04 -05:00
hizzlekizzle f047ae72aa
Merge pull request #584 from Hyllian/master
Update dilation shader
2024-05-01 10:24:12 -05:00
Hyllian 096f95adc6 Update dilation shader
- Added a param to control better dilation. So, now it's a soft dilation.
2024-05-01 11:39:38 -03:00
hizzlekizzle 7aff4e6ccd
Merge pull request #583 from fishcu/fishcu/rename-includes-to-inc
Rename files that are included but no proper shader on their own to .inc
2024-04-29 16:28:19 -05:00
fishku 31caee64df Rename files that are included but no proper shader on their own to .inc 2024-04-29 22:59:57 +02:00
fishcu 0eb12c628d
Fishcu/authentic gbc (#582)
* First working version

* Add overbright feature; Clean up code

* Consistent precision

* Rename included files; Separate out vert shader as utility function
2024-04-29 13:48:41 -05:00
hizzlekizzle 67a1ee78e0
Merge pull request #581 from Hyllian/master
Update film-grain.slang
2024-04-27 09:38:57 -05:00
Hyllian c562d89ec8 Update film-grain.slang
Some code optimizations.
2024-04-27 11:10:27 -03:00
hizzlekizzle 4de1678515
Merge pull request #580 from Hyllian/master
Add film-grain shader
2024-04-26 11:40:57 -05:00
Hyllian 96713a17fb Add film-grain shader
- Nice film-grain shader.
2024-04-26 09:19:32 -03:00
hizzlekizzle e77c37fe54
Merge pull request #579 from kokoko3k/master
Add autocrop-koko shader
2024-04-22 08:15:04 -05:00
Antonio Orefice d49bab8d0c Add autocrop-koko shader 2024-04-22 10:44:25 +02:00
hizzlekizzle ca2c0223c5
Merge pull request #578 from Hyllian/master
Add crt-royale-smooth preset
2024-04-19 11:50:41 -05:00
Hyllian 71d3618ba3 Add crt-royale-smooth preset
- Added to presets folder;
- A very good smoothed crt combining royale with scalefx and b-spline.
2024-04-19 09:03:45 -03:00
hizzlekizzle 2f8af209bc
Merge pull request #577 from Hyllian/master
Add n64 3-point and relief shaders
2024-04-17 14:24:01 -05:00
Hyllian 40f5d882c8 Add n64 3-point and relief shaders
- Known N64 3-point texture filter, now in slang;
- Relief shader. Gives some bump to pixel art games.
2024-04-17 15:11:12 -03:00
hizzlekizzle 7984c9953a
Merge pull request #576 from Hyllian/master
Add lanczos2-5-taps
2024-04-15 20:28:33 -05:00
Hyllian 594d9a2fc3 Add lanczos2-5-taps
- Add lanczos2 using just 5 texture lookups.
2024-04-15 18:52:50 -03:00