Commit graph

1797 commits

Author SHA1 Message Date
yamamama
7817062ead Append Saturn's color profile system, rename gamma to brightness 2026-02-18 06:09:53 -05:00
yamamama
d5ca5516de Split Classic and Alt. Invincibility
- It's what the people want, why bother to complain?
- Alt is now its own separate item titled the S-Monitor
- Several variables, macros, functions, and comments have been renamed to fit this change
2026-02-16 18:40:48 -05:00
minenice55
dadbdfe5a3 ce n'est pas si simple 2026-02-12 21:00:18 -05:00
NepDisk
277131a5a3 Rename SRB2SDL to BLANKART 2026-02-11 22:44:28 -05:00
Alug
018ba7be55 HWR_CreateBlendedTexture: init a bunch of stuff 2026-02-09 17:46:04 -05:00
Alug
f36e166796 add "vid.udup" same as vid.dup but not scaled with "highreshudscale" 2026-02-08 11:29:17 -05:00
NepDisk
14bf52af43 Combine vid.dupx and vid.dupy 2026-02-08 11:25:09 -05:00
NepDisk
60a19aaf61 Various openGL vhs effect changes
Thanks Alug!
2026-02-08 10:18:56 -05:00
NepDisk
1750ed1863 Update gld_FrustumAngle 2026-02-08 10:02:08 -05:00
NepDisk
4c20e919c3 Update header headers 2026-02-03 18:19:30 -05:00
NepDisk
75483f92e8 Kill off most of HWRAPI
Based on 25f1e504c9
2026-02-03 18:15:51 -05:00
NepDisk
03b26a0723 Always reload texture arrays on renderer switch and bring back ingame renderer hotswapping
All this texture load blocking var does is cause issues due to order of operations and what not. Lets just kill it.

Thanks Alug for looking at this stuff for me!
2026-01-31 12:00:49 -05:00
NepDisk
70699740cc This is beyond dumb but what can you do.
Please remove this crap when we multithread netupdate please...
2026-01-29 23:07:08 -05:00
NepDisk
48fb58d4fb Port player fading from saturn and fix up RR GL renderer nonsense
Thanks so much to Alug for helping me fix this!
2026-01-24 15:07:45 -05:00
NepDisk
bd6b529b01 Global init
these were found by alug
2026-01-17 02:04:31 -05:00
Alug
67d2a0ae90 HWR_ProcessSeg: port softwares code to skip rendering inner sides that are "joined" to other fofs
This seems to improve performance on maps with moderate to lots of fofs quite a bit.
On maps with only a few fofs, this makes no difference or has very very little regression
Need to test and check if there are any visual errors, but so far everything seems good
2026-01-17 01:40:18 -05:00
GenericHeroGuy
3d942226a5 Update hashes, fix floating item spriteroll 2026-01-03 00:48:23 +01:00
GenericHeroGuy
bcef031c85 WIP affine patch drawing
will probably invert the matrix
2025-12-31 15:40:35 +01:00
GenericHeroGuy
bcd446709c Fix exploding ring shadows in PWR Retro Maze
(note that the software renderer skips shadows with negative scale too, just
another example of anomalies caused by duplicating the entire backend)
2025-12-29 15:37:55 +01:00
Sally Coolatta
62fbaf19c9 Use old faster luminance calc for HWR blends
Not accurate to Software's look but can't be assed to fuck around with legacy HWR to implement this as shader.
2025-12-28 17:18:23 -05:00
NepDisk
7249273ca3 Revert "Kill Alt. Invin."
This reverts commit f414006e66.
2025-12-22 20:23:45 -05:00
yamamama
f414006e66 Kill Alt. Invin. 2025-12-22 20:05:13 -05:00
Alug
05bd3fb222 Fix a crash in HWR_DrawPrecipitationSprite
After a renderer switch midgame or addons being loaded, the Precip mo´s hardware patch might have been freed

