Search Unity

Shader graph emmisive material.

Discussion in 'Universal Render Pipeline' started by darkesco, Jun 1, 2021.

  1. darkesco

    darkesco

    Joined:
    Mar 19, 2015
    Posts:
    61
    Without using post-processing, can I make a material in shader graph that will apply the emission to surrounding objects. I'm not looking for a glow like neon, I just need the objects material to be treated as a light source when baked. I have a cube with red hdr emission cranked up to 10, but it emits zero light to a dark hallway after baking. Both objects are set to static. Does anyone have a solution?
     
  2. darkesco

    darkesco

    Joined:
    Mar 19, 2015
    Posts:
    61
    Took a while, but I solved it. In Unity 2020.3 (and probably other versions), under lighting settings make sure "Min Bounces" is at least 1. Any emission materials from shader graph will not show with "Min Bounces" set to 0. So happy this is fixed, not I can use textures as light sources!