No announcement yet.

Screenspace reflections?

  • Filter
  • Time
  • Show
Clear All
new posts

    Screenspace reflections?

    I'd like to add some screenspace reflections to my water materials.

    It's my understanding that screenspace reflections are cheap as they are only using what is already rendered on screen. I'm after something like this:

    However I can't find much documentation on how to set this up. Can anyone give any insight?

    For water I use the distorted reflections from here

    Never tried to use the dx11 ones for water though


      O_and_N (I know this an old post). Doesn't this distorted reflection approach require a static texture for the reflection though?

      My game has a day night cycle and a huge map. i would really love to get real time reflections working (especially for metal surfaces and water).

      This old polygon post shows a very nice screen space reflection technique (which also works on DX9):

      There's unfortunately no guide on how it was implemented though.


        By static you mean that it wont update the environment change? No, Im all most sure it is dynamic(i remember on trowing crates in such a room with that material on the floor and it updated like a mirror the crates position) as in the end it was a scene capture reflect actor that is pointed at the ground and updates in real time in dx9.Never bothered to see if it will update lightning change(time of day) but I think it should be ok?
        Here is a more simple idea to start with:

        Maybe do that, and add it to the water shader and observe from there what will happen as Im interested also.


          Hello mate,

          I did use this tutorial:

          This was the result (i reduced a bit the reflections on the material settings as I don't want to make my floor look like a mirror:

          However, in the end I gave up this, because I want to focus on performance for my game, and it runs very well. On mid-spec PC's (My PC) it runs at 60 fps, on low spec pcs and consoles (Xbox360 and PS3) it runs at 30 fps.

          With these realtime reflections my fps dropped from 60 fps to 25, so it was not worth.

          But on any current gen gaming PC it run at almost 300 fps:


            Thanks guys. Yes I managed to get it working (somewhat).

            I want to use it for water surfaces, and to get a nice convincing effect, is not as easy as creating a shiny floor (due to distortion causing artifacts).

            It's very doable though, and it's nice I now have a basis to start from. Going to have to delay working on it though as I'm working on dedicated servers at the moment.