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.

Feature Request Disabling shader variants for quick build tests

Discussion in 'High Definition Render Pipeline' started by nekropantz, Jun 14, 2021.

  1. nekropantz

    nekropantz

    Joined:
    Dec 11, 2012
    Posts:
    15
    Shaders compilation takes up about half of our total build time (2-3hrs). Although caching does help, sometimes we need to add or change scenes that trigger a shader recompilation (Is it full recompilation or just partial?).

    It would be really great if we could toggle an option that creates a build that just uses one very basic shader for everything.

    I was imagining something that just renders the normals as albedo and no lighting. This would let us confirm that our logic/content is correct or trace bugs before committing to the full shader compiled version.

    This is particularly important when you are coming down to the wire on a deadline. There is nothing worse than waiting an hour and a half of shader compilation when you only have 6 hrs remaining >.<
     
    Immu likes this.