GART: Games and Applications using RayTracing

Discussion in 'Rendering Technology and APIs' started by BRiT, Jan 1, 2019.

  1. manux

    Veteran Regular

    Joined:
    Sep 7, 2002
    Messages:
    3,034
    Likes Received:
    2,273
    Location:
    Self Imposed Exhile
    This looks cool.



    dlss in unity?

     
    pharma, DegustatoR, Scott_Arm and 2 others like this.
  2. Davros

    Legend

    Joined:
    Jun 7, 2004
    Messages:
    17,017
    Likes Received:
    4,381
    I've never seen lego that shiny
     
  3. Frenetic Pony

    Regular Newcomer

    Joined:
    Nov 12, 2011
    Messages:
    778
    Likes Received:
    453
    Is it ok to say Lego Builders Journey uses raytracing better than Doom Eternal?

    Cause Lego Builders Journey uses raytracing better than Doom Eternal.
     
  4. SlmDnk

    Regular

    Joined:
    Feb 9, 2002
    Messages:
    677
    Likes Received:
    480
  5. DegustatoR

    Veteran

    Joined:
    Mar 12, 2002
    Messages:
    2,658
    Likes Received:
    2,410
    Location:
    msk.ru/spb.ru
    I was wondering when such little puzzle game will make use of RT since it's exactly the genre where one can go nuts with it due to scene simplicity and lack of need to run at more than 10 fps really.
     
    digitalwanderer, milk and PSman1700 like this.
  6. cheapchips

    Veteran Newcomer

    Joined:
    Feb 23, 2013
    Messages:
    1,987
    Likes Received:
    2,131
    Location:
    UK
    It'll be nice to see RT benchmarking pivoting something so lacking in machismo.
     
  7. cheapchips

    Veteran Newcomer

    Joined:
    Feb 23, 2013
    Messages:
    1,987
    Likes Received:
    2,131
    Location:
    UK
    The Acsent suits RT to a tea.

     
    PSman1700, chris1515, jlippo and 2 others like this.
  8. NovelYork

    Joined:
    Jun 18, 2021
    Messages:
    2
    Likes Received:
    0
    Nice, is there a Unity web version or a version to download? (sorry if it was already posted)
     
  9. Frenetic Pony

    Regular Newcomer

    Joined:
    Nov 12, 2011
    Messages:
    778
    Likes Received:
    453
    The results for spatial probes vs surface caching from that Unity project show why I find spatial probes and cone tracing interesting. Lumen takes up a ton of performance and the emissive contribution is spotty at best (lol lol lol) while working with spatial probes and trading off smaller scale detail for less noise gives you the below for less runtime cost. Or you could go for cone tracing and get surface cache/final gather and get detail without the noise (though probably with the runtime cost).

    [​IMG]
    [​IMG]
     
    Krteq, milk and digitalwanderer like this.
  10. JoeJ

    Veteran Newcomer

    Joined:
    Apr 1, 2018
    Messages:
    1,427
    Likes Received:
    1,680
    Let's say we want a uniform resolution of one probe all 10 cm.
    With spatial probes (uniform volume grid) very most of probes end up in empty or solid space, not contributing to any surface.
    If we have probes only on the surface, we are surely much faster, even if finding affection probes for a pixel to is not trivial.
    Thus, volume grid only makes sense at low resolution, e.g. having 50cm - 100cm cells as proposed in DDGI paper iirc.
    For a compromise we could tag 'useless' volume probes and reject them form the update. Then the volume probe has only twice the numbers of probes to update vs. the surface probes. Still a big number, so we eventually start to consider putting surface probes in a regular grid for easy spatial lookup.

    However, we want 'cone tracing' in any case, because angular resolution of probes is always low, no matter which method we choose.
    The only efficient way to approximate cone tracing is LOD with proper prefiltering. SDF mips can do this for geometry, but we also want it for material and it's shading. For material we would need a miped voxel volume, and for shading we need to lookup probes again. We thus want also LOD for probes, e.g. mips of the probe volume.
    (I realize that's what the Lumen UV atlas probably is good for.)

    My conclusion here was: Volumetric approaches are attractive because simplicity, but horribly inefficient and memory hungry if we target high resolution. If we go there, we likely end up using different techniques to compensate the practical low res volume limitations. And that's what Lumen or Exodus end up doing. And there you have it again: Growing complexity, even if the initial motivation was to keep it simple.
     
  11. JoeJ

    Veteran Newcomer

    Joined:
    Apr 1, 2018
    Messages:
    1,427
    Likes Received:
    1,680
    We can turn this into an advantage: How can we benefit from probes in empty space? Instead tracing visibility, we can use a light diffusion approach. So we can eliminate the visibility term from rendering eq. which is most expensive. Makes sense.
    What we get is Cryteks LPV or Lexie Dostals YT videos, extending it from partial SS voxels to world space volume.
    Problems: Hard to represent accurate angular signal - SH2 washes out colors from opposite direction, many coefficients quickly become too expensive, and speed of light depends on our diffusion iterations, so becomes very slow.
    Still i think that's attractive for volumetric lighting in combination with surface probes approach.
     
  12. Frenetic Pony

    Regular Newcomer

    Joined:
    Nov 12, 2011
    Messages:
    778
    Likes Received:
    453
    While it feels like one is slowly re-inventing signed distance fields, just with direction as well as distance, sparse... visibility probes? Do seem to be an interesting idea. Ambient dice is great, so no de-ringing and whatever there. Maybe combine it with the surface cache? Store material properties and irradiance on the surface, same as Lumen and Metro EE. Then store an approximation of the visibility function in the worldspace probesm, referring to the visibility cache.

    Now, does the surface cache use the probe grid to reference its own visibility of the surface cache? You get lightleak out of stuff that's not covered by the probe grid, but, well that'll happen anyway.

    Anyway, the coolest thing you could do with a lightprobe grid is include participating media. Include fog visibility... somehow. But once you have that you can start recursively bouncing around light. You get correct multiscattering from and to heavy fog, potentially from all light sources! All the effects are there, indirect shadowing and lighting of fog all shows up. Which feels maybe only useful for very specific use cases, but it'd still be cool. Anyway, for multibounce you still need to cache irradiance somehow. That's what a lightprobe grid as is good at, all the irradiance is right there, and versus storing it in a surface cache the memory differences shouldn't be that great, depending on resolution maybe the lightprobe grid is more compact. You also skip a step, you don't even need to access whatever a visibility probe is pointing to, you've got all the lighting info you need right there, locally, from the probe itself, or well from some interpolation of probes, but still.
     
  13. JoeJ

    Veteran Newcomer

    Joined:
    Apr 1, 2018
    Messages:
    1,427
    Likes Received:
    1,680
    I have tried such things a bit using SH2/3 and ambient cube. Ambient cube has the advantage each direction is independent, so can model multiple colors going in all directions better. Downside is directions are quantized.
    Would be interesting what ambient dice / spherical gaussians / low res cube map could do here now.

    Not sure what you mean with visibility probes. DDGI has depth channel - something like that?
    Maybe it would be nice to diffuse such visibility, to avoid costly tracing. And have decoupled hierarchical gathering of irradiance probe grid mips. So only visibility would be laggy, not the whole lighting. Interesting maybe, sadly a volume gather is insane brute force load.
    Though, if we do such volume gathering, we could also approximate visibility at the same time with anti radiosity using Bunnells method. If it's only for volumetric lighting, error would be more acceptable. But still limiting. Bright fog from a neighboring room would leak complementary color into our dark prison cell. Not good - seems no way around having some proper visibility.
    Another idea to fight lag of diffusion would be hierarchical approach - use lower mips to go faster through empty space. Never tried something like this.

    Well, volumetric lighting still feels a bit out of reach to me. But i'm mentally stuck in prev. gen :)
    Most impressive method i've ever seen is this: https://research.nvidia.com/publication/imperfect-voxelized-shadow-volumes
    Very accurate. Uses some clever projection and scan algorithm for shadowing. Can't find the video anymore but Chris Wyman has demo and src on his webpage.
     
    Frenetic Pony likes this.
  14. SlmDnk

    Regular

    Joined:
    Feb 9, 2002
    Messages:
    677
    Likes Received:
    480
    #614 SlmDnk, Jun 22, 2021
    Last edited: Jun 22, 2021
  15. DegustatoR

    Veteran

    Joined:
    Mar 12, 2002
    Messages:
    2,658
    Likes Received:
    2,410
    Location:
    msk.ru/spb.ru
    Avatar: Frontiers of Pandora will have RT reflections and RT GI according to this:

     
    jlippo, OlegSH, DavidGraham and 3 others like this.
  16. PSman1700

    Legend Newcomer

    Joined:
    Mar 22, 2019
    Messages:
    5,371
    Likes Received:
    2,368
    Head and shoulders above anything else (even CP and rift apart), to the point many think their E3 demo wasnt actual footage of what to expect.
     
  17. chris1515

    Legend Regular

    Joined:
    Jul 24, 2005
    Messages:
    6,731
    Likes Received:
    7,319
    Location:
    Barcelona Spain
    #617 chris1515, Jun 25, 2021
    Last edited: Jun 25, 2021
    trinibwoy likes this.
  18. trinibwoy

    trinibwoy Meh
    Legend

    Joined:
    Mar 17, 2004
    Messages:
    11,456
    Likes Received:
    2,258
    Location:
    New York
    Yessss.

     
    Malo, HLJ and SpeedyGonzales like this.
  19. cheapchips

    Veteran Newcomer

    Joined:
    Feb 23, 2013
    Messages:
    1,987
    Likes Received:
    2,131
    Location:
    UK
    Talked about the Unity HDRP ray tracking /SDF ray marching in Lego Builder’s Journey.

     
    DavidGraham, iroboto and Malo like this.
  20. DegustatoR

    Veteran

    Joined:
    Mar 12, 2002
    Messages:
    2,658
    Likes Received:
    2,410
    Location:
    msk.ru/spb.ru


    MSFS will be getting RT support soon:

     
    milk, pjbliverpool, Krteq and 2 others like 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...