Lighting in NS2
Daworm
Join Date: 2009-06-22 Member: 67900Members
<div class="IPBDescription">Shadows etc.</div>I have a question RE: lighting in NS2.
Will player characters cast shadows if you pass over a light?
If it does, will a dead player character also cast shadows?
Example: Onos dies on top of the single light source in a room, would that then plummet the room into shadow/darkness or would the light shine out of the proverbial spot that the sun doesn't shine from (normally).
So to speak...
:)
Will player characters cast shadows if you pass over a light?
If it does, will a dead player character also cast shadows?
Example: Onos dies on top of the single light source in a room, would that then plummet the room into shadow/darkness or would the light shine out of the proverbial spot that the sun doesn't shine from (normally).
So to speak...
:)
Comments
Don't quote me on it though.
:DD
Don't quote me on it though.<!--QuoteEnd--></div><!--QuoteEEnd-->
It'll look a bit weird if they don't.
So why no dynamic shadows in game? - that would add a lot of athmosphere - imagine an onos running towards you and it gets much darker the closer its coming - since its blocking the light sources behind it :D
Because my rood de la doom.
Is lighted by 4 spotlights either side of a long causeway so the player shadows in there are gonna look ###### immense!!!
unless marines have some kind of upgrade that blocks their thermal radiation if aliens' flashlights are like thermal vision. :D
Just as in NS1 where you had room architecture advantages on one side or the other, now you have lightning to play with..
I would imagine it wont be people standing infront of lights...
Chambers maybe?
Or if powergrid is linked to lights destroying RTs just to darken the map...
If my memory doesn't betray me, this one will certainly be in the game.
Your engine is god-like. Honestly Max it's like the sweetest thing that has ever surfaced for FPS leveleditors.
This in particular is really impressive, can't say I have imagined the possibility of seeing my own shadow as I run across a hallway, but now I guess it is true.
OT:
I have just recently made graphics for a single-player level in Hammer and believe me, me and my co-worker have been cringing and crying that Hammer doesn't have the realtime lighting that SparkEditor has.
Also that the importing process for a model to work with Hammer is nothing less than a painstaking journey to hell, I really hope you guys have a better method of importing things to Spark. Took like two plugins, five different programs, several files for the model itself, a lot of troubleshooting just to get things textured... well you get the picture.
If you could give us any information on the process of importing art-assets at some point; that would be great.
I think I just wet myself...
Thread won. You can all go home now.
Yes, but that can't be anything more than a graphical feature for higher end systems. This would probably bring older DX9c systems to their knees. Also, a dead body that stick around for anything longer than a death animation again would likely be a toggle option for the user to select how many ragdoll bodies they want laying around their game slowly dragging down their frame rate (if they actually affect lighting).
Because my rood de la doom.
Is lighted by 4 spotlights either side of a long causeway so the player shadows in there are gonna look ###### immense!!!<!--QuoteEnd--></div><!--QuoteEEnd-->
Actually they're probably going to look very bad if they're all pointing at the same place.
No more than two shadows at any one time otherwise it looks cluttered.
Also by players do you mean your own personal (usually invisible) player model will cast shadows, or do you mean players in general, because I would have thought players in general would be a given as they are a model like any other.
Not necessarily: there are many variables involved to make a guaranteed prediction (obviously NS2 team can give better ones, as they just did), but shadow and lighting systems are something that likely to affect gameplay, and thus be both mandatory and non-expensive. Say, anyone with 8xxx series can still summon a million Leviathans in UT2004, and Source can handle pretty much any number of shadows at any given time even on weaker systems.
No more than two shadows at any one time otherwise it looks cluttered.
Also by players do you mean your own personal (usually invisible) player model will cast shadows, or do you mean players in general, because I would have thought players in general would be a given as they are a model like any other.<!--QuoteEnd--></div><!--QuoteEEnd-->
They are not pointing in the same place.
Its a really long causeway through the middle of a large room.
The spot lights fall periodically covering the entire causeway.
They cast big eery shadows of the hand rails on the walls on either side of the causeway.
When players run down the causeway their shadows will be cast along either the walls of the room.
It will really look quite cool!
<img src="http://img245.imageshack.us/img245/1205/sexyshadows.jpg" border="0" class="linked-image" />
It would be cool
This in particular is really impressive, can't say I have imagined the possibility of seeing my own shadow as I run across a hallway, but now I guess it is true.
OT:
I have just recently made graphics for a single-player level in Hammer and believe me, me and my co-worker have been cringing and crying that Hammer doesn't have the realtime lighting that SparkEditor has.
Also that the importing process for a model to work with Hammer is nothing less than a painstaking journey to hell, I really hope you guys have a better method of importing things to Spark. Took like two plugins, five different programs, several files for the model itself, a lot of troubleshooting just to get things textured... well you get the picture.
If you could give us any information on the process of importing art-assets at some point; that would be great.<!--QuoteEnd--></div><!--QuoteEEnd-->
It's automatic with the builder app:
<a href="http://www.youtube.com/watch?v=40saY4AOcmk" target="_blank">http://www.youtube.com/watch?v=40saY4AOcmk</a>