Skip to content

SkyState beta ​

Interface of @v12-engine/render

ts
export interface SkyState

The sky's light, from above and from below, written in place by the game and read each frame

Members ​

colour ​

ts
colour: Vec3;

The light from the sky

direction ​

ts
direction: Vec3;

Towards the sky

ground ​

ts
ground: Vec3;

The light from below