normalTexture property
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);
Implementation
set normalTexture(Object? value) =>
_normalSource = checkTextureSource(value, 'normalTexture');