Commit graph

10 commits

Author SHA1 Message Date
James R
d062173bfc TERRAIN: add 'remap' boolean, toggles ENCOREMAP/TWEAKMAP
- Software* + OpenGL support
- *Not supported: R_DrawColumnShadowed_8
  - This has something to do with walls and FOF lights.
    However, I don't see an easy code solution and I don't
    know how to even test this.
2024-12-29 14:31:53 -05:00
NepDisk
4fd99ef3ff Multithreaded Software rendering 2024-12-29 14:14:28 -05:00
NepDisk
b7b9fdabae Fix transparency issues 2024-12-28 09:03:39 -05:00
NepDisk
3b0e62e495 Clean up R_RenderMaskedSegLoop 2024-12-28 08:41:56 -05:00
James R
76aa677901 debugfinishline: highlight deathpits and instakill planes 2024-12-28 08:03:14 -05:00
James R
312c4234b0 Add specialized drawing loop for debugfinishline
- Cache DBGLINE texture
- Draw this texture at horizon (player's eye level)
- Draw this texture at max brightness
- Do not slope skew this texture
- Use R_DrawColumn_Flat_8 to colorize the this texture
2024-12-28 07:58:41 -05:00
James R
92ca47e9c5 Add debugfinishline, highlight finish line linedefs and black fill solid walls
- Highlight is drawn across the screen at the horizon
  (player's eye level).
- Highlight alternates between red and white for 35 tics
  each.
2024-12-28 07:53:45 -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
James R
23b03f6ea2 Convert r_segs.c to r_segs.cpp 2024-12-26 08:46:21 -05:00
Renamed from src/r_segs.c (Browse further)