Are screen-space reflections possible?

Discussion in 'Ideas and Suggestions' started by mrwallace888, Dec 9, 2020.

  1. mrwallace888

    mrwallace888
    Expand Collapse

    Joined:
    Jun 17, 2015
    Messages:
    516
    In some cases they can look really good and I think in some cases they can look better than simple dynamic reflections. Maybe you could keep dynamic reflections for mirrors and stuff and use SSR for everything else.
     
    • Like Like x 1
    • Agree Agree x 1
  2. P_enta

    P_enta
    Expand Collapse

    Joined:
    Jan 11, 2020
    Messages:
    3,029
    reshade will give you ssr... except it’s laggy as all hell and never works BUT you can do it.
     
  3. mrwallace888

    mrwallace888
    Expand Collapse

    Joined:
    Jun 17, 2015
    Messages:
    516
    One of the main things as well is then cars can reflect off of themselves. So you could see the reflection of your taillights in your shiny chrome bumper.
     
    • Like Like x 1
  4. P_enta

    P_enta
    Expand Collapse

    Joined:
    Jan 11, 2020
    Messages:
    3,029
    also would the interior mirror reflect the interior? So it’s actually realistic?
     
    • Like Like x 2
  5. Littleturdlet

    Littleturdlet
    Expand Collapse

    Joined:
    Feb 12, 2017
    Messages:
    239
    Nope, screen space reflections can only reflect what is on the screen.
     
    • Like Like x 1
  6. mrwallace888

    mrwallace888
    Expand Collapse

    Joined:
    Jun 17, 2015
    Messages:
    516
    Is there a method that works similar to SSR but renders everything behind the camera too?
     
  7. Littleturdlet

    Littleturdlet
    Expand Collapse

    Joined:
    Feb 12, 2017
    Messages:
    239
    Not that I can think of except for ray traced reflections.
     
  8. mrwallace888

    mrwallace888
    Expand Collapse

    Joined:
    Jun 17, 2015
    Messages:
    516
    upload_2020-12-13_17-43-18.png
    First time using Reshade and enabling SSR looks like this. The hell?
     
  9. Kasir

    Kasir
    Expand Collapse

    Joined:
    Dec 27, 2018
    Messages:
    995
    My takeaway from this:

    -The game counts UI as part of the reflected environment

    -SSR is taken a bit literally

    -Grid Small Pure is apparently shiny as fuck
     
  10. mrwallace888

    mrwallace888
    Expand Collapse

    Joined:
    Jun 17, 2015
    Messages:
    516
    Bit of a bump. Anyone better with ReShade fiddling?
     
  11. mrwallace888

    mrwallace888
    Expand Collapse

    Joined:
    Jun 17, 2015
    Messages:
    516
  12. Nazu

    Nazu
    Expand Collapse

    Joined:
    Dec 22, 2021
    Messages:
    1,296
    if ssr has a really low value like 0.100 it looks good
     
  13. Firepal3D

    Firepal3D
    Expand Collapse

    Joined:
    Mar 26, 2022
    Messages:
    24
    The state of the art for this is ray-tracing, which afaik CryEngine 3 Torque3D doesn't support out of the box. It's also like using a windblower to clean up your room IMO, a bit of an extreme solution.

    For the specific use-case of rear-view mirrors, Planar Reflections requires you re-render the world from the player camera's position + rotation as reflected in the mirror, but you get perfect reflection fidelity. The ETS games use this for side mirrors.

    SSR is a close-relative technology to SSAO ("Ambient Occlusion"), and BeamNG has this effect, I don't have much doubt that SSR could be implemented by the developers if they so wished.
    --- Post updated ---
    Also, implementing SSR directly into the engine is not the same as installing ReShade in BeamNG and enabling an SSR shader.
    BeamNG.drive has something that ReShade can't access and is very important for SSR; a material's roughness.

    This is basically a value that tells the lighting system how blurry a given material's reflections are.

    Reshade can't differentiate between the roughness of a road and a mirror, because it only has access to color and depth. Meanwhile, BeamNG does have access to the roughness of materials.

    It would be significant for BeamNG to implement SSR with variable roughness. (or at least disable SSR on rough surfaces where reflections would be too noisy but then we have to dive into the question of also implementing Temporal Anti-Aliasing and that's a whole can of worms I want opened in a different post etc.)
     
    #13 Firepal3D, Mar 26, 2022
    Last edited: Mar 26, 2022
  14. Turbo49>

    Turbo49>
    Expand Collapse

    Joined:
    Apr 1, 2021
    Messages:
    3,097
    I just wanted to correct you, beam runs on a modified version of torque3d.
     
    • Like Like x 1
    • Agree Agree x 1
  15. Firepal3D

    Firepal3D
    Expand Collapse

    Joined:
    Mar 26, 2022
    Messages:
    24
    My bad. I read the BeamNG wikipedia article too quickly :p
     
  16. Agent_Y

    Agent_Y
    Expand Collapse
    Jbeam/QA support
    BeamNG Team

    Joined:
    Jul 10, 2020
    Messages:
    10,056
    Highly modified. I don't think it originally supported PBR, or even JSON materials.
     
    • Agree Agree x 1
  17. mrwallace888

    mrwallace888
    Expand Collapse

    Joined:
    Jun 17, 2015
    Messages:
    516
    Doesn't Blockland use Torque3D as well? Or does it just use another engine also called Torque?
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice