Zandronum Chat on our Discord Server Get the latest version: 3.2
Source Code

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002876Zandronum[All Projects] Bugpublic2016-10-09 23:212017-03-19 11:48
Reporterunknownna 
Assigned To 
PrioritylowSeverityfeatureReproducibilityalways
StatusclosedResolutionwon't fix 
PlatformOSOS Version
Product Version3.0-beta 
Target Version3.0Fixed in Version 
Summary0002876: Sector light mode and fog mode are completely broken in the OpenGL options menu in 3.0
DescriptionSee 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.
Attached Filespng file icon Screenshot.png [^] (67,392 bytes) 2016-10-09 23:21

- Relationships

-  Notes
User avatar (0015872)
unknownna (updater)
2016-10-09 23:26

It was first fixed in GZDoom 2.0.05.
User avatar (0015880)
Edward-san (developer)
2016-10-10 07:11

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?
User avatar (0015881)
unknownna (updater)
2016-10-10 07:21

Hmm, toggling them in the OpenGL renderer seems to work fine indeed. I couldn't find 2.0.03 in'http://gzdoom.drdteam.org/archive/bin/ [^]'
User avatar (0015882)
Edward-san (developer)
2016-10-10 07:32
edited on: 2016-10-10 07:34

Then how about 1.9.1 1.8.7?

User avatar (0015883)
unknownna (updater)
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.

User avatar (0015884)
Edward-san (developer)
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.

User avatar (0016356)
Torr Samaho (administrator)
2016-11-27 16:29

I think it's acceptable if one cannot select all OpenGL options while using the software renderer.

Issue Community Support
This issue is already marked as resolved.
If you feel that is not the case, please reopen it and explain why.
Supporters: No one explicitly supports this issue yet.
Opponents: No one explicitly opposes this issue yet.

- 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 View Revisions
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 View Revisions
2016-10-10 08:31 Edward-san Note Added: 0015884
2016-10-10 08:33 Edward-san Note Edited: 0015884 View Revisions
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






Questions or other issues? Contact Us.

Links


Copyright © 2000 - 2025 MantisBT Team
Powered by Mantis Bugtracker