Skip to content

Documentation / @sw-file-lib/three / CreateSwLightsOptions

Interface: CreateSwLightsOptions ​

ts
interface CreateSwLightsOptions {
  readonly directionalIntensity?: number;
  readonly hemisphereIntensity?: number;
}

Defined in: lights.ts:7

Options used when creating the default Stormworks-style lights.

Properties ​

PropertyModifierTypeDescription

directionalIntensity?

readonly

number

Intensity of the directional light. Defaults to 1.0.

hemisphereIntensity?

readonly

number

Intensity of the hemisphere light. Defaults to 1.6.