playcanvas
Version:
Open-source WebGL/WebGPU 3D engine for the web
10 lines (9 loc) • 377 B
TypeScript
/** Minimum alpha treated as visible; matches historical 1/255 shader floor. */
export const ALPHA_VISIBILITY_THRESHOLD: number;
export const CACHE_STRIDE: 8;
/**
* Number of distance buckets for global splat budget balancing.
* More buckets = finer granularity for budget prioritization (sqrt-based distance mapping).
* @type {number}
*/
export const NUM_BUCKETS: number;