Instance Property

shininess

The sharpness of specular highlights. Animatable.

Declaration

@property(nonatomic) CGFloat shininess;

Discussion

The shininess of a material interacts with its specular property and the lighting in a scene to produce bright highlights on a surface. A higher value produces more sharply defined highlights, making a surface appear more smooth and glossy.

You can animate changes to this property’s value. See Animating SceneKit Content.

See Also

Visual Properties for Basic Shading

diffuse

An object that manages the material’s diffuse response to lighting.

ambient

An object that manages the material’s response to ambient lighting.

specular

An object that manages the material’s specular response to lighting.

reflective

An object that defines the reflected color for each point on a surface.

multiply

An object that provides color values that are multiplied with pixels in a material after all other shading is complete.

transparent

An object that determines the opacity of each point in a material.

fresnelExponent

A factor affecting the material’s reflectivity. Animatable.

locksAmbientWithDiffuse

A Boolean value that determines whether the material responds identically to both ambient and diffuse lighting. Animatable.