Skip to content

PictureLens beta ​

Interface of @v12-engine/render

ts
export interface PictureLens

What a cinematic asks of the lens (the client's WorldPicture.lens)

Members ​

aberration ​

ts
aberration: number;

The colours split at the edges, 0 for none (Babylon's amount at 60 times it)

focus ​

ts
focus?: {
        distance: number;
        aperture: number;
    };

Depth of field: sharp at distance cells from the camera, blurred before and behind; aperture the f-stop of a 50 mm lens

grain ​

ts
grain: number;

Film grain, 0 for none (Babylon's intensity at 30 times it)