Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice

How to support ambient mode when using RenderPipeline?

Discussion in 'Graphics Experimental Previews' started by watsonsong, Feb 28, 2018.

  1. watsonsong

    watsonsong

    Joined:
    May 13, 2015
    Posts:
    555
    The RenderSettings.ambientMode has different mode, and I check the RenderSettings.ambientMode and send keyword and variable into shader. And I met some problem.
    The first is the RenderSettings.ambientMode is not change.
    And I don't known how to deal with the ambientGroundColor, ambientEquatorColor and ambientSkyColor.

    Usually I am using the Shade9SH to calculate the ambient, it seems support all different ambient mode include the light probe. How can I make my custom RenderPipeline support ambient perfectly?