Instance Property

normalTexture

A texture that specifies the normal map for the sprite.

Declaration

@property(nonatomic, retain) SKTexture *normalTexture;

Discussion

A normal map texture is used when a sprite is lit, giving it a more realistic look with shadows and specular highlights. The texture must be a normal map texture.

See Also

Lighting a Sprite

Lighting a Sprite with Light Nodes

Add lighting and shadows to your scene with light nodes.

lightingBitMask

A mask that defines how this sprite is lit by light nodes in the scene.

shadowedBitMask

A mask that defines which lights add shadows to the sprite.

shadowCastBitMask

A mask that defines which lights are occluded by this sprite.