"Truth never damages a cause that is just."
- Mahatma Gandhi
More pages: 1 2
Yet another self shadowing bumpmapping demo update
Wednesday, January 28, 2004 | Permalink

This time I have added global shadows through shadow mapping, which combined with offset mapping further enhances the depth.

Name

Comment

Enter the code below



davepermen
Wednesday, January 28, 2004

Just got at work, and seeing this, i just want to get back home again

Well, can't tell you how it look, as i only have a gf2 here.. but i definitely can't wait till i get home to see it.

Kidra
Wednesday, January 28, 2004

it's really nice..IMHO there is one problem though, maybe it's my systems fault, but for some reason the shadows are "shaking" way too much and are often aliased as well, where they shouldn't be are they supposed to look like that?

Otherwise,incredible job, really

Daedalus
Wednesday, January 28, 2004

Getting the same shaking as Kidra. It's still very nice (I'm a sucker for pretty shadows ), but the shaking effect is somewhat disturbing. Or is it supposed to be like that (I doubt it, since it hasn't been like that in any precious demos I've seen)? In case it matters, I'm running it on a Radeon 9800 Pro with Catalyst 4.1.

If the shaking would just go away it would be really kickass

Humus
Wednesday, January 28, 2004

Hadn't noticed the shaking, but it's because of maybe a little too small shadow map. I used 256x256x6, but increasing it to 512x512x6 made the shaking go away, though at a performance cost of course.

Sunray
Thursday, January 29, 2004

Looks like you render front faces into your shadow map and add a (large) bias when comparing depth-values. Why don't just render back faces?

Humus
Thursday, January 29, 2004

Because it creates leaks where a back facing surfaces meets a front facing surface. So you'd get small lit areas behind the pillars that should be in shadow.

Daedalus
Thursday, January 29, 2004

How much of a performance loss? Unless it's really huge it's probably worth it, I'd rather have a bit lower framerates if it means I get better image quality... and the demo runs nice and fast on my comp, even if framerate was cut in half it would still be fast and smooth

Humus
Friday, January 30, 2004

It's about 10-20% performance loss.

More pages: 1 2