Cull beta
Interface of @v12-engine/render
ts
export interface CullWhat one pass culls by
Members
cascade
ts
cascade?: number;Of a cascade's: which it is, for a copy cast into so many at most (copyOut's most)
count
ts
count: number;How many of the planes are in use
ends
ts
ends?: Float32Array;Of a cascade's: the d of the far side of the slab of each so far this frame (cascadeCull)
eye
ts
eye: Float32Array;The eye, for what stops casting by its distance
planes
ts
planes: Float32Array;a, b, c, d of each plane, of length 1: a point is in where ax + by + c*z + d = 0
sweep
ts
sweep?: Sweep;Set where any plane sweeps
through
ts
through: Float32Array;How much of a shadow's length counts towards each plane: 0 for a plane shadows are not swept against