Wacky Shadows

Discussion in 'Half-Life' started by Blitzy, May 13, 2004.

  1. Blitzy

    Blitzy Newbie

    Joined:
    Oct 14, 2003
    Messages:
    73
    Likes Received:
    0
    Im sure many have noticed... but the shadows ingame are kind of, odd.
    For instance, when two objects are placed on each other, the top objects shadow projects right through the lower object! This has happend in both 2003 and 2004 (crane scene) e3 videos.

    I dont know, i guess i though they would have fixed it or something.
     
  2. BlazeKun

    BlazeKun Spy

    Joined:
    May 28, 2003
    Messages:
    334
    Likes Received:
    0
    I noticed this, was one of the two graphical problems I noticed. It's most noticable on the crane when he lifts up the giant shipping container. It just really stood out as being ugly.

    The other graphical oddity I notices was in the first strider war video *the first one on the big demo* Gordon hides behind a car and you can see all the shots ricocheting off the strider THROUGH the car. This is actually a bug that's currently in HL1. Static objects like walls and stuff will work completely normal, but if it's an entity like a door you can see the lens flare straight through it. Hope this one gets fixed!
     
  3. Apos

    Apos Tank

    Joined:
    May 14, 2003
    Messages:
    3,159
    Likes Received:
    0
    The sparks thing was fixed, but the shadow thing will probably not be. You'll live. :)
     
  4. PvtRyan

    PvtRyan Party Escort Bot

    Joined:
    Jul 17, 2003
    Messages:
    10,028
    Likes Received:
    0
    The shadows are just the way HL2 uses it, it won't be fixed.
    It's a bit ugly yes, but hell at least it's soft shadowing *pokes Doom 3* :p
     
  5. Polykarbon

    Polykarbon Newbie

    Joined:
    Jul 19, 2003
    Messages:
    411
    Likes Received:
    0
    I created an example picture[in MSpaint] to show you guys how colted gl depth shadows work.

    Colted depth stencil shadows

    This would be a situation where you might notice the stencil shadows being interpolated by each others function and mask. Half-Life 2 uses the best form of these shadows that I have ever seen, and the best part is, it works well.

    Luckily, with some tricky Hammer work, you will be able to block most of these if you ever create a situation like this[where you use beams].

    In most situations though, like the crane part, most people are not even going to even notice it or care.

    You can blend occular[crane] and shadow recievers[crate] flawlessly if you use a gl depth pass technique...but its pointless because its just a waste of render power and compile time. Not to mention the FPS cost.

    "Carmack's Reverse" as it is commonly called, offers a reverse colsion fix and uses dynamic rendering, as you will see in DooM 3. This method eats up hardware, and nobody really needs it. You can do the same thing with light maps and proper dynamic depth rendering...but it just won't calculate everything on the fly.
     
  6. Apos

    Apos Tank

    Joined:
    May 14, 2003
    Messages:
    3,159
    Likes Received:
    0
    Er, okay. Right, I understood all that!
     
  7. ScopeD

    ScopeD Newbie

    Joined:
    Apr 28, 2004
    Messages:
    292
    Likes Received:
    0
    Yeah, for crying out loud !
     
  8. Polykarbon

    Polykarbon Newbie

    Joined:
    Jul 19, 2003
    Messages:
    411
    Likes Received:
    0
    I am not a computer nerd...

    sigh...I am...:p

    uhh...All I meant to say was that Half-Life 2's lighting and shadows still kick ass?
     
  9. Axyon

    Axyon Newbie

    Joined:
    May 29, 2003
    Messages:
    7,769
    Likes Received:
    0
    So a shadow overlaps onto another when it shouldn't. The real question is - will you notice it when you're trying to crush Combine soldiers that are putting down some serious fire on you?
     
  10. Varsity

    Varsity Newbie

    Joined:
    Apr 13, 2004
    Messages:
    2,684
    Likes Received:
    0
    Lighting is Source's weak point. It's not a huge problem.
     
  11. PvtRyan

    PvtRyan Party Escort Bot

    Joined:
    Jul 17, 2003
    Messages:
    10,028
    Likes Received:
    0
    The new vids don't seem to be bothered anymore by the 'you're either lit or not'. Check the big video at 9:33, you see Gregori being partially lit and the rest in the dark. The lighting seems a lot better than in the Strider video for example.
     
  12. MrWhite

    MrWhite Newbie

    Joined:
    Aug 14, 2003
    Messages:
    1,813
    Likes Received:
    0
    And even for a weakpoint its considerably stronger than some games
     
  13. Caminante

    Caminante Newbie

    Joined:
    Aug 9, 2003
    Messages:
    175
    Likes Received:
    0

    This is regarding the last statement you made about Doom's 3 engine. Maybe we should all go back to play pong, who needs pretty graphics anyways? Or then with what purpose in the world did Valve create a brand new rendering image?

    Ok, that little detail isn't much of a big issue, as a matter of fact, i don't even care. I do however admit to get rather frustrate when *cough* fanboys *cough* overlook all HL2's glitches and go pick on other people engine and what not. If you don't feel like spending money in upgrades, just don't. But do not state that, Carmack's method isn't really needed at all.
     
  14. Mr. Redundant

    Mr. Redundant Newbie

    Joined:
    May 20, 2003
    Messages:
    4,448
    Likes Received:
    0
    I didnt notice, I was too floored to notice anything... I guess I might nitpick once I cool down from my "OMFG ITS TEH HL2!!!!!!" but for right now, its pure bliss...

    GIVE ME NOW DAMN YE VALVE

    the only developer to practice Cruel and unusual punishment.
     
  15. Polykarbon

    Polykarbon Newbie

    Joined:
    Jul 19, 2003
    Messages:
    411
    Likes Received:
    0
    WTF are you talking about? I am not talking about DooM 3 itself. The lighting and shadowing blows anything else out of the water. I am talking about a shadow rendering technique...which DooM 3 doesn't need to use, because it uses advanced dynamic range lighting. HL2 uses scaled light maps and stencils, which cost more in compile time, but are faster[but don't look as great]. Do you even know that I mean when I say Carmacks reversion? Obviously not...or you would of got that. For DooMs atmosphere it is great, but the added effect eats up hardware. For most games, the effect isn't used or needed because you are going to have nothing short of 2.3 Ghz min requirements to play smoothly, unless you scale back your polygons.[Which DooM 3 is doing...and still looks freaking amazing]

    Honestly...did you just assume random garble?
     
  16. Caminante

    Caminante Newbie

    Joined:
    Aug 9, 2003
    Messages:
    175
    Likes Received:
    0
    Yep, Carmack's engine does not really need this feature. He just felt like adding it for the porpuse of being a jerk and eat people's hardware. :LOL:
     
  17. B_MAN

    B_MAN Tank

    Joined:
    Jan 19, 2004
    Messages:
    2,954
    Likes Received:
    0
    it's the beta
    the shadows will be fixed before release, guarunteed
     
  18. DarkStar

    DarkStar Tank

    Joined:
    Jul 11, 2003
    Messages:
    4,016
    Likes Received:
    0
    I sure hope so. For some reason this shadows thing really bothers me. When you see the shadow of objects resting on a table going THROUGH the table it just looks like shit. C'mon, if Far Cry can get it right why can't HL2? I don't really know anything about graphics programming, but this just seems like a major issue. At least for me.
     
  19. PvtRyan

    PvtRyan Party Escort Bot

    Joined:
    Jul 17, 2003
    Messages:
    10,028
    Likes Received:
    0
    Stop arguing with him, he obviously knows a whole lot more of this subject than you do.
     
  20. Intamin

    Intamin Newbie

    Joined:
    Jan 12, 2004
    Messages:
    368
    Likes Received:
    0
    Amen to that, brother. :)

    Whether or not Valve does fix it, we will know soon enough. Someone could always e-mail 'em about it.
     
  21. moppe

    moppe Guest

    One thing I noticed was that the container tilts over the body, IT'S SIMULATED.

    No clips like in last years traptown.
     
  22. Polykarbon

    Polykarbon Newbie

    Joined:
    Jul 19, 2003
    Messages:
    411
    Likes Received:
    0
    Sigh...that has nothing to do with what I said. Shadow routine algorithm code maybe?

    meh...not even worth it.
     
  23. Triggerhappy41

    Joined:
    Sep 24, 2003
    Messages:
    472
    Likes Received:
    0
    Uh, no. Stencil shadows are a fundamental part of source lighting. who freaking cares really. Id like to see the nit pickers actually NOT buy the game lol. see if they could do that.
     
  24. famas_man

    famas_man Newbie

    Joined:
    May 24, 2003
    Messages:
    197
    Likes Received:
    0
    Why do people have to be so discriminating when it comes to halflife 2? Saying that lighting is Sources weak point is understandable... but only if you are comparing it to the other features of Source. Very few games compare to hl2 for lighting. I was very impressed with the videos (even cs2 looks fun and I dont even like cs).

    Some people are just overly critical... maybe because it's suh an exceptional game.
     
  25. BaBaR

    BaBaR Newbie

    Joined:
    Jul 7, 2003
    Messages:
    51
    Likes Received:
    0
    moppe...
    they said the traptown bug was a result of the demo and that it wouldnt happen in game. I assume the same for things like the crate here
     
  26. Alec_85

    Alec_85 Newbie

    Joined:
    Jul 16, 2003
    Messages:
    1,504
    Likes Received:
    0
    AFAIK, Gabe & several others @ Valve have claimed that this bug WILL BE fixed before the game is released. They did say that after last year's E3 at least. I doubt they have changed their mind. And I doubt it would eat away @ the FPS etc etc. HL2 is the only game I've ever seen that has ever had this kind of lighting problem. I think I would remember if a game had had such problems before ;) But maybe I'm completely wrong....
     
  27. CoreyGH

    CoreyGH Guest

    I think this "shadows showing through solid objects" problem is a much bigger deal than some of you are making it out to be. At least, in the terms of multiplayer. If the sun is behind me, you are in front of me, and there is a wall between us, I want to be able to hide behind the wall. If my shadow shows THROUGH the wall and you can see it, well, that sucks big time.
     
  28. DimitriPopov

    DimitriPopov Newbie

    Joined:
    Jul 2, 2003
    Messages:
    1,384
    Likes Received:
    0

    You wouldnt remember it because its so minute , even when I do notice it I dont care after 2 seconds of 'hmph'. Ive seen it in a number of games , mostly in charecter shadows where you can see the outline of the seperate 'tubes' that make up limbs , such as from shoulde to elbow can be seen in the shadow , when it should just be the elbow and forearm that are seen (I cant explain it).
     
  29. DimitriPopov

    DimitriPopov Newbie

    Joined:
    Jul 2, 2003
    Messages:
    1,384
    Likes Received:
    0

    Have you seen any evidence of this? No me either. For one thing both of these objects are movable entities , and neither of them is a charecter.
     
  30. Apos

    Apos Tank

    Joined:
    May 14, 2003
    Messages:
    3,159
    Likes Received:
    0
    Shadows don't show through walls: they can get cast properly on all world geometry (looks awesome when they stretch out up a wall...)
     
  31. Triggerhappy41

    Joined:
    Sep 24, 2003
    Messages:
    472
    Likes Received:
    0
    lol shadows wont go thru walls. they arent the movable entities like the boxes are.
     
  32. Lobster

    Lobster The Freeman

    Joined:
    May 6, 2003
    Messages:
    3,059
    Likes Received:
    130
    Half-Life 1's original release had blob shaddows and they were removed imediately because of that very bug, im sure valve have that little eventuality under control.

    Personaly i think the overall lighting of the game looks nice, even if it is mainly static, but the only times they really need dynamic lights are for things such as the swinging legs on the rope, or when father gregori is running under those lamps, depends what sort of mood there trying to create.

    As for the shaddows overlapping, stuff like that just doesnt register in my mind as a problem, so i cant comment lol
     
  33. Apos

    Apos Tank

    Joined:
    May 14, 2003
    Messages:
    3,159
    Likes Received:
    0
    That's because HL2 is the only non Doom3-type game to actually have so many physics objects that they are commonly resting on top of each other.

    Anyways, this is a post from the Steam Forums in which I explain in detail the 4 major drawbacks when HL2 uses stencil shadows.

    It might be possible to find some way to get them to:

    -blend and combine without being additive on each other (problem one: like when two people's shadows overlap, and the overlapped area is doubly dark even though both shadows are cast by the same lightsource) or to...

    -cast their "shadow" on other moveable objects (problem two: like when the magnet doesn't cast a shadow on the container) or at least...

    -get occluded by moveable objects so as not show through each other (problem 3: like when the magnet shadow goes THROUGH the container and gets cast on the ground, or objects on a table cast shadows down through the table onto the floor) or to...

    -not darken pre-rendered shadows (problem 4: like when a combine is walking in shadow cast by a single light, but his stencil shadow still shows up even DARKER inside the pre-rendered shadow),

    But I wouldn't count on it. I don't know the techical details here: these 4 things could all be easy fixes, or they could be next to impossible. Only Valve can say for sure. Maybe some will be fixed by release, maybe some will be fixed in patches later, and maybe some cannot be fixed at all until the lighting engine is re-written.
     
  34. Ahnteis

    Ahnteis Newbie

    Joined:
    Jun 6, 2003
    Messages:
    1,098
    Likes Received:
    0
    FC doesn't really have the same degree of environmental interaction either, and it already requires a quite beefy machine.

    /HAS played FC.
     
  35. CoreyGH

    CoreyGH Guest

    If not walls then it will certainly show through moveable boxcars, crates, barrels, and vehicles. That's unacceptable from a multiplayer standpoint.
     
  36. Apos

    Apos Tank

    Joined:
    May 14, 2003
    Messages:
    3,159
    Likes Received:
    0
    Far Cry didn't have moveable tables, for instance: the stencils might have been cast on the table, but that was because it was pre-rendered world geometry, not an object you'd have to worry about shadowing in real time.
     
  37. Styloid

    Styloid Newbie

    Joined:
    May 28, 2003
    Messages:
    753
    Likes Received:
    0
    at Polykarbon:
    So how difficult would it be to implement better lighting solutions into Source in the future; updates from Steam or mods? Would it be possible to add in better shadows and cut down physical interaction for a mod that would want to?
     
  38. BlazeKun

    BlazeKun Spy

    Joined:
    May 28, 2003
    Messages:
    334
    Likes Received:
    0
    I agree with this completely. Say there's a moving train in a CS2 level. You go inside the train and your shadow shows up on the ground. You could be shot THROUGH the train walls and would die thanks to natural engine based wallhacks... That's not much fun IMO.

    You guys are right that it doesn't matter that much in single player but for multiplayer it has major problems.
     
  39. Shuzer

    Shuzer Newbie

    Joined:
    Aug 20, 2003
    Messages:
    8,705
    Likes Received:
    0
  40. DarkStar

    DarkStar Tank

    Joined:
    Jul 11, 2003
    Messages:
    4,016
    Likes Received:
    0
    Hmm...I seem to remember far cry having a bunch of movable items on top of other movable items, all of it cast shadows coorectly. Stuff on tables, soda cans on shelves, suitcases on top of boxes. I never saw the same problem I saw in the new HL2 videos.
     

Share This Page