Commit graph

2317 commits

Author SHA1 Message Date
Paris Oplopoios
af552edd9d
Remove dependency of PICA regs in fragment config ()
Remove dependency of PICA regs in fragment config

Nyom

Nyom part 2

Nyom 3: The final nyom

Nyom 4: The nyomening

Nyom 5: The final Nyom for real
2024-07-20 02:37:49 +03:00
wheremyfoodat
dec3df39e0
Merge pull request from wheremyfoodat/crypto2
AES: Fix fixed crypto key mode and CTR for versions 0 and 2
2024-07-19 22:09:29 +00:00
wheremyfoodat
270f4b00a9 AES: Fix fixed crypto key mode and CTR for versions 0 and 2 2024-07-20 01:01:15 +03:00
wheremyfoodat
eb7e02fbc2 Shadergen: Remove redundant whitespace generation 2024-07-19 18:20:21 +03:00
offtkp
20335b7d2d Update gles.patch 2024-07-19 18:06:40 +03:00
wheremyfoodat
9415cee59a Enable shadergen by default for now 2024-07-19 18:02:42 +03:00
offtkp
e4550b3e4f Fix pokedex3d on specialized shaders 2024-07-19 15:55:02 +03:00
wheremyfoodat
5c1e2912a3 Shadergen: Minimize shader compilation time by caching the default VS 2024-07-19 14:35:01 +03:00
wheremyfoodat
ac55c3e324 Shadergen: Fix small register decoding oopsie 2024-07-19 03:01:12 +03:00
offtkp
25098082c7 Use lutID instead of lutIndex 2024-07-19 02:45:09 +03:00
wheremyfoodat
90abf8a376 Fix signedness mess-ups in shaders 2024-07-19 01:31:04 +03:00
offtkp
e36b6c77a7 Fix lugi and toad treasure tracker in ubershader
Co-authored-by: wheremyfoodat <4909372+wheremyfoodat@users.noreply.github.com>
2024-07-19 00:09:35 +03:00
wheremyfoodat
53c76ae0d4 Shadergen: Fix spotlight 2024-07-18 23:57:43 +03:00
wheremyfoodat
bd38f9a8ab Shadergen: Add spotlight 2024-07-18 23:34:23 +03:00
wheremyfoodat
93e5f8e32c Merge branch 'master' into specialized-shaders-2 2024-07-18 23:01:37 +03:00
wheremyfoodat
2f50038db9 Shadergen: Lighting almost 100% working 2024-07-18 22:56:05 +03:00
wheremyfoodat
b4ae32960c Moar lighting 2024-07-18 20:10:20 +03:00
wheremyfoodat
c9a4e4e41e Merge branch 'specialized-shaders-2' of https://github.com/wheremyfoodat/Panda3DS into specialized-shaders-2 2024-07-18 19:27:41 +03:00
wheremyfoodat
00037d8a5e Shadergen: Start implementing lighting 2024-07-18 19:27:12 +03:00
Paris Oplopoios
6279ce3df2
Move comments to docs, sign extend stuff for Android ()
* Move documentation, sign extend spot dir

* Update gles.patch

* Fix compilation errors

* Update gles.patch
2024-07-18 04:54:28 +03:00
wheremyfoodat
e1268f57b5 Shadergen: Fix attribute declarations 2024-07-18 04:23:00 +03:00
wheremyfoodat
cab30494f6
Merge pull request from OFFTKP/pandra
Improve lighting
2024-07-18 00:38:55 +00:00
wheremyfoodat
7e480e35ec Shadergen: Upload light uniforms 2024-07-18 03:37:11 +03:00
wheremyfoodat
ccf9693877 Shadergen: More lighting work 2024-07-18 02:57:41 +03:00
offtkp
b51e2fd25f Update gles.patch 2024-07-18 02:53:54 +03:00
offtkp
7e7856fa44 Pack sampler configurations in bitfields instead of bool arrays 2024-07-18 02:51:44 +03:00
wheremyfoodat
ed00ddc805 Improve lighting register definitions 2024-07-18 00:55:57 +03:00
offtkp
2ca886f64f Move normal calculation to the fragment shader 2024-07-17 22:08:48 +03:00
wheremyfoodat
801d14e463
Shadergen: Fix UBO uploads and optimize shader caching ()
* Hotfix UBO binding

* Shadergen: Optimize caching

* Shadergen: Remove trailing newlines
2024-07-17 21:56:57 +03:00
wheremyfoodat
0fc95ae8ef Shadergen: Remove trailing newlines 2024-07-17 21:54:56 +03:00
wheremyfoodat
d013582223 Shadergen: Optimize caching 2024-07-17 21:53:19 +03:00
wheremyfoodat
cb0e69847c Hotfix UBO binding 2024-07-17 21:17:54 +03:00
wheremyfoodat
6bef278f43
Merge pull request from wheremyfoodat/specialized-shaders-2
WIP fragment pipeline GLSL recompiler
2024-07-16 23:54:28 +00:00
wheremyfoodat
aad7bb817e Add setting for ubershaders 2024-07-17 02:25:38 +03:00
wheremyfoodat
a4ec770587 Add UBO/BlendEquation/BlendFunc to GL state manager 2024-07-17 01:32:55 +03:00
wheremyfoodat
219a560cbe Merge branch 'master' into specialized-shaders-2 2024-07-17 00:10:09 +03:00
wheremyfoodat
27ddb1272a
Fix CI artifacts 2024-07-16 23:39:48 +03:00
wheremyfoodat
71b8031d5b
Merge pull request from wheremyfoodat/accurate-mul
Add accurate shader multiplication option
2024-07-16 19:46:12 +00:00
wheremyfoodat
967d9398ce
Fix arm64 build 2024-07-16 22:28:20 +03:00
wheremyfoodat
0ecdf00e64 Add accurate shader multiplication option 2024-07-16 22:14:01 +03:00
offtkp
8b4eacc7b6 More luigi mansion fixes 2024-07-16 20:32:35 +03:00
offtkp
139f35588d Switch to shifts in some places instead of multiplication 2024-07-16 16:23:42 +03:00
offtkp
e5bed23cee Fix Luigi's flashlight in Luigi's Mansion 2024-07-16 15:50:18 +03:00
wheremyfoodat
441aa2346c Shadergen: Add clipping 2024-07-16 02:20:37 +03:00
wheremyfoodat
c02b382262 Perform alpha test with integers instead of floats 2024-07-16 00:58:52 +03:00
offtkp
f6ebf83982 Update gles.patch 2024-07-16 00:18:53 +03:00
offtkp
9b4e5841e7 Summary of the current state of lighting
fragment_light.elf: works
toon_shading.elf: works
Cave story 3d: no longer too dark, but the intro has a bug
Rabbids: positional lighting fixes, looks better
Mario 3d land: ground is not too bright, mario is not yellow
Kirby triple deluxe: Kirby is not shining like before
Luigis mansion: better but luigi lighting is way off and spotlight sometimes turns off
Captain Toad: bit better, still too bright
Omega ruby: looks fine to me
Pokemon Super Mystery Dungeon: looks fine to me
Lego batman: didn't try but should work?
2024-07-15 23:34:55 +03:00
wheremyfoodat
db80131213 Shadergen: Previous buffer should be able to be set even for passthrough TEV stages 2024-07-15 18:27:22 +03:00
wheremyfoodat
b8a186d5cd Shadergen: Fix add-multiply 2024-07-15 16:34:33 +03:00
wheremyfoodat
a2649ffb76 Simplify TEV code 2024-07-15 15:38:15 +03:00