Legacy Documentation: Version 4.5.0

Script language:

  • JS
  • C#
  • Boo
Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

RenderSettings.haloStrength

static var haloStrength: float;
static float haloStrength;
static haloStrength as float

Description

Size of the Light halos.

For any light, the size of the halo is this value multiplied by Light.range.

	// Make all halos used by lights be half the size of Light.range
	RenderSettings.haloStrength = 0.5;