Brightmaps not working

Bugs that have been investigated and resolved somehow.

Moderator: GZDoom Developers

Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
Post Reply
User avatar
Thfpjct
Posts: 15
Joined: Thu Jul 18, 2019 9:36 pm
Graphics Processor: ATI/AMD (Modern GZDoom)

Brightmaps not working

Post by Thfpjct »

I've been Modding GZDoom for a little while, and i notice that in versions like 3.5 to 3.9 the brightmaps just don't work.
You could say that is my Graphics card that is the problem, but i Doubt, in the 2.2 version of GZDoom they still wok just fine, even in other source ports like Crispy Doom and ZDoom they still working just fine.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49056
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Brightmaps not working

Post by Graf Zahl »

First, there has never been a 3.9 version. Second, what kind of graphics card do you have?
BTW, ports like Crispy Doom and ZDoom do not have brightmaps, so they cannot work there. All they can do is use colormaps with special fullbright colors.
User avatar
Thfpjct
Posts: 15
Joined: Thu Jul 18, 2019 9:36 pm
Graphics Processor: ATI/AMD (Modern GZDoom)

Re: Brightmaps not working

Post by Thfpjct »

Intel Hd Graphics. i don't think the graphics card is the problem because it is working in GZDoom 2.2, but if it is: fuck.
User avatar
Darkcrafter
Posts: 562
Joined: Sat Sep 23, 2017 8:42 am
Operating System Version (Optional): Windows 10
Graphics Processor: nVidia with Vulkan support

Re: Brightmaps not working

Post by Darkcrafter »

Your graphics adapter is the problem (apparently you are playing with LEGACY GZDoom because Modern simply doesn't start as it requires GL3 or GL4), in new GZDoom versions brightmaps only work if your graphics card supports at least OpenGL 3, the same applies to some sector lighting modes like software, doom and vanilla and postprocessing that is not available. I'm not sure why Graf decided to remove these effects for OpenGL 2 mode, but software sector lighting mode was working absolutely fine in GZDoom v2 with OpenGL2 mode. Also not sure if Zandronum (which is based on very old GZDoom open gl2 port) supports brightmaps, if I remember correctly it does.

LZDoom which is stripped down version of new GZDoom for old graphics cards like yours doesn't include support for these sector lighting modes and brightmaps that old OpenGL2 based GZDoom v2 had. Gotta remind this to drfrag :mrgreen:
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49056
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Brightmaps not working

Post by Graf Zahl »

Brightmaps and those shader based lighting modes were never implemented for OpenGL 2.x, from the beginning they were GL 3.x.
The shader hardware on GL 2 hardware is far too slow to run such complex stuff.
User avatar
Erick194
Posts: 35
Joined: Sat Nov 10, 2018 3:12 pm
Location: Costa Rica

Re: Brightmaps not working

Post by Erick194 »

I remember that gzdoom 1.6 had functional brightmaps and in OpenGL 2.x
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49056
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Brightmaps not working

Post by Graf Zahl »

GZDoom 1.6 was very different than later versions, it was a hybrid engine combining fixed function rendering and shaders. It was capable of enabling some effects in a very limited fashion on older hardware but the entire setup was not maintainable, and even the minor use of shaders it had impacted this hardware too much.

The moment the modern render path transitioned fully to shaders the game was over for older hardware.
Post Reply

Return to “Closed Bugs [GZDoom]”