Author Topic: Crash because of shadows- 3.2  (Read 1073 times)

Psychedelic_hands

  • Guest
Crash because of shadows- 3.2
« 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
« Last Edit: 1 January 2011, 06:28:01 by Psychedelic_hands »

hailstone

  • Local Moderator
  • Battle Machine
  • ********
  • Posts: 1,568
    • View Profile
Re: Crash because of shadows- 3.2
« Reply #1 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.
Glest Advanced Engine - Admin/Programmer
https://sourceforge.net/projects/glestae/

silnarm

  • Local Moderator
  • Behemoth
  • ********
  • Posts: 1,373
    • View Profile
Re: Crash because of shadows- 3.2
« Reply #2 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 ;)
Glest Advanced Engine - Code Monkey

Timeline | Downloads

hailstone

  • Local Moderator
  • Battle Machine
  • ********
  • Posts: 1,568
    • View Profile
Re: Crash because of shadows- 3.2
« Reply #3 on: 12 January 2011, 12:08:23 »
Oops, I forgot about that post. I've applied the patch now.
Glest Advanced Engine - Admin/Programmer
https://sourceforge.net/projects/glestae/