Search Unity

Question Relfection Probes doen't render custom light mapping (BuildIn pipeline)

Discussion in 'Global Illumination' started by Quatum1000, Sep 30, 2021.

  1. Quatum1000

    Quatum1000

    Joined:
    Oct 5, 2014
    Posts:
    889
    Hi,

    I build my own pre rendered real-time diffuse light mapping in the deferred shader
    Internal_DeferredShading.shader :: CalculateLight(unity_v2f_deferred i)

    But unfortunately the reflection probe doesn't see the light mapping when it's rendering into the probe.
    See example:
    Untitled-1.jpg

    Is there a point where I can insert the light mapping into? Or it's not possible?

    Thank you!
     
  2. kristijonas_unity

    kristijonas_unity

    Unity Technologies

    Joined:
    Feb 8, 2018
    Posts:
    1,080
    Judging from the reflection probe preview, it does capture the surroundings outside of the spotlight influence area. It is very dark, though. Could you try switching to a different encoding format for your cubemaps? Also, make sure that Lightmap Encoding is set to either High or Medium Quality in the project settings, as this will affect reflection probes as well.