Commit graph

24 commits

Author SHA1 Message Date
NepDisk
ea2677b3d4 Warning cleanup 2025-06-01 09:35:41 -04:00
NepDisk
6874f7ca70 Fix brightmap overlays being drawn instead of regular texture: 2025-05-25 00:48:25 -04:00
NepDisk
c7cbc27efb completly borked remove flats port
Completey fucked color and brightmap handling for floors.
2025-05-24 23:41:33 -04:00
NepDisk
ed7b667aa7 Update File headers to use BLANKART 2025-04-19 13:33:28 -04:00
NepDisk
0e79925607 [PATCH] Convert kart renderer related changes to use mapnamespace system instead of UDMF
Thanks Alug!
2025-04-02 16:04:54 -04:00
NepDisk
b9196f921d Use separate table for maskedtexturecol 2025-02-10 17:54:40 -05:00
Alug
ce693aa912 dont use portals for skyboxes on binary maps
resolves alot of performance issues on some maps
2024-12-30 20:30:14 +01:00
NepDisk
c9fd66be7f Fix startcolor 2024-12-30 13:22:48 -05:00
NepDisk
1f2de36907 Revert "Sky offsets"
This reverts commit bf9e2cf6a6.
2024-12-30 13:16:29 -05:00
NepDisk
57c4cc6df1 Use some rendering code from durrr 2024-12-30 13:10:51 -05:00
Oni
e293e0bc78 Merge branch 'clamp-sprite-column' into 'master'
Always clamp texturecolumn in sprite draw

See merge request KartKrew/Kart!1527
2024-12-30 10:20:46 -05:00
Eidolon
df0d49f89a Tracy instrument software BSP traversal and render 2024-12-30 00:23:34 -05:00
Sal
bf9e2cf6a6 Sky offsets
Both X and Y offsets work on sky textures now. Old incorrect offset has been removed, so old skies lined up with the horizon special should be set to +16 Y offset.
2024-12-29 16:39:32 -05:00
Eidolon
b73d71abc9 Fix parallel slope plane calculations 2024-12-29 16:37:20 -05:00
James R
86b8757aee devmode render: display skybox portal, visplane and drawseg counts on HUD
- Skybox portal count moved from console print to HUD
- Displays visplane count and drawseg count
2024-12-29 16:10:12 -05:00
Oni
ac2b3651ae Merge branch 'fix-column-fix' into 'master'
R_DrawColumn_Template: fix non-po2 column drawing

Closes #1033

See merge request KartKrew/Kart!1913
2024-12-29 15:58:35 -05:00
Oni
5c48744842 Merge branch 'templated-drawing' into 'master'
Use C++ templates for DrawColumn/Span

See merge request KartKrew/Kart!1728
2024-12-29 15:56:33 -05:00
Sally Coolatta
397f79fcbf Use C++ templates for DrawColumn/Span
Two reasons:
- Makes it more straight-forward to add brightmaps to the non-power-of-two rendering functions.
- Made it easier to split off brightmap rendering. Hopefully improves performance, but I haven't thoroughly tested this.
2024-12-29 15:19:24 -05:00
James R.
08e1dd870e Merge branch 'fix-map-plane-crash' into 'master'
Fix some R_MapPlane crashes in splitscreen; debugrender_visplanes and debugrender_portal; some multithreading crashes

Closes #1032 and #1021

See merge request KartKrew/Kart!1997
2024-12-29 14:15:32 -05:00
NepDisk
4fd99ef3ff Multithreaded Software rendering 2024-12-29 14:14:28 -05:00
James R
76aa677901 debugfinishline: highlight deathpits and instakill planes 2024-12-28 08:03:14 -05:00
James R
179608829b Add the debugrender_highlight command, highlight specific rendering in flat colors
Software mode only.

The command is used like this:

debugrender_highlight planes sprites
debugrender_highlight pl spr
debugrender_highlight none

(Abbreviations work.)

Supported rendering to flag:

planes      - sector floor/ceiling
fofplanes   - FOF top/bottom
fofsides    - FOF sides
midtextures - pegged midtexture
walls       - sector upper/lower texture, one-sided linedefs
sprites     - sprites
sky         - skybox
2024-12-27 11:52:16 -05:00
James R
54d99f59bc Add cv_debugrender_contrast, adjusts contrast of level geometry
debugrender_contrast -1.0 to 1.0, default 0.0 (no change).
Higher values add more contrast (darkens the level), lower
values add less (brighten). Does not affect thing drawing.
Software mode only.

Adds r_debug.cpp
2024-12-27 11:48:49 -05:00
Eidolon
b4f9fcb37b r_plane.c -> r_plane.cpp 2024-12-26 08:20:36 -05:00
Renamed from src/r_plane.c (Browse further)