MegaGlest Forum

Archives (read only) => Glest Advanced Engine => Bug reports => Topic started by: Psychedelic_hands on 1 January 2011, 06:04:58

Title: Crash because of shadows- 3.2
Post by: Psychedelic_hands on 1 January 2011, 06:04:58
Quote
Crash!
Eception: OpenGL extension not supported: GL_ARB_shadow_ambient, required for Shadow Mapping

This happened when I turned shadow mapping on and started a custom game.
Also, this didn't show up in the error.log or crash.txt
Title: Re: Crash because of shadows- 3.2
Post by: hailstone on 12 January 2011, 01:36:58
I think this is because your graphics card is missing the extension and not really an error (info on the extension at http://www.opengl.org/registry/specs/ARB/shadow_ambient.txt ). Shadows may be implemented differently in a shader (when we get to it) but if it keeps coming up you may need to disable shadows.
Title: Re: Crash because of shadows- 3.2
Post by: silnarm on 12 January 2011, 10:07:48
This is apparently a problem for some NVidia cards.
Was recently discussed on the MG board and someone pointed out this post,

https://forum.megaglest.org/index.php?topic=3820.0

I guess someone should apply that patch some time ;)
Title: Re: Crash because of shadows- 3.2
Post by: hailstone on 12 January 2011, 12:08:23
Oops, I forgot about that post. I've applied the patch now.