Light shader code not compatiable with old GLSL version

Moderator: GZDoom Developers

Forum rules
Please construct and post a simple demo whenever possible for all bug reports. Please provide links to everything.

If you can include a wad demonstrating the problem, please do so. Bug reports that include fully-constructed demos have a much better chance of being investigated in a timely manner than those that don't.

Please make a new topic for every bug. Don't combine multiple bugs into a single topic. Thanks!
emile_b
Posts: 98
Joined: Sun Sep 22, 2019 7:06 am
Graphics Processor: nVidia (Modern GZDoom)

Light shader code not compatiable with old GLSL version

Post by emile_b »

When lights are enabled, even with "+set gles_force_glsl_v100 true" there are shader compilation errors.

Reported by @Redneckerz here:
viewtopic.php?f=1&t=72361&start=30

Need equivalent hardware to debug and fix (Unless someone can work out the issue from errors shown)
User avatar
Redneckerz
Spotlight Team
Posts: 987
Joined: Mon Nov 25, 2019 8:54 am
Graphics Processor: Intel (Modern GZDoom)

Re: Light shader code not compatiable with old GLSL version

Post by Redneckerz »

Thanks for making this thread, Emile.

For the record, GPU is a Geforce 6150 SE (GLSL 1.20 format) wih OpenGL 2.1 support.

Ill recap them here (and remove them from the main thread):
Redneckerz wrote: GZdoom launches correctly, but as soon as you start a new game, the following appears.

[imgur]https://i.imgur.com/Vqaqsja[/imgur]

It does not outright crash, just does not start until you disable lights.pk3.
That was with 4.6.0a.

Test with "+set gles_force_glsl_v100 true":
Redneckerz wrote: That bombs out with a slew of errors:

[imgur]https://i.imgur.com/Nga6WG4[/imgur]
Then tested with latest g.4.6.0b:
Redneckerz wrote:Just tested 4.6.0b.
Sprite Shadows work perfectly with no performance impact. Looks nice, too!

However,when lights.pk3 is selected, the issue seen in the first picture reappears. So lights.pk3 does not play nice on the renderer.

Return to “OpenGLES Renderer Bugs”