Aller au contenu

Photo

Sunlight and shadows cast by characters


  • Veuillez vous connecter pour répondre
4 réponses à ce sujet

#1
FergusM

FergusM
  • Members
  • 460 messages
I have a night time level. There is a very minimal amount of light coming from the moon, and then the primary light source is a fire (an animated light). The light works just how I would like. The problem is the shadows. Even though the sunlight from the moon is very very dim, all shadows cast by creatures are cast in relation to the moon. I'd like to the shadows to be cast by the fire's light instead; it looks very silly to have a character's shadow cast over a fire.

I even tried setting sunlight to 'disabled', but this doesn't seem to have any effect in game.

#2
Bibdy

Bibdy
  • Members
  • 1 455 messages
I don't think anything generates character shadows on the ground except sunlight direction.

#3
FergusM

FergusM
  • Members
  • 460 messages
Really? How do things work indoors then?

Is there a way to turn creature shadows on the ground off completely then?

EDIT: I just checked on the Redcliffe night map and it looks like you're right. Oh boy. :(

And it looks like they just cast rubbish little circle shadows indoors. Well, is there anyway to get that going on at least outdoors? Or just not have them cast shadows at all?

EDIT Again: I decided to just move the moon straight up, so at least they just cast small shadows beneath them rather than long shadows in implausible directions.

Modifié par FergusM, 23 février 2010 - 02:02 .


#4
Bibdy

Bibdy
  • Members
  • 1 455 messages
Yeah, that's probably about as good as you're going to get. The light/shadow system isn't too advanced in this. I'm pretty sure the game uses the Unreal Engine, like ME2 does, so it has the capability, its probably just not enabled since these 2 games are meant to run on consoles as well.



There may be some hidden engine flag you can enable, to get more detailed shadows, but I wouldn't know what that is.

#5
FergusM

FergusM
  • Members
  • 460 messages
Dragon Age runs on a proprietary engine named Eclipse.