Jump to content
The Dark Mod Forums

Bounce lights and the light gem:


Bikerdude

Recommended Posts

Myself and Baal have extensively used BounceLights in our WIP, the problem is that while they create superior lighting mood they effect the LG when we would rather they didn't.

 

So my question is: Is there an arg or a script that can be applied to these BL's to stop them effecting the lightgem..?

Link to comment
Share on other sites

  • Replies 52
  • Created
  • Last Reply

Top Posters In This Topic

The lightgem is a specialized screenshot so anything that lights the player model will have an effect on it. The only workaround I can see is projecting

the bounce lights from behind the wall instead of in front of it so that the radius doesn't extend too far beyond the surface they affect.

 

I guess you could use the lightgem modifier to lower the overall light level perceived by the gem.

Please visit TDM's IndieDB site and help promote the mod:

 

http://www.indiedb.com/mods/the-dark-mod

 

(Yeah, shameless promotion... but traffic is traffic folks...)

Link to comment
Share on other sites

It is ok if they ffect the lightgem, but the player should be able to judge how much by the effect on the environment. A constant or linear falloff could work with that, so that the center isn't much brighter than the lit surfaces.

Link to comment
Share on other sites

 

Will not that affect too much the gameplay? Has it the potential to make us invisible to the guards even tho we are on a light?

 

Only if the mapper used an insanely high setting. I had suggested a spawnarg to allow for additional lights like this to be adjusted since situations like this came up in the original Thief games too. The mappers in T3 for example were able to give some of their ambient lights use for set dressing a 'weight' on the light gem. So if needed, they could turn a light up slightly and then dial back it's effect on the lightgem...just so a particular area wouldn't be too hard.

Link to comment
Share on other sites

bouncing from another light source.

Primarily another from a surface that another light source is hitting, eg moonlight on a floor would create a glow on a nearby wall or furniture. And secondarily from something like a fireplace where some objects would have some slight specular or diffuse from said fireplace.

Link to comment
Share on other sites

They should, but with the way the lights work in the doom engine, they are very bright at their center but decrease in intensity outwards. This leads to situations where the lightgem lights up but every surrounding surface is dark.

Link to comment
Share on other sites

Have you tried setting your bounce lights to be 'ambient'?

 

Ambient lights should contribute a consistent illumination value regardless of how far away they are from the light source.

 

Set the spawnarg on the light and see if it makes a difference:

 

"texture" "lights/ambientlightnfo"

Link to comment
Share on other sites

It wouldn't look as good without the specular portion. And we already use zone ambient.

 

The whole issue is not THAT important though. It's fine in most cases and you can get by without it. But where we use it, it looks damn good.

Link to comment
Share on other sites

They should, but with the way the lights work in the doom engine, they are very bright at their center but decrease in intensity outwards.

 

Depends on the light texture you use. There are light textures with little or no falloff.

Link to comment
Share on other sites

I think it's a good idea to add a spawnarg to lights that make them not apply to the lightgem. Mappers are often trying to tune both gameplay and aesthetics, and since light affects both things, it'd be convenient to be able to put lights in for good aesthetics that didn't hit the LG for gameplay reasons.

What do you see when you turn out the light? I can't tell you but I know that it's mine.

Link to comment
Share on other sites

Depends on the light texture you use. There are light textures with little or no falloff.

Yes, but there is another falloff from the center to the boundaries of the light volume. The projected light texture decreases in brightness the further away from the center it hits a surface.

Link to comment
Share on other sites

This is why I wish there were a 3d representation of the contents of a light volume that you could preview in Dark Radiant. Then you could clearly see each falloff type and precisely tune the location of the volume and light_center.

Please visit TDM's IndieDB site and help promote the mod:

 

http://www.indiedb.com/mods/the-dark-mod

 

(Yeah, shameless promotion... but traffic is traffic folks...)

Link to comment
Share on other sites

I've added a tracker for the spawnarg: http://bugs.thedarkmod.com/view.php?id=4128

 

This should probably be a yes/no flag rather than a scaling factor. There are already similar flags to stop weapons being drawn during the lightgem render pass, for example. We can add a corresponding one for lights.

 

EDIT: Looking over the thread again I see opinion on the spawnarg isn't unanimous. But it'll be trivial to add and won't complicate the setup, even if it's only useful to some.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recent Status Updates

    • OrbWeaver

      Does anyone actually use the Normalise button in the Surface inspector? Even after looking at the code I'm not quite sure what it's for.
      · 6 replies
    • Ansome

      Turns out my 15th anniversary mission idea has already been done once or twice before! I've been beaten to the punch once again, but I suppose that's to be expected when there's over 170 FMs out there, eh? I'm not complaining though, I love learning new tricks and taking inspiration from past FMs. Best of luck on your own fan missions!
      · 4 replies
    • The Black Arrow

      I wanna play Doom 3, but fhDoom has much better features than dhewm3, yet fhDoom is old, outdated and probably not supported. Damn!
      Makes me think that TDM engine for Doom 3 itself would actually be perfect.
      · 6 replies
    • Petike the Taffer

      Maybe a bit of advice ? In the FM series I'm preparing, the two main characters have the given names Toby and Agnes (it's the protagonist and deuteragonist, respectively), I've been toying with the idea of giving them family names as well, since many of the FM series have named protagonists who have surnames. Toby's from a family who were usually farriers, though he eventually wound up working as a cobbler (this serves as a daylight "front" for his night time thieving). Would it make sense if the man's popularly accepted family name was Farrier ? It's an existing, though less common English surname, and it directly refers to the profession practiced by his relatives. Your suggestions ?
      · 9 replies
    • nbohr1more

      Looks like the "Reverse April Fools" releases were too well hidden. Darkfate still hasn't acknowledge all the new releases. Did you play any of the new April Fools missions?
      · 5 replies
×
×
  • Create New...