API Reference > imodeljs-common > DisplayStyles > ViewFlags > sourceLights sourceLights sourceLights: boolean = false Controls whether the source lights in spatial models are used note Currently the renderer only supports solar lighting. For backwards-compatibility reasons, solar lights will be displayed if any combination of ViewFlags.noCameraLights, ViewFlags.noSourceLights, or ViewFlags.noSolarLight is set to false. see ViewFlags.lighting for a more convenient way to toggle lighting on and off. Defined in core/common/src/ViewFlags.ts Line 149 Last Updated: 11 June, 2024