Dela via


SceneLightingEffect.SpecularShine Property

Definition

Specular power for the Blinn-Phong lighting model.

public:
 property float SpecularShine { float get(); void set(float value); };
float SpecularShine();

void SpecularShine(float value);
public float SpecularShine { get; set; }
var single = sceneLightingEffect.specularShine;
sceneLightingEffect.specularShine = single;
Public Property SpecularShine As Single

Property Value

Single

float

Specular power for the Blinn-Phong lighting model. Value must be set between 1.0 and 128. The default value is 16.

Remarks

The SpecularShine property provides the exponent for the specular term in the Phong lighting equation. A larger value corresponds to a more reflective surface. The value must be between 1.0 and 128.

Applies to