James R
90196d8913
debugrender_freezebsp: freeze culling to your current position, so you can see how much level is being rendered
2024-12-30 00:16:57 -05:00
James R
23cb7b7fa1
Let debugfinishline highlight Respawn Lines too
...
- Finish Lines now render with black & yellow instead of
red & white
- Respawn Lines render with red & white
2024-12-28 08:00:46 -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
47f21b1402
debugrender_visplanes: highlight borders of visplanes
2024-12-27 11:55:07 -05:00
James R
637fe772f4
Add debugrender_portal command
...
- Fills portals with red
- Draws portals over planes and masked
2024-12-27 11:53:22 -05:00
James R
0f3a8f669b
Add cv_debugrender_spriteclip, toggle sprite clipping
...
This cvar can be used to reveal which sprites are
technically drawn but clipped completely by level
geometry.
2024-12-27 11:52:46 -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