Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Question Make the scene fully dark if there's no Light GameObject enabled

Discussion in 'High Definition Render Pipeline' started by Kappawaii, Sep 17, 2019.

  1. Kappawaii

    Kappawaii

    Joined:
    Dec 22, 2016
    Posts:
    3
    Hi,
    I forgot how to make a new HDRP scene fully black if there's no light enabled.

    I can get a fully dark output if I remove the Scene Settings "Volume" and "Static Lighting Sky" components, but I can still see the cube :

    And then I get a black skybox if I turn the light back on:

    Is there a simple solution to this or do I need to make a script that changes multiple parameters at once to change from day/night ? I'm thinking there must be a simple way to make day/night cycle without having a bright night.

    I'd appreciate any help,
    Kappawaii
     
    Last edited: Sep 19, 2019
  2. nsxdavid

    nsxdavid

    Joined:
    Apr 6, 2009
    Posts:
    476