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

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

Well kind of my definition you DO have a light: the sky! It is generating light which your object is being picked up. You’ll want to remove the Static Sky Light and use a dynamic lighting technique for the sky.

My guess is that for your intended use, you probably want a Physically Based Sky volume component.

https://docs.unity3d.com/Packages/com.unity.render-pipelines.high-definition@7.1/manual/Override-Physically-Based-Sky.html