UNPKG

@takram/three-atmosphere

Version:
24 lines (23 loc) 4.91 kB
export declare const clampCosine: import('three/src/nodes/TSL.js').ShaderNodeFn<[number | import('three/webgpu').Node]>; export declare const clampRadius: import('three/src/nodes/TSL.js').ShaderNodeFn<[number | import('three/webgpu').Node, number | import('three/webgpu').Node]>; export declare const sqrtSafe: import('three/src/nodes/TSL.js').ShaderNodeFn<[number | import('three/webgpu').Node]>; export declare const distanceToTopAtmosphereBoundary: import('three/src/nodes/TSL.js').ShaderNodeFn<[number | import('three/webgpu').Node, number | import('three/webgpu').Node, number | import('three/webgpu').Node]>; export declare const distanceToBottomAtmosphereBoundary: import('three/src/nodes/TSL.js').ShaderNodeFn<[number | import('three/webgpu').Node, number | import('three/webgpu').Node, number | import('three/webgpu').Node]>; export declare const distanceToNearestAtmosphereBoundary: import('three/src/nodes/TSL.js').ShaderNodeFn<[number | import('three/webgpu').Node, number | import('three/webgpu').Node, number | import('three/webgpu').Node, number | import('three/webgpu').Node]>; export declare const rayIntersectsGround: import('three/src/nodes/TSL.js').ShaderNodeFn<[number | import('three/webgpu').Node, number | import('three/webgpu').Node, number | import('three/webgpu').Node]>; export declare const getTransmittanceToTopAtmosphereBoundary: import('three/src/nodes/TSL.js').ShaderNodeFn<[transmittanceNode: number | import('three/webgpu').Node, radius: number | import('three/webgpu').Node, cosView: number | import('three/webgpu').Node]>; export declare const getTransmittance: import('three/src/nodes/TSL.js').ShaderNodeFn<[transmittanceNode: number | import('three/webgpu').Node, radius: number | import('three/webgpu').Node, cosView: number | import('three/webgpu').Node, rayLength: number | import('three/webgpu').Node, intersectsGround: number | import('three/webgpu').Node]>; export declare const getTransmittanceToSun: import('three/src/nodes/TSL.js').ShaderNodeFn<[transmittanceNode: number | import('three/webgpu').Node, radius: number | import('three/webgpu').Node, cosLight: number | import('three/webgpu').Node]>; export declare const rayleighPhaseFunction: import('three/src/nodes/TSL.js').ShaderNodeFn<[number | import('three/webgpu').Node]>; export declare const miePhaseFunction: import('three/src/nodes/TSL.js').ShaderNodeFn<[number | import('three/webgpu').Node, number | import('three/webgpu').Node]>; export declare const getScatteringTextureCoord: import('three/src/nodes/TSL.js').ShaderNodeFn<[number | import('three/webgpu').Node, number | import('three/webgpu').Node, number | import('three/webgpu').Node, number | import('three/webgpu').Node, number | import('three/webgpu').Node, number | import('three/webgpu').Node]>; export declare const getScattering: import('three/src/nodes/TSL.js').ShaderNodeFn<[scatteringNode: number | import('three/webgpu').Node, radius: number | import('three/webgpu').Node, cosView: number | import('three/webgpu').Node, cosLight: number | import('three/webgpu').Node, cosViewLight: number | import('three/webgpu').Node, intersectsGround: number | import('three/webgpu').Node]>; export declare const getIrradiance: import('three/src/nodes/TSL.js').ShaderNodeFn<[irradianceNode: number | import('three/webgpu').Node, radius: number | import('three/webgpu').Node, cosLight: number | import('three/webgpu').Node]>; export declare const getProfileDensity: import('three/src/nodes/TSL.js').ShaderNodeFn<[number | import('three/webgpu').Node, number | import('three/webgpu').Node]>; export declare const getUnitRangeFromTextureCoord: import('three/src/nodes/TSL.js').ShaderNodeFn<[number | import('three/webgpu').Node, number | import('three/webgpu').Node]>; export declare const scatteringParamsStruct: import('three/src/nodes/TSL.js').Struct; export declare const getParamsFromScatteringTextureFragCoord: import('three/src/nodes/TSL.js').ShaderNodeFn<[number | import('three/webgpu').Node, number | import('three/webgpu').Node]>; export declare const getExtrapolatedSingleMieScattering: import('three/src/nodes/TSL.js').ShaderNodeFn<[number | import('three/webgpu').Node, number | import('three/webgpu').Node, number | import('three/webgpu').Node]>; export declare const combinedScatteringStruct: import('three/src/nodes/TSL.js').Struct; export declare const getCombinedScattering: import('three/src/nodes/TSL.js').ShaderNodeFn<[parameters: number | import('three/webgpu').Node, scatteringNode: number | import('three/webgpu').Node, singleMieScatteringNode: number | import('three/webgpu').Node, radius: number | import('three/webgpu').Node, cosView: number | import('three/webgpu').Node, cosLight: number | import('three/webgpu').Node, cosViewLight: number | import('three/webgpu').Node, intersectsGround: number | import('three/webgpu').Node]>; export declare const radianceTransferStruct: import('three/src/nodes/TSL.js').Struct;