@takram/three-clouds
Version:
A Three.js and R3F implementation of geospatial volumetric clouds
17 lines (16 loc) • 1.03 kB
TypeScript
import { ElementProps } from '@react-three/fiber';
import { FC } from 'react';
import { Data3DTexture, Texture } from 'three';
import { ExpandNestedProps } from '@takram/three-geospatial/r3f';
import { CloudsEffect } from '../CloudsEffect';
import { Procedural3DTexture } from '../Procedural3DTexture';
import { ProceduralTexture } from '../ProceduralTexture';
export interface CloudsProps extends Omit<ElementProps<typeof CloudsEffect, CloudsEffect & ExpandNestedProps<CloudsEffect, 'clouds'> & ExpandNestedProps<CloudsEffect, 'shadow'>>, 'localWeatherTexture' | 'shapeTexture' | 'shapeDetailTexture' | 'turbulenceTexture' | 'stbnTexture'> {
disableDefaultLayers?: boolean;
localWeatherTexture?: Texture | ProceduralTexture | string;
shapeTexture?: Data3DTexture | Procedural3DTexture | string;
shapeDetailTexture?: Data3DTexture | Procedural3DTexture | string;
turbulenceTexture?: Texture | ProceduralTexture | string;
stbnTexture?: Data3DTexture | string;
}
export declare const Clouds: FC<CloudsProps>;