Page 1 of 2
[FIXED] Colormapped sector issue
Posted: Mon Aug 10, 2020 7:40 am
by Lobo
Came across this while trying my Robotech TC: the sector is too dark, even if I up the light levels on the sector and the dummy sector. Can't figure out why.
EDGE (x64) 2.1.0pre-96: Note that I fired a gun to just to get some light for the screenshot. It's pitchblack.

- shot11.jpg (29.79 KiB) Viewed 34247 times
Edge 1.35:

- shot21.jpg (36.45 KiB) Viewed 34247 times
Also, note the HUD status bars: in EDGE 1.35 they are filled with a gradient box, but in 2.1 they are not filled for some reason.
Update: Just added a demo wad using a bog standard EDGE sector special (Green Hue):
Re: Colormapped sector issue
Posted: Mon Aug 10, 2020 8:25 am
by Corbachu
Does this happen with both GL paths? Also what’s the sector type?
I know the renderer rewrite is probably some source of the problems we are encountering. I’ll take a look at GradientBox, or shelve the rewrite and move back to the stable branch until we get things sorted with that. I’ll drop a new build and see if you still encounter problems.
Re: Colormapped sector issue
Posted: Mon Aug 10, 2020 9:53 am
by Lobo
What do you mean by "both gl paths"?
The sector type is custom, but it's basically a copy paste of the normal EDGE water one.
Also, just tried in EDGE (x86) 2.1.0pre-43 and it has the same problem.
Re: Colormapped sector issue
Posted: Mon Aug 10, 2020 1:59 pm
by Lobo
The MD2 bug post has an attached wad which shows this bug also.
Re: Colormapped sector issue
Posted: Mon Aug 10, 2020 7:07 pm
by Corbachu
Issue is partly fixed
@e784f9c, but I'll have to figure out why the sectors are darker now than they once were.
Re: Colormapped sector issue
Posted: Mon Aug 10, 2020 7:31 pm
by Corbachu
Issue has been fixed
@2dd7477.
Re: Colormapped sector issue
Posted: Mon Aug 10, 2020 11:21 pm
by Lobo
Looks the same to me, in the new pre110 build.
Also, in pre96, I already had r_gl3_path and set it to '0' apparently.
Re: Colormapped sector issue
Posted: Tue Aug 11, 2020 2:31 pm
by Lobo
Update to original post: Just added a demo wad using a bog standard EDGE sector special (Green Hue).
Re: Colormapped sector issue
Posted: Fri Aug 14, 2020 10:32 am
by Lobo
I'll try and go through as many versions of EDGE (since 1.35) as I can to see where this bug crept in.
Re: Colormapped sector issue
Posted: Sat Aug 29, 2020 10:59 pm
by Lobo
OK, it broke in:
EDGE-2.1.0-Test3-Win32
And the last time it worked was in:
3DGE v2.1.0 - TEST 2 compiled on Aug 21 2016 at 21:45:27