@openglobus/og 0.27.13 → 0.27.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -148,6 +148,7 @@ declare class Renderer {
|
|
|
148
148
|
protected _internalFormat: string;
|
|
149
149
|
protected _format: string;
|
|
150
150
|
protected _type: string;
|
|
151
|
+
protected _depthRefreshRequired: boolean;
|
|
151
152
|
sceneFramebuffer: Framebuffer | Multisample | null;
|
|
152
153
|
protected blitFramebuffer: Framebuffer | null;
|
|
153
154
|
protected toneMappingFramebuffer: Framebuffer | null;
|
|
@@ -295,6 +296,11 @@ declare class Renderer {
|
|
|
295
296
|
* TODO: replace with cache friendly linked list by BillboardHandler, LabelHandler etc.
|
|
296
297
|
*/
|
|
297
298
|
enqueueEntityCollectionsToDraw(ecArr: EntityCollection[], depthOrder?: number): void;
|
|
299
|
+
/**
|
|
300
|
+
* Forces the depth buffer to be refreshed in the next frame.
|
|
301
|
+
* Has effect for terrain altitude estimate precision.
|
|
302
|
+
*/
|
|
303
|
+
markForDepthRefresh(): void;
|
|
298
304
|
/**
|
|
299
305
|
* @protected
|
|
300
306
|
*/
|
|
@@ -17,6 +17,7 @@ export interface AtmosphereParameters {
|
|
|
17
17
|
SUN_INTENSITY: number;
|
|
18
18
|
ozoneDensityHeight: number;
|
|
19
19
|
ozoneDensityWide: number;
|
|
20
|
+
disableSunDisk?: boolean;
|
|
20
21
|
}
|
|
21
22
|
export declare function transmittance(atmosParams?: AtmosphereParameters): Program;
|
|
22
23
|
export declare function scattering(atmosParams?: AtmosphereParameters): Program;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openglobus/og",
|
|
3
|
-
"version": "0.27.
|
|
3
|
+
"version": "0.27.15",
|
|
4
4
|
"description": "[openglobus](https://www.openglobus.org/) is a javascript/typescript library designed to display interactive 3d maps and planets with map tiles, imagery and vector data, markers, and 3D objects. It uses the WebGL technology, open source, and completely free.",
|
|
5
5
|
"main": "lib/og.es.js",
|
|
6
6
|
"types": "lib/index.d.ts",
|