Skip to content

Commit

Permalink
push dist
Browse files Browse the repository at this point in the history
  • Loading branch information
tristanReist committed Jul 21, 2020
1 parent 4de646b commit e21b421
Show file tree
Hide file tree
Showing 118 changed files with 1,225 additions and 1,488 deletions.
45 changes: 19 additions & 26 deletions dist/preview release/babylon.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68529,6 +68529,19 @@ declare module BABYLON {
addDirectLightmap(mesh: Mesh, lightmap: Texture): void;
}
}
declare module BABYLON {
export class ProbeIrradianceGradient extends Probe {
private adjacentProbesForIrradiance;
private distanceBetweenProbesForGradient;
gradientSphericalHarmonics: SphericalHarmonics[];
constructor(position: Vector3, scene: Scene, resolution: number, inRoom: number);
render(meshes: Array<Mesh>, dictionary: MeshDictionary, uvEffet: Effect, bounceEffect: Effect): void;
initPromise(): void;
renderBounce(meshes: Array<Mesh>): void;
setVisibility(visible: number): void;
private _computeIrradianceGradient;
}
}
declare module BABYLON {
/**
* The probe is what is used for irradiance volume
Expand All @@ -68550,11 +68563,6 @@ declare module BABYLON {
static readonly NZ: number;
private _scene;
private _resolution;
/**
* The sphere that we choose to be visible or not,
* that keep the information of irradiance
*/
sphere: Mesh;
/**
* The list of camera that are attached to the probe,
* used to render the cube map
Expand All @@ -68569,15 +68577,13 @@ declare module BABYLON {
*/
uvEffect: Effect;
bounceEffect: Effect;
position: Vector3;
transformNode: TransformNode;
/**
* The string representing the path to the texture that is used
*/
albedoStr: string;
dictionary: MeshDictionary;
/**
* The multirendertarget that is use to redner the scene from the probe
*/
cubicMRT: MultiRenderTarget;
/**
* The spherical harmonic coefficients that represent the irradiance capture by the probe
*/
Expand Down Expand Up @@ -68623,7 +68629,7 @@ declare module BABYLON {
* @param visisble The visibility of the probe
*/
setVisibility(visisble: number): void;
protected _renderCubeTexture(subMeshes: SmartArray<SubMesh>, isMRT: boolean): void;
protected _renderCubeTexture(subMeshes: SmartArray<SubMesh>): void;
/**
* Render the 6 cameras of the probes with different effect to create the cube map we need
* @param meshes The meshes we want to render
Expand All @@ -68644,27 +68650,12 @@ declare module BABYLON {
* Return if the probe is ready to be render
*/
isProbeReady(): boolean;
private _isMRTReady;
private _isTempBounceReady;
private _CPUcomputeSHCoeff;
private _computeProbeIrradiance;
private _weightSHCoeff;
useIrradianceGradient(): void;
}
}
declare module BABYLON {
export class ProbeIrradianceGradient extends Probe {
private adjacentProbesForIrradiance;
private distanceBetweenProbesForGradient;
gradientSphericalHarmonics: SphericalHarmonics[];
constructor(position: Vector3, scene: Scene, resolution: number, inRoom: number);
render(meshes: Array<Mesh>, dictionary: MeshDictionary, uvEffet: Effect, bounceEffect: Effect): void;
initPromise(): void;
renderBounce(meshes: Array<Mesh>): void;
setVisibility(visible: number): void;
private _computeIrradianceGradient;
}
}
declare module BABYLON {
/** @hidden */
export var irradianceVolumeIrradianceLightmapPixelShader: {
Expand Down Expand Up @@ -68722,6 +68713,7 @@ declare module BABYLON {
*/
finish: boolean;
private _shTexture;
private _posProbesTexture;
/**
* Initializer of the irradiance class
* @param scene The scene of the meshes
Expand Down Expand Up @@ -68749,7 +68741,8 @@ declare module BABYLON {
private _renderIrradianceLightmap;
private _createPromise;
private _initProbesPromise;
private _isRawTextReady;
private _isRawTextSHCoefReady;
private _isRawTextProbePosReady;
private _areProbesReady;
private _isUVEffectReady;
private _isIrradianceLightmapEffectReady;
Expand Down
24 changes: 12 additions & 12 deletions dist/preview release/babylon.js

Large diffs are not rendered by default.

244 changes: 109 additions & 135 deletions dist/preview release/babylon.max.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/preview release/babylon.max.js.map

Large diffs are not rendered by default.

116 changes: 51 additions & 65 deletions dist/preview release/babylon.module.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72254,16 +72254,30 @@ declare module "babylonjs/Rendering/IrradianceVolume/meshDictionary" {
addDirectLightmap(mesh: Mesh, lightmap: Texture): void;
}
}
declare module "babylonjs/Legacy/legacy" {
import * as Babylon from "babylonjs/index";
export * from "babylonjs/index";

declare module "babylonjs/Rendering/IrradianceVolume/ProbeIrradianceGradient" {
import { Probe } from "babylonjs/Rendering/IrradianceVolume/Probe";
import { Vector3 } from "babylonjs/Maths/math.vector";
import { Scene } from "babylonjs/scene";
import { Mesh } from "babylonjs/Meshes/mesh";
import { MeshDictionary } from "babylonjs/Rendering/IrradianceVolume/meshDictionary";
import { Effect } from "babylonjs/Materials/effect";
import { SphericalHarmonics } from "babylonjs/Maths/sphericalPolynomial";
export class ProbeIrradianceGradient extends Probe {
private adjacentProbesForIrradiance;
private distanceBetweenProbesForGradient;
gradientSphericalHarmonics: SphericalHarmonics[];
constructor(position: Vector3, scene: Scene, resolution: number, inRoom: number);
render(meshes: Array<Mesh>, dictionary: MeshDictionary, uvEffet: Effect, bounceEffect: Effect): void;
initPromise(): void;
renderBounce(meshes: Array<Mesh>): void;
setVisibility(visible: number): void;
private _computeIrradianceGradient;
}
}
declare module "babylonjs/Rendering/IrradianceVolume/Probe" {
import { Mesh } from "babylonjs/Meshes/mesh";
import { Vector3 } from "babylonjs/Maths/math.vector";
import { Scene } from "babylonjs/scene";
import { MultiRenderTarget } from "babylonjs/Materials/Textures/multiRenderTarget";
import { SubMesh } from "babylonjs/Meshes/subMesh";
import { Effect } from "babylonjs/Materials/effect";
import { SmartArray } from "babylonjs/Misc/smartArray";
Expand All @@ -72277,7 +72291,8 @@ declare module "babylonjs/Rendering/IrradianceVolume/Probe" {
import "babylonjs/Shaders/irradianceVolumeComputeIrradiance.fragment";
import "babylonjs/Shaders/irradianceVolumeComputeIrradiance.vertex";
import { MeshDictionary } from "babylonjs/Rendering/IrradianceVolume/meshDictionary";
import { ProbeIrradianceGradient } from "babylonjs/Legacy/legacy";
import { ProbeIrradianceGradient } from "babylonjs/Rendering/IrradianceVolume/ProbeIrradianceGradient";
import { TransformNode } from "babylonjs/Meshes/transformNode";
/**
* The probe is what is used for irradiance volume
* It aims to sample the irradiance at a certain point of the scene
Expand All @@ -72298,11 +72313,6 @@ declare module "babylonjs/Rendering/IrradianceVolume/Probe" {
static readonly NZ: number;
private _scene;
private _resolution;
/**
* The sphere that we choose to be visible or not,
* that keep the information of irradiance
*/
sphere: Mesh;
/**
* The list of camera that are attached to the probe,
* used to render the cube map
Expand All @@ -72317,15 +72327,13 @@ declare module "babylonjs/Rendering/IrradianceVolume/Probe" {
*/
uvEffect: Effect;
bounceEffect: Effect;
position: Vector3;
transformNode: TransformNode;
/**
* The string representing the path to the texture that is used
*/
albedoStr: string;
dictionary: MeshDictionary;
/**
* The multirendertarget that is use to redner the scene from the probe
*/
cubicMRT: MultiRenderTarget;
/**
* The spherical harmonic coefficients that represent the irradiance capture by the probe
*/
Expand Down Expand Up @@ -72371,7 +72379,7 @@ declare module "babylonjs/Rendering/IrradianceVolume/Probe" {
* @param visisble The visibility of the probe
*/
setVisibility(visisble: number): void;
protected _renderCubeTexture(subMeshes: SmartArray<SubMesh>, isMRT: boolean): void;
protected _renderCubeTexture(subMeshes: SmartArray<SubMesh>): void;
/**
* Render the 6 cameras of the probes with different effect to create the cube map we need
* @param meshes The meshes we want to render
Expand All @@ -72392,34 +72400,12 @@ declare module "babylonjs/Rendering/IrradianceVolume/Probe" {
* Return if the probe is ready to be render
*/
isProbeReady(): boolean;
private _isMRTReady;
private _isTempBounceReady;
private _CPUcomputeSHCoeff;
private _computeProbeIrradiance;
private _weightSHCoeff;
useIrradianceGradient(): void;
}
}
declare module "babylonjs/Rendering/IrradianceVolume/ProbeIrradianceGradient" {
import { Probe } from "babylonjs/Rendering/IrradianceVolume/Probe";
import { Vector3 } from "babylonjs/Maths/math.vector";
import { Scene } from "babylonjs/scene";
import { Mesh } from "babylonjs/Meshes/mesh";
import { MeshDictionary } from "babylonjs/Rendering/IrradianceVolume/meshDictionary";
import { Effect } from "babylonjs/Materials/effect";
import { SphericalHarmonics } from "babylonjs/Maths/sphericalPolynomial";
export class ProbeIrradianceGradient extends Probe {
private adjacentProbesForIrradiance;
private distanceBetweenProbesForGradient;
gradientSphericalHarmonics: SphericalHarmonics[];
constructor(position: Vector3, scene: Scene, resolution: number, inRoom: number);
render(meshes: Array<Mesh>, dictionary: MeshDictionary, uvEffet: Effect, bounceEffect: Effect): void;
initPromise(): void;
renderBounce(meshes: Array<Mesh>): void;
setVisibility(visible: number): void;
private _computeIrradianceGradient;
}
}
declare module "babylonjs/Shaders/irradianceVolumeIrradianceLightmap.fragment" {
/** @hidden */
export var irradianceVolumeIrradianceLightmapPixelShader: {
Expand Down Expand Up @@ -72486,6 +72472,7 @@ declare module "babylonjs/Rendering/IrradianceVolume/Irradiance" {
*/
finish: boolean;
private _shTexture;
private _posProbesTexture;
/**
* Initializer of the irradiance class
* @param scene The scene of the meshes
Expand Down Expand Up @@ -72513,7 +72500,8 @@ declare module "babylonjs/Rendering/IrradianceVolume/Irradiance" {
private _renderIrradianceLightmap;
private _createPromise;
private _initProbesPromise;
private _isRawTextReady;
private _isRawTextSHCoefReady;
private _isRawTextProbePosReady;
private _areProbesReady;
private _isUVEffectReady;
private _isIrradianceLightmapEffectReady;
Expand Down Expand Up @@ -75973,6 +75961,11 @@ declare module "babylonjs/Engines/Processors/index" {
export * from "babylonjs/Engines/Processors/shaderProcessingOptions";
export * from "babylonjs/Engines/Processors/shaderProcessor";
}
declare module "babylonjs/Legacy/legacy" {
import * as Babylon from "babylonjs/index";
export * from "babylonjs/index";

}
declare module "babylonjs/Shaders/blur.fragment" {
/** @hidden */
export var blurPixelShader: {
Expand Down Expand Up @@ -144634,6 +144627,19 @@ declare module BABYLON {
addDirectLightmap(mesh: Mesh, lightmap: Texture): void;
}
}
declare module BABYLON {
export class ProbeIrradianceGradient extends Probe {
private adjacentProbesForIrradiance;
private distanceBetweenProbesForGradient;
gradientSphericalHarmonics: SphericalHarmonics[];
constructor(position: Vector3, scene: Scene, resolution: number, inRoom: number);
render(meshes: Array<Mesh>, dictionary: MeshDictionary, uvEffet: Effect, bounceEffect: Effect): void;
initPromise(): void;
renderBounce(meshes: Array<Mesh>): void;
setVisibility(visible: number): void;
private _computeIrradianceGradient;
}
}
declare module BABYLON {
/**
* The probe is what is used for irradiance volume
Expand All @@ -144655,11 +144661,6 @@ declare module BABYLON {
static readonly NZ: number;
private _scene;
private _resolution;
/**
* The sphere that we choose to be visible or not,
* that keep the information of irradiance
*/
sphere: Mesh;
/**
* The list of camera that are attached to the probe,
* used to render the cube map
Expand All @@ -144674,15 +144675,13 @@ declare module BABYLON {
*/
uvEffect: Effect;
bounceEffect: Effect;
position: Vector3;
transformNode: TransformNode;
/**
* The string representing the path to the texture that is used
*/
albedoStr: string;
dictionary: MeshDictionary;
/**
* The multirendertarget that is use to redner the scene from the probe
*/
cubicMRT: MultiRenderTarget;
/**
* The spherical harmonic coefficients that represent the irradiance capture by the probe
*/
Expand Down Expand Up @@ -144728,7 +144727,7 @@ declare module BABYLON {
* @param visisble The visibility of the probe
*/
setVisibility(visisble: number): void;
protected _renderCubeTexture(subMeshes: SmartArray<SubMesh>, isMRT: boolean): void;
protected _renderCubeTexture(subMeshes: SmartArray<SubMesh>): void;
/**
* Render the 6 cameras of the probes with different effect to create the cube map we need
* @param meshes The meshes we want to render
Expand All @@ -144749,27 +144748,12 @@ declare module BABYLON {
* Return if the probe is ready to be render
*/
isProbeReady(): boolean;
private _isMRTReady;
private _isTempBounceReady;
private _CPUcomputeSHCoeff;
private _computeProbeIrradiance;
private _weightSHCoeff;
useIrradianceGradient(): void;
}
}
declare module BABYLON {
export class ProbeIrradianceGradient extends Probe {
private adjacentProbesForIrradiance;
private distanceBetweenProbesForGradient;
gradientSphericalHarmonics: SphericalHarmonics[];
constructor(position: Vector3, scene: Scene, resolution: number, inRoom: number);
render(meshes: Array<Mesh>, dictionary: MeshDictionary, uvEffet: Effect, bounceEffect: Effect): void;
initPromise(): void;
renderBounce(meshes: Array<Mesh>): void;
setVisibility(visible: number): void;
private _computeIrradianceGradient;
}
}
declare module BABYLON {
/** @hidden */
export var irradianceVolumeIrradianceLightmapPixelShader: {
Expand Down Expand Up @@ -144827,6 +144811,7 @@ declare module BABYLON {
*/
finish: boolean;
private _shTexture;
private _posProbesTexture;
/**
* Initializer of the irradiance class
* @param scene The scene of the meshes
Expand Down Expand Up @@ -144854,7 +144839,8 @@ declare module BABYLON {
private _renderIrradianceLightmap;
private _createPromise;
private _initProbesPromise;
private _isRawTextReady;
private _isRawTextSHCoefReady;
private _isRawTextProbePosReady;
private _areProbesReady;
private _isUVEffectReady;
private _isIrradianceLightmapEffectReady;
Expand Down
Loading

0 comments on commit e21b421

Please sign in to comment.