Next gen lighting technologies - voxelised, traced, and everything else *spawn*

Discussion in 'Rendering Technology and APIs' started by Scott_Arm, Aug 21, 2018.

  1. pharma

    Veteran

    Joined:
    Mar 29, 2004
    Messages:
    4,887
    Likes Received:
    4,534
    So is it now confirmed that laggy lighting updates expected in RT scenarios or is it still conjecture? Makes you wonder why studios are moving forward with RT games.
     
  2. jlippo

    Veteran

    Joined:
    Oct 7, 2004
    Messages:
    1,744
    Likes Received:
    1,090
    Location:
    Finland
    Replacing shadowmaps with RT must have been easiest decision ever.
    Sharp and very long visibility range is not good combination for them.

    Faking GI interreflection for for space ships is something I have been wondering many times. (Perhaps some form of classic PRT or probes around surface..?)
    I'm not sure if anyone had tried it, even though interreflections within ship would be the strongest source of bounce light in dark of space.
    Most games just seem to use cubemaps to get some additional light.

    RT should make it quite bit easier as well, there should be amazing amount of shortcuts one could make. (From very simple shading/objects for intetreflection to distant objects being silly proxy objects with average lighting in vertex colours.)
     
    #1702 jlippo, May 19, 2019
    Last edited: May 19, 2019
    Dictator and pharma like this.
  3. Shifty Geezer

    Shifty Geezer uber-Troll!
    Moderator Legend

    Joined:
    Dec 7, 2004
    Messages:
    44,104
    Likes Received:
    16,896
    Location:
    Under my bridge
    It seems to be the current state-of-the-art. We need a way to either get more samples, or denoise, and denoising presently requires taking samples over time, which means laggy updates. It may be a cleverer approach to lighting appears to solve this. I'd be happy to see 'low-res' immediate updates resolving into superior clarity over time if necessary, I think. Things like a fireball don't need super-sharp lighting or perfect secondary bounces to look the part, but they do need the lighting to keep up with the ball's position.
     
  4. JoeJ

    Veteran

    Joined:
    Apr 1, 2018
    Messages:
    1,523
    Likes Received:
    1,772
    Assuming reordering is only worth it for incoherent rays, there likely would be a flag for the pipeline to turn it on or off by the user.
    But there is no such flag, and the current focus may be on coherent shadow / sharp reflection rays, and there is ImgTecs claim, so... ok, i assume there is no reordering yet.

    Lag is necessary because processing power is finite. I don't think we can ever get rid of it completely, and also it would be new to me NN based approaches would need no form of history.
    For GI the information from a single frame can't be enough to produce a realistic approximation.
    It's not the noise that causes the lag, it is the infinite amount of calculations we would need to solve all those reflections. (My approach causes no noise, but i have lag too.)

    But i don't think it's a big problem, personally i have those features to limit visual lag:
    Cache directional lighting in worldspace, so no ghosting, and view dependent specular keeps angular correct even under motion but outdated lighting information.
    More updates at regions where more changes happen.
    Temporally reducing detail if overall change is high, so more surface area can be updated in the same time (e.g. if all lights turn off).

    This helps a lot already, but i expect much more from calculating direct lighting with lag free traditional methods, which is a feature i don't have yet.
    Basically only indirect lighting (or area lights where traditional stuff sucks) would cause lag, and if that's visible at all it's just the price for realistic lighting.

    So with some engineering effort this problem is surely solvable good enough. It also helps that real world moving lights usually can use traditional point / spot lights (cars, flashlight).
    I'm more worried about specular artifacts and limitations than about lag.
     
  5. Shifty Geezer

    Shifty Geezer uber-Troll!
    Moderator Legend

    Joined:
    Dec 7, 2004
    Messages:
    44,104
    Likes Received:
    16,896
    Location:
    Under my bridge
    I expect there to be quite some developments in this area. I get the sense that there are actually a lots of fields and approaches that can be used, with various cached and approximate solutions, potentially using raytracing to shift a lighting solution towards correctness rather than to build it from the ground up.

    The little I've seen, I can't say I agree with you. I think there's an uncanny valley response happening. As the lighting approaches realistic, the deviances become more pronounced. When you can see a video of the real world, but the lighting is trailing what's happening by half a second, it'll look 'freaky' on an emotional level. "This is supposed to be real, but it's not real. Or is it? Wrong wrong wrong warning alerts! Keep an eye out for the weirdness and work out what's happening!!"

    Unlike other artefacts like weak shadows, pixelation, pop in, etc. that are just nuisances we switch off from, I can't stop my brain from noticing and focussing on delayed shadowing and such. I think it's nearly as pronounced for me as audio latency.
     
    Silent_Buddha and BRiT like this.
  6. JoeJ

    Veteran

    Joined:
    Apr 1, 2018
    Messages:
    1,523
    Likes Received:
    1,772
    I think the same. The thought came up after watching this:

    Somehow that's very realistic models and textures, lighting is likely pretty correct too (too dark because low number of bounces maybe).
    But it looks uncanny to me. Almost real, but wrong. I think it's the material shading - likely i was naive when thinking standard UE4 PBR would be good enough for most stuff. :)
    So even this is a different problem than lag, i'm worried now everything becomes uncanny, not just characters.

    To avoid this, likely we need to keep art direction with games in mind, not yet realism. Recently i saw that new Rats game, and Rage 2 right after that. Rats aims for realism with all those quixel textures, but i was not impressed from the visuals. Then Rage 2 was super impressive - it looked consistent and just great to me.

    It's interesting you are so sensitive to that. I agree half a second is too much, but could you list some examples where you noticed this?
    Or is it just about the UE4 path tracing which surely is unpractical for games, while something like Quake2 RTX is ok?
     
    London Geezer likes this.
  7. OCASM

    Regular

    Joined:
    Nov 12, 2016
    Messages:
    921
    Likes Received:
    874
    The NVIDIA denoiser has a "spatial-only" mode. It just doesn't look as good as the spatio-temporal one.
     
  8. iroboto

    iroboto Daft Funk
    Legend Subscriber

    Joined:
    Mar 6, 2014
    Messages:
    14,833
    Likes Received:
    18,632
    Location:
    The North
    We will have to keep an eye on what they did with Call of Duty; This was a Geforce RTX ad that showed up on my FB feed. The trailer below is running realtime on a 4Pro, so yea, you wont' spot anything DXR in there.
    ***
    The rules have changed.
    Excited to see DirectX Raytracing coming to Call of Duty: #ModernWarfare
     
    #1709 iroboto, May 30, 2019
    Last edited: May 30, 2019
    OCASM and DavidGraham like this.
  9. cheapchips

    Veteran

    Joined:
    Feb 23, 2013
    Messages:
    2,493
    Likes Received:
    2,665
    Location:
    UK
  10. Malo

    Malo Yak Mechanicum
    Legend Subscriber

    Joined:
    Feb 9, 2002
    Messages:
    8,929
    Likes Received:
    5,528
    Location:
    Pennsylvania
    Because "in-game" trailers have always been representative of the actual released game, especially by AAA publishers...
     
  11. iroboto

    iroboto Daft Funk
    Legend Subscriber

    Joined:
    Mar 6, 2014
    Messages:
    14,833
    Likes Received:
    18,632
    Location:
    The North
    It's funny you wrote this, because I just finished reading the DF article. lol

     
  12. Shifty Geezer

    Shifty Geezer uber-Troll!
    Moderator Legend

    Joined:
    Dec 7, 2004
    Messages:
    44,104
    Likes Received:
    16,896
    Location:
    Under my bridge
    There's still a tangible difference between cut-scene and gameplay though. eg. You can prebake everything in a realtime, in-engine cut-scene because you know exactly where it'll be. The moment you enter fully dynamic gameplay and can't use those techniques, you have to use realtime techniques which are never as good. Or basically, we should judge the new engine when we have user-created gameplay rather than commercial cherry-picked.
     
    iroboto, BRiT and eloyc like this.
  13. Malo

    Malo Yak Mechanicum
    Legend Subscriber

    Joined:
    Feb 9, 2002
    Messages:
    8,929
    Likes Received:
    5,528
    Location:
    Pennsylvania
    None of it was the actual game though, just transition scenes? Yeah, it looks like a very nice upgrade in lighting and rendering for their engine. But haven't we been here hundreds of times in the past?

    edit: what shifty said.
     
  14. iroboto

    iroboto Daft Funk
    Legend Subscriber

    Joined:
    Mar 6, 2014
    Messages:
    14,833
    Likes Received:
    18,632
    Location:
    The North
    i don't disagree, it's the commentary from Richard Leadbetter that made me ask if perhaps he was referring to this being real-time in game. Specifically the term no 'in-engine' footage. I would normally describe a lot of games doing 'in-engine' footage, like battlefield etc. But this is the first time I've seen Richard specifically call out that it's not. He ends with, "what you see is what you get"
     
  15. OCASM

    Regular

    Joined:
    Nov 12, 2016
    Messages:
    921
    Likes Received:
    874
    I thought the night vision scenes were real life footage for a moment there :shock:
     
    iroboto likes this.
  16. Malo

    Malo Yak Mechanicum
    Legend Subscriber

    Joined:
    Feb 9, 2002
    Messages:
    8,929
    Likes Received:
    5,528
    Location:
    Pennsylvania
    If it's not FMV (which it's obviously not), there's really no difference between "in-game" and "in-engine", is there? Cutscenes are going to run at a lower fps and have different effects applied.

    Is it impressive? Hell yes, the realism is amazing.

    Is the trailer and the DF article giving the impression that gameplay would look like that? Yes, they do. And that's likely not the case. That's all I'm saying.
     
  17. TheAlSpark

    TheAlSpark Moderator
    Moderator Legend

    Joined:
    Feb 29, 2004
    Messages:
    22,146
    Likes Received:
    8,533
    Location:
    ಠ_ಠ
    The night vision bits looked great.

    The helicopter fly-around at 1:10 looked very game-y
     
    OCASM and iroboto like this.
  18. milk

    milk Like Verified
    Veteran

    Joined:
    Jun 6, 2012
    Messages:
    3,977
    Likes Received:
    4,101
    Technically there is. Developers have historically used the specific term "in-engine" when the footage shown was rendered with their current (normally WIP) renderer bit it's not really hitting the framerate at which the end footage is displayed. They render the frames at the pace they can, and make a video of it aftewards. Most of the time, it's not ill intended, game dev does take time, and optimisations keep happening throughout the cycle. They usually use targets they think they are likely to hit, but even then, parts of the optimizations they have to do include simplifying graphics and cutting features.
     
    DavidGraham, iroboto and TheAlSpark like this.
  19. milk

    milk Like Verified
    Veteran

    Joined:
    Jun 6, 2012
    Messages:
    3,977
    Likes Received:
    4,101
    Having read it: meh.
    Feels like an article handed by Actvision/Infinityward pretty much written already, and Richard may have changed a few words here and there. It's more of a PR plug than a typical DF investigational piece.
    Surely, it's ok for DF to collaborate with devs to get insider's info. In fact, that is absolutely desirable. But I feel like the info presented here was not put into the context you'd expect from something coming from Richard's mouth himself. Most features described are prety much standard fare for modern AAA engines. In fact, many of them were already bullet points of previous CoD. They are probably being improved uppon, but then they should be presented as such, instead of being implied as some new revolutionary addition. Even for 60fps games, most features are not completely new there.
    Again, DF would not know most of the info there if it were not given to them by the dev's themselves. You can't deduce the technical underpinnings of an engine from a short trailer like that, so it's cool that DF landed the confidence from the devs to get that sort of info from them, but it's just lame that they passed it forward more as an advertisement than an actual informative journalistic article, with proper contextualization and less hyperbole.
    I also don't want to diminish the devs work. Even if they are improving on previously laid out work, or incorporating things other games have done before, that does not cease to be an improvement for their game, I just wish the article had presented it more as such.
     
    Ike Turner likes this.
Loading...

Share This Page

  • About Us

    Beyond3D has been around for over a decade and prides itself on being the best place on the web for in-depth, technically-driven discussion and analysis of 3D graphics hardware. If you love pixels and transistors, you've come to the right place!

    Beyond3D is proudly published by GPU Tools Ltd.
Loading...