Page 1 of 2 1 2 LastLast
Results 1 to 10 of 16

Thread: Getting things straight: Shadow Maps.

  1. #1
    Senior Member et_cg's Avatar
    Join Date
    Jun 2007
    Location
    Portland, Oregon
    Posts
    886

    Getting things straight: Shadow Maps.

    Well in Halo 2, both for Xbox and Windows Vista, there's one thing I've noticed people whining about. It was about real time shadows. Shadows that are calculated to the world as a texture. So how does that explain why its all pixelated? Well, textures are comprised of pixels! So... when you expand this image, say it's rendered pretty small so it saves memory, it shows some errors, which people blame on the engineers.

    Hey, if they made it that way, it's the way they could do it without blowing up your Xbox/PC. (Well, now a days on PC's, a tad bit more is possible) So just quit your whining and take a look at what I've got here:

    DirectX SDK Shadow Map Example:



    Take a look at the shadow cast form both the airplanes and the cones. They display pixelation. Proving my point.

    Now, Halo 2 Vista:



    So there you all go. Pretty similar techniques. Just used in different samples.

    I know there's no code to prove it, but I think the pictures just pretty much explain themselves.

    The other technique for shadows that people seem to prefer is Shadow volumes.
    Reply With Quote

  2. #2
    Is bad, really bad SMASH's Avatar
    Join Date
    Nov 2006
    Location
    Chi Town
    Posts
    817

    Re: Getting things straight: Shadow Maps.

    Makes sense, I think the real problem is, how do you fix it?
    Reply With Quote

  3. #3

    Re: Getting things straight: Shadow Maps.

    Hmmm I see no errors.


    As you can see there is none here.

    http://www.h2vista.net/forums/showthread.php?t=3454

    It seems this "error" only happens when your playing on a low resolution.
    Last edited by Skyline; July 10th, 2007 at 10:58 AM.
    Reply With Quote

  4. #4
    Senior Member et_cg's Avatar
    Join Date
    Jun 2007
    Location
    Portland, Oregon
    Posts
    886

    Re: Getting things straight: Shadow Maps.

    Quote Originally Posted by skyline View Post
    Hmmm I see no errors.

    <PICTURE>

    As you can see there is none here.

    http://www.h2vista.net/forums/showthread.php?t=3454

    It seems this "error" only happens when your playing on a low resolution.
    I'm talking about real time lighting. "Shadow Maps"

    Those shadows you see casted by the sun are shading techniques used since halo 1. And on many other game engines before it.

    I am sorry about not clarifying that it was about "Real Time" shadows.

    Those shadows you see that are clear, are in relevance to pre-rendered shadows that are much higher quality - but not necessarily at a higher pixel count. (They are rendered as a part of the main scene, not one of those fancy after effects, like a hanging physically interactable light.) Don't quote me on that, or this, but I think that those shadows aren't calculated as a texture, then cast onto the world.
    Last edited by et_cg; July 10th, 2007 at 11:19 AM. Reason: Took the picture out - it made the post too large... :(
    Reply With Quote

  5. #5
    Kid in the Hall Kornman00's Avatar
    Join Date
    Sep 2006
    Location
    ◕‿◕, ┌( ಠ_ಠ)┘
    Posts
    3,130

    Re: Getting things straight: Shadow Maps.

    I've never looked into it myself, but I think I remember something saying that they do their shadow casting using the collision model. I would say try removing the reference to the collision model but yeah....
    Reply With Quote

  6. #6
    Senior Member et_cg's Avatar
    Join Date
    Jun 2007
    Location
    Portland, Oregon
    Posts
    886

    Re: Getting things straight: Shadow Maps.

    Quote Originally Posted by Kornman00 View Post
    ... but I think I remember something saying that they do their shadow casting using the collision model...
    Hmm, that's interesting. I think I'll look into that. I always love finding out something about all of these game engines... Bah, it's crazy to think that this stuff sticks in my mind more/better than school does. And here I am at school. *Sarcastic* Yay */Sarcastic*
    Reply With Quote

  7. #7

    Re: Getting things straight: Shadow Maps.

    Oh, so you mean a dynamic light basically?
    Reply With Quote

  8. #8
    Senior Member et_cg's Avatar
    Join Date
    Jun 2007
    Location
    Portland, Oregon
    Posts
    886

    Re: Getting things straight: Shadow Maps.

    Yep, dynamic lights.

    I don't know why one person can't recognize the difference in Halo 2. That is, between an environment shadow and a dynamic shadow.
    Reply With Quote

  9. #9
    Kid in the Hall Kornman00's Avatar
    Join Date
    Sep 2006
    Location
    ◕‿◕, ┌( ಠ_ಠ)┘
    Posts
    3,130

    Re: Getting things straight: Shadow Maps.

    Quote Originally Posted by et_cg View Post
    I don't know why
    ? and i was the same way back then et.
    Reply With Quote

  10. #10
    Senior Member et_cg's Avatar
    Join Date
    Jun 2007
    Location
    Portland, Oregon
    Posts
    886

    Re: Getting things straight: Shadow Maps.

    lol. Let's edumacate the world.
    Reply With Quote

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •