Author Topic: Lights on sprites  (Read 1940 times)

0 Members and 1 Guest are viewing this topic.

Offline Kolgena

  • 211
I just thought of something that might be neat. You know how muzzle flashes, lasers, explosions, beams all act as light sources? Is there a reason that we can't give missile and ship thrusters lights as well? Just think of a wing of fighters launching from an Orion's fighter bay, casting light on the "runway" as they take off.

Edit: Actually, without an occlusion check for lights, ships lighting themselves up might look rather gimmicky. Hmm...

 

Offline The E

  • He's Ebeneezer Goode
  • Moderator
  • 213
  • Nothing personal, just tech support.
    • Steam
    • Twitter
Yes, there's a reason.

It being that the engine is slow enough as it is, and really not very efficient at all when it comes to using render passes. The current setup is a good compromise.
If I'm just aching this can't go on
I came from chasing dreams to feel alone
There must be changes, miss to feel strong
I really need lifе to touch me
--Evergrey, Where August Mourns

 

Offline Kolgena

  • 211
Fair enough.

 

Offline Iss Mneur

  • 210
  • TODO:
That said, give -missile_lighting a try, as it does seem to work (at least it does something).
"I love deadlines. I like the whooshing sound they make as they fly by." -Douglas Adams
wxLauncher 0.9.4 public beta (now with no config file editing for FRED) | wxLauncher 2.0 Request for Comments

  

Offline Col. Fishguts

  • voodoo doll
  • 211
That enables lighting on the missile POF, because in retail missiles were always rendered in full brightness.
« Last Edit: July 29, 2010, 01:25:00 pm by Col. Fishguts »
"I don't think that people accept the fact that life doesn't make sense. I think it makes people terribly uncomfortable. It seems like religion and myth were invented against that, trying to make sense out of it." - D. Lynch

Visit The Babylon Project, now also with HTL flavour  ¦ GTB Rhea

 

Offline The E

  • He's Ebeneezer Goode
  • Moderator
  • 213
  • Nothing personal, just tech support.
    • Steam
    • Twitter
Nope. It enables the rendering of a glowpoint where the missile's thruster is. Doing a lighting pass on missile models is frankly speaking a waste of time and GPU cycles.
If I'm just aching this can't go on
I came from chasing dreams to feel alone
There must be changes, miss to feel strong
I really need lifе to touch me
--Evergrey, Where August Mourns

 

Offline Kolgena

  • 211
Oh. I always had that ticked. Can't say I ever noticed. I'll leave it on though, since I have frames to spare on 1080p.

 

Offline Aardwolf

  • 211
  • Posts: 16,384
Nope. It enables the rendering of a glowpoint where the missile's thruster is. Doing a lighting pass on missile models is frankly speaking a waste of time and GPU cycles.

Wat. If that's true, the description is bull****, because it says "apply lighting to missiles".

Which is it?

 

Offline The E

  • He's Ebeneezer Goode
  • Moderator
  • 213
  • Nothing personal, just tech support.
    • Steam
    • Twitter
My apologies. I wrote my answer without checking the code beforehand. Lighting is indeed applied to missiles with that flag on.
If I'm just aching this can't go on
I came from chasing dreams to feel alone
There must be changes, miss to feel strong
I really need lifе to touch me
--Evergrey, Where August Mourns

 

Offline Col. Fishguts

  • voodoo doll
  • 211
Yeah, I just re-checked ingame, and the flag does what I said.
I remember when this was introduced, since TBP has some huge ship-to-ship torps, which were always an eye-sore when they were rendered at full brightness.
"I don't think that people accept the fact that life doesn't make sense. I think it makes people terribly uncomfortable. It seems like religion and myth were invented against that, trying to make sense out of it." - D. Lynch

Visit The Babylon Project, now also with HTL flavour  ¦ GTB Rhea