Search Unity

'Faking' SSR with LWRP

Discussion in 'Image Effects' started by eco_bach, Mar 30, 2019.

  1. eco_bach

    eco_bach

    Joined:
    Jul 8, 2013
    Posts:
    1,601
    So LWRP does not yet support SSR but I really need it for my game.

    Does anyone know a way of 'faking' SSR, perhaps with shaders or ?
     
  2. Yandalf

    Yandalf

    Joined:
    Feb 11, 2014
    Posts:
    491
    Can you perhaps handle reflections using the old cubemap approach?
    If so, you can create cubemaps by placing cameras in your scene and using RenderToCubeMap on them.
    Keep in mind this will probably be quite costly on performance depending on the amount of cubemaps you generate, and requires custom shaders to use these cubemaps.
     
  3. Stardog

    Stardog

    Joined:
    Jun 28, 2010
    Posts:
    1,913
    Fake it with well placed Reflection Probes. For a shiny floor you can make the size of the box match the room.

    For an old school style shiny floor you can make a see-through texture on the floor, then duplicate the geometry above the floor and flip it upside down. This adds to the triangle count.