Skip to main content

flywave-mapview.materialoptions.fog

Home > @flywave/flywave-mapview > MaterialOptions > fog

MaterialOptions.fog property

RawShaderMaterial instances need to know about the fog at instantiation in order to avoid recompiling them manually later (ThreeJS does not update fog for RawShaderMaterials).

Signature:

fog?: boolean;