Skip to content

FogOfWar

const FogOfWar: ComponentDef<FogOfWarData>

Defined in: sdk/src/render/fogOfWar.ts:51

Names the world rectangle a 2D fog of war covers. Put a fog2d effect in the scene’s post-process volume to draw it.