call HWR_GetMappedPatch before dereferencing the hardware patch as it will ensure we always have a valid hardware patch
2025-12-16 17:35:21 +01:00
spherallic
2fcb7270f4 Fix -opengl parameter crash 2025-12-16 00:38:26 +01:00
chromaticpipe
ef3ff88f14 Fix hitboxes being washed out with Palette Rendering 2025-12-15 23:28:49 +01:00
Alug
5bb15bc4ef Fix Model Shader 2025-12-15 23:13:55 +01:00
Alug
4ed4d014a5 Fix wall/floor fudges being unused for shader colourmap calc 2025-12-15 23:13:21 +01:00
Alug
c5fca8472a Restore old colourmap algo stuff for shader fade equation 2025-12-15 22:55:21 +01:00
Alug
68fbf19e27 Fix custom mappalettes not applying to the screen palette
Fixes RB Raceway
2025-12-15 22:40:53 +01:00
Alug
6b81279e33 Revert "Merge pull request 'Revert Pal Render for fixing' (#199) from revertpalfornow into next"
This reverts commit 68dc60eea2, reversing
changes made to e4ce835acb.
2025-12-15 22:25:50 +01:00
NepDisk
4201174519 Revert "Port palette rendering from SRB2"
This reverts commit 5b7699b29a.
2025-12-14 23:38:50 -05:00
NepDisk
6e71c6dd04 Revert "Fix 2.1 palette conversion system issues with GL pal render"
This reverts commit 7bf9975547.
2025-12-14 23:36:44 -05:00
NepDisk
719a7b767e Revert "Clean up 2.1 pal conversion code a lil bit in palshader"
This reverts commit 7a5d5c7a80.
2025-12-14 23:36:35 -05:00
NepDisk
24ffd5d8a2 Revert "make brightmaps "work" in palrender"
This reverts commit 041fb80a7f.
2025-12-14 23:36:06 -05:00
NepDisk
670a69b648 Revert "water too ig"
This reverts commit 25fc6232ef.
2025-12-14 23:35:45 -05:00
NepDisk
4fdd149e8a Revert "move this"
This reverts commit 7b5bdc3ef3.
2025-12-14 23:35:37 -05:00
NepDisk
98adb92002 Revert "fix the shader order"
This reverts commit 038184270e.
2025-12-14 23:35:29 -05:00
NepDisk
7ce6a80fa1 Revert "Shift the lightlevel for Palette rendering mode to replicate software´s limited 32 lightlevels"
This reverts commit b4e751de47.
2025-12-14 23:34:32 -05:00
NepDisk
a57e61823d Revert "Unhack Brightmap handling for Palette Rendering"
This reverts commit fea8fe2505.
2025-12-14 23:34:26 -05:00
GenericHeroGuy
bcb0eb95cc More fastcmp cleanup 2025-12-11 21:58:37 +01:00
NepDisk
6d6cb09280 Convert most strcmp/stricmp to fastcmp/fasticmp 2025-12-11 13:00:32 -05:00
NepDisk
09bfc6506a Update shadow code
Thing brings over scale based on object height and interp amoung other things.
2025-12-07 20:37:07 -05:00
Zwip-Zwap Zapony
9a8b5b37bc Interpolate radius/height when scaling mobjs 2025-12-07 19:27:22 -05:00
NepDisk
c6167030f0 Show shadow patch cache message in software 2025-12-07 17:32:01 -05:00
Alug
fea8fe2505 Unhack Brightmap handling for Palette Rendering
Turns out the Issue was just both the palette and lighttable textures were already bound to the texture unit the brightmap will be bound to, which led the shader to just try get the brightmap data from the lighttable texture instead of the brightmap texture
2025-12-07 00:43:49 +01:00
NepDisk
b4e751de47 Shift the lightlevel for Palette rendering mode to replicate software´s limited 32 lightlevels
Thanks Alug for the suggestion
2025-12-06 13:04:13 -05:00
Alug
038184270e fix the shader order
oops
2025-12-06 12:52:30 -05:00
Alug
7b5bdc3ef3 move this 2025-12-06 12:51:11 -05:00
Alug
25fc6232ef water too ig 2025-12-06 12:49:57 -05:00
Alug
041fb80a7f make brightmaps "work" in palrender
this is fucking terrible but it somewhat works
2025-12-06 12:48:28 -05:00