export { sampleHlodImage } from './imageSampling'; import type { HlodBakeResult, HlodGeometry, HlodMaterial, HlodSurface } from './types'; /** * A source face shows on a proxy face only when it turns toward it by at least this cosine (about 78 degrees). Both passes use it: the * coverage pass drops samples facing elsewhere, and the nearest-point pass looks past a nearer face that does not qualify. A curtain wall * recessed behind CS2's LOD2 box is the case: the nearest source point to a box texel is the side of a fin or the inward face of a pane, * and its normal, written into the texel's tangent frame, leans the texel up to 90 degrees off its wall (black blotches in the light). */ export declare const SOURCE_FACING_MIN = 0.2; /** Project the original unlit PBR surface onto freshly unwrapped proxy geometry. */ export declare function transferHlodSurface(source: HlodSurface, materials: HlodMaterial[], target: HlodGeometry, size: number, maxDistanceM: number, signal?: AbortSignal): Pick & { sampled: number; misses: number; maxDistanceM: number; };