Status bar, black space.

Report bugs in this thread. Please
1) Have a copy of your DEBUG.TXT or EDGE.LOG and attach to post.
2) Screenshots or examples do help -- steps to recreate the bug are very encouraged.

Sourceforge Bug Tracker #1
Sourceforge Bug Tracker #2
Github issues tracker
Post Reply
User avatar
Lobo
Posts: 97
Joined: Sat Aug 08, 2020 2:24 am
Contact:

Status bar, black space.

Post by Lobo »

If you use a status bar and you reduce the game world accordingly (hud.render_world(0, 0, 320, 200 - 32) you get this, notice the black border at the top.
5u6upMOh.jpg
5u6upMOh.jpg (40.69 KiB) Viewed 4335 times
The workaround for 1.35 was to do this: hud.render_world(0, -32, 320, 200) but in 2.x it only works if you also use -norenderbuffers

User avatar
Corbachu
Site Admin
Posts: 778
Joined: Fri Jun 08, 2012 11:22 am
Gender:
Contact:

Re: Status bar, black space.

Post by Corbachu »

This is indeed a side effect with post processing, specifically the Lens Distortion shader or something like perspective correction... (if I’m thinking of the right ones... haven’t slept in 2 days). Or it might be “r_stretchworld” or something along those lines.

I’m going to implement a simple clear to alpha for the HUD_Render status bar element so the hard-coded letterboxing won’t interfere with the née shader code, but it’ll retain the same behaviour otherwise.
\(סּںסּَ` )/ۜ

Return to “Bug Reports”