AdaptiveGIMaterial

Stores per object material information. This allows for color bouncing and emissive materials. There can only be one AdaptiveGIMaterial on each GameObject.

Diffuse

Diffuse Multiplier

The diffuse multiplier of this material that can be used to artistically brighten or darken the light bouncing off this material.

Default value: 1

Accessible via scripting: Yes

Type: Single

 DiffuseMultiplier 

Diffuse Color

The diffuse color of this material that is multiplied with light color to produce the final GI color.

Default value: RGBA(1.000, 1.000, 1.000, 1.000)

Accessible via scripting: Yes

Type: Color

 DiffuseColor 

Emission

Emission Intensity

The intensity of the light emitted from this material.

Default value: 0

Accessible via scripting: Yes

Type: Single

 EmissionIntensity 

Emission Color

The color of the light emitted from this material.

Default value: RGBA(0.000, 0.000, 0.000, 1.000)

Accessible via scripting: Yes

Type: Color

 EmissionColor 

Initialize

Call this whenever you programatically add or remove a collider from the GameObject this script is on.

Returns: Void

 Initialize() 

Last updated