631
submitted 2 weeks ago by alessandro@lemmy.ca to c/pcgaming@lemmy.ca
you are viewing a single comment's thread
view the rest of the comments
[-] sylver_dragon@lemmy.world 99 points 2 weeks ago

Now, can we fix flashlights in games such that we don't get a well defined circle of lit area surrounded by completely a black environment? Light doesn't work that way, it bounces and scatters, meaning that a room with a light in it should almost never be completely dark. I always end up ignoring the "adjust the gamma until some wiggle is just visible" setup pages and just blow the gamma out until I can actually see a reasonable amount in the dark areas.

Yes, really dark places should be really dark. But, once you add a light to the situation, they should be a lot less dark.

[-] moody@lemmings.world 116 points 2 weeks ago

Now, can we fix flashlights in games such that we don’t get a well defined circle of lit area surrounded by completely a black environment?

Sure, we can do that, but we won't because of the narrative and functional in-game purpose of the flashlight. It's not meant to be realistic, it's meant to make the game feel a specific way.

[-] Draegur@lemm.ee 33 points 2 weeks ago

It's also why a flashlight may be able to run for dozens of hours straight on a single battery but in video games it'll die in minutes if not seconds. Realism is unfair. Also the same reason why nuclear reactors in video games are always dangerous. Because representing them realistically would be boring to the average adrenaline junkie "gamer".

[-] uriel238@lemmy.blahaj.zone 12 points 2 weeks ago

We are now in the age of the continuous flashlight (though Subnautica has operational long-running, replaceable batteries). L4D in 2007 had permanent flashlights that worked pretty well and felt right.

[-] qarbone@lemmy.world 9 points 2 weeks ago

Feels unnecessarily hyperbolic to call the average gamer an "adrenaline junkie". Games need gameplay and fixing things that aren't working, be it a dying flashlight or an erupting reactor, is easy and extensible gameplay.

[-] Iapar@feddit.org 2 points 2 weeks ago

I think you read that wrong. It is not that the average gamer is an adrenaline junky. The person takes a subgroup of gamers, the "adrenaline junkys", and from that subgroup the average is meant.

[-] qarbone@lemmy.world 3 points 1 week ago

The discussion was of a common trope in video games, the person I replied to referenced an unspecific element in video game storytelling, and you expect the primary understanding of the subsequent label to be talking to a sub-section of a sub-section of all gamers?

Either you are reading a far too charitable (and unrealistic) interpretation of the previous comment, or the original comment needs signficant revision.

Even if we take your reading as valid, how would the attention span of a minor fraction of all gamers move the needle, in terms of game design, enough to bring about the tropes previously discussed?

[-] IrateAnteater@sh.itjust.works 36 points 2 weeks ago

You just described ray tracing. The problem is, it's incredibly computationally expensive. That's why DLSS and FSR were created to try and make up for the slow framerates.

[-] baguettefish@discuss.tchncs.de 24 points 2 weeks ago

there’s more to dynamic global illumination than just ray tracing

[-] IrateAnteater@sh.itjust.works 12 points 2 weeks ago

Not in an ideal world. Ray tracing is how light actually works in real life. Everything we do with global illumination right now is a compromised workaround, since doing a lifelike amount of ray tracing in real time, at reasonable framerates, is still to much for our hardware.

[-] krashmo@lemmy.world 13 points 2 weeks ago* (last edited 2 weeks ago)

Nothing about 3D animation is ideal. It's all about reasonable approximations. Needing to build better GPUs to support tracing individual photons is insane when you could just slightly increase ambient lighting in the area of a light source.

[-] catloaf@lemm.ee 5 points 2 weeks ago

The current flashlight implementation is a reasonable approximation, when the rest of the map is properly lit with very dim light.

[-] Draegur@lemm.ee 8 points 2 weeks ago

I've seen an awesome "kludge" method where, instead of simulating billions of photons bouncing in billions of directions off every surface in the entire world, they are taking extremely low resolution cube map snapshots from the perspective of surfaces on a "one per square(area)" basis once every couple frames and blending between them over distance to inform the diffuse lighting of a scene as if it were ambient light mapping rather than direct light. Which is cool because not only can it represent the brightness of emissive textures, but it also makes it less necessary to manually fill scenes with manually placed key lights, fill lights, and backlights.

[-] SwordInStone@lemmy.world 3 points 1 week ago

I am not educated enough to understand this comment

[-] Hadriscus@lemm.ee 3 points 2 weeks ago

Light probes, but they don't update well, because you have to render the world from their point of view frequently, so they're not suited for dynamic environments

[-] Draegur@lemm.ee 5 points 2 weeks ago

They don't need to update well; they're a compromise to achieve slightly more reactive lighting than 'baked' ambient lights. Perhaps one could describe it as 'parbaked'. Only the ones directly affected by changes of scene conditions need to be updated, and some tentative precalculations for "likely" changes can be tackled in advance while pre-established probes contribute no additional process load because they aren't being updated unless, as previously stated, something acts on them. IF direct light changes and "sticks" long enough to affect the probes, any perceived 'lag' in the light changes will be glossed over by the player's brain as "oh, my characters' eyes are adjusting, neat how they accommodated for that."--even though it's not actually intentional but rather a drawback of the technology's limitations.

[-] Appoxo@lemmy.dbzer0.com 8 points 2 weeks ago

Shouldnt ray tracing fix that?

[-] Blackmist@feddit.uk 11 points 2 weeks ago

Yes, but it's exponentially expensive compared to cheating.

[-] SharkAttak@kbin.melroy.org 4 points 2 weeks ago

Well they built entire video cards series to address that, I hope they were worth it.

[-] Blackmist@feddit.uk 6 points 2 weeks ago

We haven't had decent GPU pricing since we started ramming that onto cards, although I will openly admit we've also had a lifetime of wacky fucking shit go on since then.

[-] pupbiru@aussie.zone 4 points 2 weeks ago

and it’s still incredibly computationally expensive

[-] leftytighty@slrpnk.net 9 points 2 weeks ago

yes and no, ray tracing still requires decisions about fidelity, the same poor decisions can be made in either rendering system

[-] finitebanjo@lemmy.world 7 points 2 weeks ago

That's exactly the sort of thing his work improved. He figured out that graphics hardware assumed all lighting intensities were linear when in fact it scaled dramatically as the RGB value increased.

Example: Red value is 128 out of 255 should be 50% of the maximum brightness, that's what the graphics cards and likely the programmers assumed, but the actual output was 22% brightness.

So you would have areas that were extremely bright immediately cut off into areas that were extremely dark.

[-] lemmyrob@feddit.org 6 points 2 weeks ago

Unreal Engine 5.5 Lumen supposedly does it well with the light scattering.

this post was submitted on 05 Dec 2024
631 points (98.5% liked)

PC Gaming

8765 readers
330 users here now

For PC gaming news and discussion. PCGamingWiki

Rules:

  1. Be Respectful.
  2. No Spam or Porn.
  3. No Advertising.
  4. No Memes.
  5. No Tech Support.
  6. No questions about buying/building computers.
  7. No game suggestions, friend requests, surveys, or begging.
  8. No Let's Plays, streams, highlight reels/montages, random videos or shorts.
  9. No off-topic posts/comments, within reason.
  10. Use the original source, no clickbait titles, no duplicates. (Submissions should be from the original source if possible, unless from paywalled or non-english sources. If the title is clickbait or lacks context you may lightly edit the title.)

founded 2 years ago
MODERATORS