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. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

HDRenderPipeline/LayeredLit -- Emissive Per Layer?

Discussion in 'General Graphics' started by sabillano, May 17, 2018.

  1. sabillano

    sabillano

    Joined:
    May 17, 2018
    Posts:
    1
    I asked this already in the GitHub - Issues, but maybe someone here is interested also.


    We used to use Substance Material Layering at my company. Now that it has been deprecated,l looks like this is the way to go. But there is no Emissive per Layer. We had the same issues with Substance long time ago and we had to change the shader on our own. Why everybody forgets about the emissive??

    Right now there is one emissive at the end of the LayeredLit Material.
    We need to have Emissive as an individual parameter. So we can modify each Layer's Emissive individually. I tried modifying the Emissive parameter from the individual Lit material and Re-Synchronizing but is not transferred to the Layered one, so I guess is not taken on account. Also we would need to be able to modify the Emissive parameter in RT, so this was just a test, Re-Synchronizing in RT is not an option I suppose.

    Since we need this really urgently I would like to ask:
    --Is it going to be a featured in the near future?
    --Is it even possible/easy to do it, or is not possible due limitations?
     
  2. racarate

    racarate

    Joined:
    Jul 14, 2012
    Posts:
    62
    I would like this too, would be nice for cyber materials.
     
  3. cla08

    cla08

    Joined:
    Oct 5, 2015
    Posts:
    6
    Very late reply, but you can do that easily by opening the LayeredLit shader and add "[HDR] " in front of the four _BaseColor properties, starting at line 11.