What exactly are shadowmaps?

What exactly are shadowmaps?

Various things about Spring that do not fit in any of the other forums listed below, including forum rules.

Moderator: Moderators

Post Reply
User avatar
clericvash
Posts: 1394
Joined: 05 Oct 2004, 01:05

What exactly are shadowmaps?

Post by clericvash »

I would like to know exactly what are shadowmaps?

As i get this error all the time:
You are missing an OpenGL extension needed to use shadowmaps (fragment_program_shadow)
Yet spring runs fine, so i am wondering will devs ever include a way to just turn shadowmaps off, and what exactly are they/do the do?

Thanks.
Kloot
Spring Developer
Posts: 1867
Joined: 08 Oct 2006, 16:58

Post by Kloot »

Shadow maps are used in a process called shadow mapping, which is one of several methods of rendering shadows in 3D graphics. It involves a bunch of calculations that Spring does with a shader (a small program executing on your graphics card) for speed reasons, but shaders require a certain level of hardware support to run. In OpenGL that means the right "extension" must be available, and if it isn't (because your graphics card is too old, for instance) you get that message, which really just says "hey, I know you want me to render shadows, but I cannot do that with this card, please get another one or don't ask me to next time". Turn shadows off and it'll disappear.
User avatar
clericvash
Posts: 1394
Joined: 05 Oct 2004, 01:05

Post by clericvash »

I don't have any options on for shadows and it still shows, and my graphics card isn't old, it's a laptop one.
User avatar
Peet
Malcontent
Posts: 4384
Joined: 27 Feb 2006, 22:04

Post by Peet »

Yes, it still shows when shadows are disabled. Just ignore it.
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

cleric, whats your laptops gfx card?
Tobi
Spring Developer
Posts: 4598
Joined: 01 Jun 2005, 11:36

Post by Tobi »

This message gets shown now even if you don't have shadows, because spring tries to make typing "/shadows" in ingame chat possible (to enable/disable shadows). The option to disable shadows totally is missing from settings.exe I think...
User avatar
clericvash
Posts: 1394
Joined: 05 Oct 2004, 01:05

Post by clericvash »

Can it be added in it is annoying lol.

And my graphics card is - Mobile Intel 945GM Express Chipset.
Kloot
Spring Developer
Posts: 1867
Joined: 08 Oct 2006, 16:58

Post by Kloot »

^^ Which indeed isn't old, but integrated chipsets often have the same shortcoming (AFAIK the 945GM supports PS2.0 though). Have you updated your drivers?
User avatar
clericvash
Posts: 1394
Joined: 05 Oct 2004, 01:05

Post by clericvash »

I'm pretty sure i updated the drivers yeah.

Bummer huh!
User avatar
KDR_11k
Game Developer
Posts: 8293
Joined: 25 Jun 2006, 08:44

Post by KDR_11k »

Intel graphics suck so bad this doesn't come as a surprise.
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

If I modified the shadowmap size value to 256, would I get 256x256 shadowmaps? Or would it crash/fail?
User avatar
Peet
Malcontent
Posts: 4384
Joined: 27 Feb 2006, 22:04

Post by Peet »

KDR_11k wrote:Intel graphics suck so bad this doesn't come as a surprise.
Hey, they're better than SiS ;)
User avatar
KDR_11k
Game Developer
Posts: 8293
Joined: 25 Jun 2006, 08:44

Post by KDR_11k »

Marginally.
User avatar
clericvash
Posts: 1394
Joined: 05 Oct 2004, 01:05

Post by clericvash »

I wouldn't say intel graphics suck, as they don't, they work well enough for me to play spring how i like, and works for everything i do, so hey it ain't bad.
User avatar
Peet
Malcontent
Posts: 4384
Joined: 27 Feb 2006, 22:04

Post by Peet »

clericvash wrote:I wouldn't say intel graphics suck, as they don't, they work well enough for me to play spring how i like, and works for everything i do, so hey it ain't bad.
You like <20 fps?
User avatar
rattle
Damned Developer
Posts: 8278
Joined: 01 Jun 2006, 13:15

Post by rattle »

Anything Intel is worse than my GF2!
User avatar
clericvash
Posts: 1394
Joined: 05 Oct 2004, 01:05

Post by clericvash »

No i don't like below 20 FPS, but i get a lot higher than that, idiot.
Post Reply

Return to “General Discussion”