@takram/three-clouds
Version:
A Three.js and R3F implementation of geospatial volumetric clouds
10 lines (8 loc) • 865 B
text/typescript
export const CLOUD_SHAPE_TEXTURE_SIZE = 128
export const CLOUD_SHAPE_DETAIL_TEXTURE_SIZE = 32
// Reference to the latest assets.
const ref = '45a1c6c1bb9fd38b3680fd120795ff4c32df68ff'
export const DEFAULT_LOCAL_WEATHER_URL = `https://media.githubusercontent.com/media/takram-design-engineering/three-geospatial/${ref}/packages/clouds/assets/local_weather.png`
export const DEFAULT_SHAPE_URL = `https://media.githubusercontent.com/media/takram-design-engineering/three-geospatial/${ref}/packages/clouds/assets/shape.bin`
export const DEFAULT_SHAPE_DETAIL_URL = `https://media.githubusercontent.com/media/takram-design-engineering/three-geospatial/${ref}/packages/clouds/assets/shape_detail.bin`
export const DEFAULT_TURBULENCE_URL = `https://media.githubusercontent.com/media/takram-design-engineering/three-geospatial/${ref}/packages/clouds/assets/turbulence.png`