MantisBT - Zandronum |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0002876 | Zandronum | [All Projects] Bug | public | 2016-10-09 23:21 | 2017-03-19 11:48 |
|
Reporter | unknownna | |
Assigned To | | |
Priority | low | Severity | feature | Reproducibility | always |
Status | closed | Resolution | won't fix | |
Platform | | OS | | OS Version | |
Product Version | 3.0-beta | |
Target Version | 3.0 | Fixed in Version | | |
|
Summary | 0002876: Sector light mode and fog mode are completely broken in the OpenGL options menu in 3.0 |
Description | See attached screenshot. Toggling these is completely broken currently. It's also broken in GZDoom 1.8.6, but is fixed in a GZDoom SVN build that I have. I didn't check which GZDoom version fixed the issue yet. |
Steps To Reproduce | |
Additional Information | |
Tags | No tags attached. |
Relationships | |
Attached Files | Screenshot.png (67,392) 2016-10-09 23:21 /tracker/file_download.php?file_id=1926&type=bug

|
|
Issue History |
Date Modified | Username | Field | Change |
2016-10-09 23:21 | unknownna | New Issue | |
2016-10-09 23:21 | unknownna | File Added: Screenshot.png | |
2016-10-09 23:22 | unknownna | Summary | Sector light mode and fog mode are completely broken in the OpenGL options menu => Sector light mode and fog mode are completely broken in the OpenGL options menu in 3.0 |
2016-10-09 23:26 | unknownna | Note Added: 0015872 | |
2016-10-10 07:11 | Edward-san | Note Added: 0015880 | |
2016-10-10 07:12 | Edward-san | Status | new => feedback |
2016-10-10 07:21 | unknownna | Note Added: 0015881 | |
2016-10-10 07:21 | unknownna | Status | feedback => new |
2016-10-10 07:32 | Edward-san | Note Added: 0015882 | |
2016-10-10 07:32 | Edward-san | Status | new => feedback |
2016-10-10 07:34 | Edward-san | Note Edited: 0015882 | bug_revision_view_page.php?bugnote_id=15882#r9659 |
2016-10-10 07:39 | unknownna | Note Added: 0015883 | |
2016-10-10 07:39 | unknownna | Status | feedback => new |
2016-10-10 07:40 | unknownna | Note Edited: 0015883 | bug_revision_view_page.php?bugnote_id=15883#r9661 |
2016-10-10 08:31 | Edward-san | Note Added: 0015884 | |
2016-10-10 08:33 | Edward-san | Note Edited: 0015884 | bug_revision_view_page.php?bugnote_id=15884#r9663 |
2016-11-27 16:29 | Torr Samaho | Note Added: 0016356 | |
2016-11-29 20:16 | Torr Samaho | Priority | high => low |
2016-11-29 20:25 | Torr Samaho | Status | new => confirmed |
2016-12-24 22:41 | Dusk | Target Version | => 3.0 |
2017-03-19 11:48 | Torr Samaho | Status | confirmed => closed |
2017-03-19 11:48 | Torr Samaho | Resolution | open => won't fix |
Notes |
|
|
It was first fixed in GZDoom 2.0.05. |
|
|
|
I see you're trying to toggle with the software renderer. If you try with opengl renderer it works fine. Can you confirm this? Also, is it still broken in GZDoom 2.0.03? |
|
|
|
|
|
(0015882)
|
Edward-san
|
2016-10-10 07:32
(edited on: 2016-10-10 07:34) |
|
Then how about 1.9.1 1.8.7?
|
|
|
(0015883)
|
unknownna
|
2016-10-10 07:39
(edited on: 2016-10-10 07:40) |
|
I tried all builds between 1.8.6 and 2.0.05 and 2.0.05 is the first build where it's fixed.
The reason why I reported it is because the options work fine in 2.1.2.
|
|
|
(0015884)
|
Edward-san
|
2016-10-10 08:31
(edited on: 2016-10-10 08:33) |
|
This happens because of these code snippets in src/gl/renderer/gl_lightdata.cpp:
CUSTOM_CVAR(Int,gl_fogmode,1,CVAR_ARCHIVE|CVAR_NOINITCALL)
...
if (self == 2 && gl.shadermodel < 4) self = 1;
CUSTOM_CVAR(Int, gl_lightmode, 3 ,CVAR_ARCHIVE|CVAR_NOINITCALL)
...
if ((newself == 2 || newself == 8) && gl.shadermodel < 4) newself = 3;
in software renderer the gl stuff is initialized to 0, including the shadermodel part, causing the other modes to not appear at all.
In zand 2.x, the shadermodel check is present, but it's innocuous.
In gzdoom 2.x, there's no trace of shadermodel at all.
I don't know if there's a solution to this without causing more delta than needed.
|
|
|
|
I think it's acceptable if one cannot select all OpenGL options while using the software renderer. |
|