Skip to content

five-on-it / apps/client/src/renderer/occluders / createOccluderFade

Function: createOccluderFade() ​

createOccluderFade(scene, level, batches, root, candidates, roofCount): OccluderFade

Defined in: apps/client/src/renderer/occluders.ts:338

Fades the level's tall buildings that hide the car (see the module documentation): the candidates from findOccluders, the batches they are baked into, and the node the copies hang under.

Parameters ​

scene ​

Scene

level ​

LevelData

batches ​

LevelBatches

root ​

TransformNode

candidates ​

readonly Occluder[]

roofCount ​

number

Returns ​

OccluderFade