PhysicalSkySpec constructor
PhysicalSkySpec({})
Creates the spec with the runtime defaults.
Implementation
PhysicalSkySpec({
Vector3? sunDirection,
this.sunAngularRadius = 0.0175,
this.rayleighCoefficient = 2.0,
Vector3? rayleighColor,
this.mieCoefficient = 0.005,
this.mieEccentricity = 0.8,
Vector3? mieColor,
this.turbidity = 10.0,
Vector3? groundColor,
this.energy = 1.0,
}) : sunDirection = sunDirection ?? Vector3(0.4, 0.5, 0.6),
rayleighColor = rayleighColor ?? Vector3(0.26, 0.41, 0.58),
mieColor = mieColor ?? Vector3(0.69, 0.73, 0.81),
groundColor = groundColor ?? Vector3(0.12, 0.12, 0.13);