Contents

normalTexture

A texture that specifies the normal map for the sprite.

Declaration

var normalTexture: SKTexture? { get set }

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