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:
Name | Type | Description |
---|---|---|
llh | THREE. | lon/lat/height |
- Source
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:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
llh | THREE. | |||
radians | boolean | <optional> | false | set to true if the input longitude and latitude are in radians. height is always expected in meters. |
- Source
setCurrentTime()
Sets the current time and adjusts the lerp uniform relative to the loaded forecast times