Search Unity

Changing skybox at run time

Discussion in 'Universal Render Pipeline' started by Tartiflette, Oct 9, 2019.

  1. Tartiflette

    Tartiflette

    Joined:
    Apr 10, 2015
    Posts:
    84
    Is there a way to properly change the scene skybox at run time? It looks like in URP, changing the skybox material (found in the lighting menu) does not update the diffuse or specular GI meaning that the visual environment and the way objects are lit do not match.
    For the specular side of things, I suppose I could set the reflection source to Custom and pass it my cubemap, but I don't believe there is a similar solution for the diffuse lighting.


    Any ideas?

    Many thanks