Members

(constant) CloudsBlurShader

kawase blur pass

Methods

cartesianToLlhFastSFCT(llh)

Transforms a xyz point (EPSG:4978) to lon lat height coordinates (EPSG:4326) with longitude and latitude in degrees. The transform is slightly inaccurate compared to proj4 but it's 2.5 times faster
Parameters:
NameTypeDescription
llhTHREE.Vector3lon/lat/height

checkReloadTexture()

Checks if, according to local time, there are better suited forecast times available than those currently loaded. If so, loads the adequate forecasts and adjusts the lerp time uniform.

llhToCartesianFastSFCT(llh, radiansopt)

Transforms a lon lat height point (EPSG:4326) to cartesian coordinates (EPSG:4978). The transform is slightly inaccurate compared to proj4 but it's 3 times faster and accurate enough for most needs
Parameters:
NameTypeAttributesDefaultDescription
llhTHREE.Vector3
radiansboolean<optional>
falseset to true if the input longitude and latitude are in radians. height is always expected in meters.

setCurrentTime()

Sets the current time and adjusts the lerp uniform relative to the loaded forecast times