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

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

  1. Kaotik

    Kaotik Drunk Member
    Legend

    Joined:
    Apr 16, 2003
    Messages:
    10,247
    Likes Received:
    4,465
    Location:
    Finland
    Of course, not everything can be done as generic, programmable hardware while maintaining performance, but I sincerely hope we won't end up in a future where every damn thing has it's own fixed function hardware either.
     
    OCASM likes this.
  2. Ext3h

    Regular

    Joined:
    Sep 4, 2015
    Messages:
    428
    Likes Received:
    497
    Maybe I'm picky, but have a close look at the area below the hut. That's looking quite similar to the difference between the "low" and "medium" settings in the initial release. Lack of GI due to cutting of additional bounces prematurely. Ambient occlusion on the rocks on the wall also vanished.

    I know, GI or AO is not a primary goal. But that's exactly the type of artifacts you would expect if they tried to use raytracing exclusively for shadows and reflections. And in return trying to cheapskate on rays from diffuse materials. And not reactivating classic SSAO + classic GI either.
     
  3. Kaotik

    Kaotik Drunk Member
    Legend

    Joined:
    Apr 16, 2003
    Messages:
    10,247
    Likes Received:
    4,465
    Location:
    Finland
    BFV doesn't use raytracing for the GI or AO though, just reflections
     
  4. DavidGraham

    Veteran

    Joined:
    Dec 22, 2009
    Messages:
    3,976
    Likes Received:
    5,213
    Those scenes are filled with subtle reflections though, only noticeable up close. Barrels, metallic surfaces, glass, walls of buildings .. etc, all are bouncing rays left and right. There were also the huge amount of bugs that caused performance degradation: Destructibles, foliage, and many objects through the bounding boxes expanding bug, all caused fps drops and compounded the cost of ray tracing needlessly.

    It looks like this is an early application of the hyprid system they are planning to deploy, they are calling it "hybrid ray trace/ray march system".

    https://www.eurogamer.net/articles/digitalfoundry-2018-battlefield-5-rtx-ray-tracing-analysis
     
    Jupiter, egoless, Scott_Arm and 3 others like this.
  5. dobwal

    Legend

    Joined:
    Oct 26, 2005
    Messages:
    5,955
    Likes Received:
    2,326
    www.cbc.ca/i/caffeine/syndicate/mediaId=839625795653
     
  6. Kaotik

    Kaotik Drunk Member
    Legend

    Joined:
    Apr 16, 2003
    Messages:
    10,247
    Likes Received:
    4,465
    Location:
    Finland
    BRiT likes this.
  7. DavidGraham

    Veteran

    Joined:
    Dec 22, 2009
    Messages:
    3,976
    Likes Received:
    5,213
    PCGH did their testing confirming the huge performance uplift.

    EDIT: for further calrifications.

    So before the patch, small foliage like grass and flying leaves were not reflected at all with DXR, but after the patch, DICE decided to make these objects be reflected but through SSR, on top of the ray traced reflections.

    Old Post:
    PCGH had several notes regarding the hybrid ray tracing methods, it looks like this is now used to make previously non-reflected objects, become visibly reflected. So some foliage (grass, flying leaves) and fine particles were previously not visible with the DXR reflections, after the patch they are now reflected through SSR, while the rest of the environment is reflected through ray tracing, large foliage like tree tops and branches are also ray traced.

    So the patch increases the image quality in this particular aspect, but introduces some limited SSR artifacts into the mix.

    http://www.pcgameshardware.de/Battl...5-Day-1-Patch-Direct-X-12-Nvidia-RTX-1269296/
     
    #527 DavidGraham, Dec 6, 2018
    Last edited: Dec 6, 2018
    Lightman, OCASM, vipa899 and 2 others like this.
  8. eloyc

    Veteran

    Joined:
    Jan 23, 2009
    Messages:
    2,551
    Likes Received:
    1,705
    So, indeed, a significant part of the improvement is because RT is pared back, not just because RT is optimized, per se.
     
    pharma likes this.
  9. DavidGraham

    Veteran

    Joined:
    Dec 22, 2009
    Messages:
    3,976
    Likes Received:
    5,213
    No, most of the uplift comes from bug fixes and optimizations, the elements now rendered with SSR were not even originally rendered with DXR , they are now being rendered in the new patch. All originally ray traced objects remain ray traced, they didn't undergo any degradation in quality.
     
  10. Shifty Geezer

    Shifty Geezer uber-Troll!
    Moderator Legend

    Joined:
    Dec 7, 2004
    Messages:
    44,106
    Likes Received:
    16,898
    Location:
    Under my bridge
    That's quite the leap. It could just as well be that the RT aspect is improved, and the SSR reflections are added on top to solve the non-traced aspects. Is there any evidence the raytracing has been reduced?
     
    DavidGraham likes this.
  11. eloyc

    Veteran

    Joined:
    Jan 23, 2009
    Messages:
    2,551
    Likes Received:
    1,705

    Cool, then. :)
     
  12. DavidGraham

    Veteran

    Joined:
    Dec 22, 2009
    Messages:
    3,976
    Likes Received:
    5,213
    So far, no. And we've had testing from TPU, PCGH, Guru3D, HardwareUnboxed .. etc.
    That's exactly what's happening.
     
    egoless likes this.
  13. Voxilla

    Regular

    Joined:
    Jun 23, 2007
    Messages:
    832
    Likes Received:
    505
    Maybe somebody could do some new puddle investigation (old patch looks like):


    With the old patch reflections of leaves were missing.
    https://techreport.com/review/34267/examining-the-performance-of-nvidia-rtx-effects-in-battlefield-v
    "Part of that may be because the RTX reflection algorithm doesn't seem to try to account for the leaves blowing across the puddles of water in the scene, as the default reflections do, simply because casting that many rays on fast-moving objects may be too much to ask at the moment."
     
    Lightman likes this.
  14. Shifty Geezer

    Shifty Geezer uber-Troll!
    Moderator Legend

    Joined:
    Dec 7, 2004
    Messages:
    44,106
    Likes Received:
    16,898
    Location:
    Under my bridge
    Casting rays on 'fast moving objects' is no more costly than casting them on static objects, unless they aren't updating the BVH in realtime. They make it sound like when objects are fast moving, you need to cast more rays, almost as if looking for them. ;)
     
    BRiT and DavidGraham like this.
  15. Kaotik

    Kaotik Drunk Member
    Legend

    Joined:
    Apr 16, 2003
    Messages:
    10,247
    Likes Received:
    4,465
    Location:
    Finland
    I'm pretty sure vegetation was raytraced before in most scenarios, though there were buggy places too where it never appeared in reflections
     
  16. troyan

    Regular

    Joined:
    Sep 1, 2015
    Messages:
    609
    Likes Received:
    1,142
    Looks like that casting rays has still a huge penalty in BF5. The difference between "Ultra" and "Low" is a lot smaller than between "Off" and "Low".
     
  17. Malo

    Malo Yak Mechanicum
    Legend Subscriber

    Joined:
    Feb 9, 2002
    Messages:
    8,931
    Likes Received:
    5,533
    Location:
    Pennsylvania
    Of course, and I wouldn't expect otherwise.
     
    milk likes this.
  18. Scott_Arm

    Legend

    Joined:
    Jun 16, 2004
    Messages:
    15,134
    Likes Received:
    7,680
    Ray casting on turing for a 1080p image with 1spp sounds like it takes slightly less than 1ms, which is significant, especially as you push to higher frame rates. At 120fps you're using 12% of your frame time just casting 1 ray per pixel. But with Turing shading is still the primary cost of ray-tracing, especially because non-coherent rays are probably not friendly to gpu cache. I'd like to see gpu power measurements before and after the patch. People said the gpus drew less power with ray-tracing on before the patch. I wonder how much closer the power gap is now, as kind of a proxy for gpu utilization.
     
  19. Voxilla

    Regular

    Joined:
    Jun 23, 2007
    Messages:
    832
    Likes Received:
    505
    Question is are the falling leaves now reflected and if they do are the reflections with raytracing or SSR.
     
  20. Scott_Arm

    Legend

    Joined:
    Jun 16, 2004
    Messages:
    15,134
    Likes Received:
    7,680
    If the falling leaves are reflected then they're SSR, because I doubt they'd be updating the BVH for such small dynamic geometry, but that doesn't mean they're casting any less DXR rays per scene. They screen is split into 16x16 tiles, and the rays are cast where they're needed most, up to a maxium % of the screen resolution. So Ultra is supposed to be 40% of the screen resolution. So if some rays are now SSR, the may still be casting the same number of DXR rays in the cases where SSR fails, improving the overall quality. In other words, SSR is not in itself proof that DXR resolution has been compromised. You'd have to find a scene with many off-screen reflections, like one of the city levels facing a building with many windows reflecting the scene behind the camera, and see what the quality difference and performance difference is. That would probably be the best case to test DXR performance without confusing any screen-space reflections that may muddy the waters.
     
    DavidGraham, milk, vipa899 and 4 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...