backgroundTexture property

Texture get backgroundTexture

The full-res source equirect sampled for the visible background, or a dummy when hasBackgroundTexture is false (the sampler must still be bound).

Implementation

gpu.Texture get backgroundTexture =>
    _backgroundTexture ?? Material.getBlackPlaceholderTexture();