Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Let us know your feedback about the Global Illumination changes in the 2023.2 beta.
    Dismiss Notice
  3. Dismiss Notice

best way to use reflection probe/s

Discussion in 'Global Illumination' started by ghiboz, Aug 11, 2016.

  1. ghiboz

    ghiboz

    Joined:
    Sep 7, 2012
    Posts:
    465
    hi all!
    I've got this situation: i'm building a rally simulator and I need to have the reflections: what's the best management?
    I need that the reflection probes will be used to reflect the surface (like the puddles) and the car..
    I've tried to use a probe attached to the car node to allow the car reflection, and another attached to the camera node to allow the puddles/terrain reflections..
    it's right or wrong this situation?
    have you got any ideas (also for performance)?

    thanks in advance
     
  2. AcidArrow

    AcidArrow

    Joined:
    May 20, 2010
    Posts:
    10,936
    For the environment you could set up a bunch of static reflection probes around the scene. The one on the car is probably a good idea, but I'm not sure about having a second one on the camera.

    Depending on your target specs, you can also look into SSRR.
     
  3. ghiboz

    ghiboz

    Joined:
    Sep 7, 2012
    Posts:
    465
    thanks @AcidArrow !
    I'll try.. my target is desktop pc, and now I'll look on SSR :rolleyes:
     
  4. ghiboz

    ghiboz

    Joined:
    Sep 7, 2012
    Posts:
    465
    hello again @AcidArrow ..
    I've tried to add some probes around the scene, but here is the difference:

    here is with a probe attached to the camera and the reflection is right..


    and this is a probe (like the scene image) located around this place of the scene, but the reflection is not like I wish have...
    thanks again
     
  5. AcidArrow

    AcidArrow

    Joined:
    May 20, 2010
    Posts:
    10,936
    That's why you should add SSRR on top of that.

    In any case, what you should do is whatever works best (has a good quality/performance ratio) in your specific scene and that can only be determined after you have a proper scene, so you can test what works best.
     
  6. ghiboz

    ghiboz

    Joined:
    Sep 7, 2012
    Posts:
    465
    thanks, and have you any suggestion of what SSRR use?
     
  7. AcidArrow

    AcidArrow

    Joined:
    May 20, 2010
    Posts:
    10,936
    Download official cinematic image effects package.
     
  8. ghiboz

    ghiboz

    Joined:
    Sep 7, 2012
    Posts:
    465
    thanks @AcidArrow , and works only in deferred rendering path, right?
     
  9. AcidArrow

    AcidArrow

    Joined:
    May 20, 2010
    Posts:
    10,936
    SSRR? I think so, yes.
     
  10. ghiboz

    ghiboz

    Joined:
    Sep 7, 2012
    Posts:
    465
    thanks! i'm trying, also the deferred path, that have some strange things here....
     
  11. ghiboz

    ghiboz

    Joined:
    Sep 7, 2012
    Posts:
    465
    if I enable the SSRR my scene appears gray...

    any ideas @AcidArrow ?
    in additive mode works better, doesn't reflect the sky but I think to solve it
     
  12. AcidArrow

    AcidArrow

    Joined:
    May 20, 2010
    Posts:
    10,936
    That's... weird.

    Unity version? Target platform?
     
  13. ghiboz

    ghiboz

    Joined:
    Sep 7, 2012
    Posts:
    465
    @AcidArrow i'm on unity 5.4.0p1, here are my settings:

    i load the track and the car dinamically but doesn't affect this thing
     
  14. ghiboz

    ghiboz

    Joined:
    Sep 7, 2012
    Posts:
    465
    I've made some test: in a new scene everything was fine..
    so, i've reinstalled the effects but nothing..
    at the end I found that in my project I've had the Deferred Reflections in builtin shaders a 'no support'... changed into 'builtin shaders and everything were fine!