UNPKG

@takram/three-atmosphere

Version:
18 lines (17 loc) 424 B
import { DataArrayTexture, Matrix4, Texture, Vector2 } from 'three'; export interface AtmosphereOverlay { map: Texture; } export interface AtmosphereShadowLength { map: Texture; } export interface AtmosphereShadow { map: DataArrayTexture; mapSize: Vector2; cascadeCount: number; intervals: Vector2[]; matrices: Matrix4[]; inverseMatrices: Matrix4[]; far: number; topHeight: number; }