normalTexture property

Texture? get normalTexture

Tangent-space normal map. Defaults to a flat normal when null.

Accepts a gpu.Texture or a RenderTexture (sampled live).

Implementation

gpu.Texture? get normalTexture => resolveTextureSource(_normalSource);
set normalTexture (Object? value)

Implementation

set normalTexture(Object? value) =>
    _normalSource = checkTextureSource(value, 'normalTexture');