usesLightmapVariant property

  1. @protected
bool get usesLightmapVariant

Whether this material draws with its baked-lightmap variant, which reads the diffuse ambient from a lightmap instead of the environment's SH coefficients (and so declares no sh_coefficients sampler).

The shaders assigned here must already be the lightmap entries; this only tells bind which engine resources those entries declare.

Implementation

@protected
bool get usesLightmapVariant => false;