|
@@ -54679,6 +54679,8 @@ declare module "babylonjs/Materials/Node/nodeMaterial" {
|
|
SAMPLER3DGREENDEPTH: boolean;
|
|
SAMPLER3DGREENDEPTH: boolean;
|
|
SAMPLER3DBGRMAP: boolean;
|
|
SAMPLER3DBGRMAP: boolean;
|
|
IMAGEPROCESSINGPOSTPROCESS: boolean;
|
|
IMAGEPROCESSINGPOSTPROCESS: boolean;
|
|
|
|
+ /** MISC. */
|
|
|
|
+ BUMPDIRECTUV: number;
|
|
constructor();
|
|
constructor();
|
|
setValue(name: string, value: boolean): void;
|
|
setValue(name: string, value: boolean): void;
|
|
}
|
|
}
|
|
@@ -56041,10 +56043,18 @@ declare module "babylonjs/Materials/Node/Blocks/Fragment/perturbNormalBlock" {
|
|
import { NodeMaterialConnectionPoint } from "babylonjs/Materials/Node/nodeMaterialBlockConnectionPoint";
|
|
import { NodeMaterialConnectionPoint } from "babylonjs/Materials/Node/nodeMaterialBlockConnectionPoint";
|
|
import { NodeMaterial, NodeMaterialDefines } from "babylonjs/Materials/Node/nodeMaterial";
|
|
import { NodeMaterial, NodeMaterialDefines } from "babylonjs/Materials/Node/nodeMaterial";
|
|
import { AbstractMesh } from "babylonjs/Meshes/abstractMesh";
|
|
import { AbstractMesh } from "babylonjs/Meshes/abstractMesh";
|
|
|
|
+ import { Effect } from "babylonjs/Materials/effect";
|
|
|
|
+ import { Mesh } from "babylonjs/Meshes/mesh";
|
|
|
|
+ import { Scene } from "babylonjs/scene";
|
|
/**
|
|
/**
|
|
* Block used to pertub normals based on a normal map
|
|
* Block used to pertub normals based on a normal map
|
|
*/
|
|
*/
|
|
export class PerturbNormalBlock extends NodeMaterialBlock {
|
|
export class PerturbNormalBlock extends NodeMaterialBlock {
|
|
|
|
+ private _tangentSpaceParameterName;
|
|
|
|
+ /** Gets or sets a boolean indicating that normal should be inverted on X axis */
|
|
|
|
+ invertX: boolean;
|
|
|
|
+ /** Gets or sets a boolean indicating that normal should be inverted on Y axis */
|
|
|
|
+ invertY: boolean;
|
|
/**
|
|
/**
|
|
* Create a new PerturbNormalBlock
|
|
* Create a new PerturbNormalBlock
|
|
* @param name defines the block name
|
|
* @param name defines the block name
|
|
@@ -56080,8 +56090,12 @@ declare module "babylonjs/Materials/Node/Blocks/Fragment/perturbNormalBlock" {
|
|
*/
|
|
*/
|
|
readonly output: NodeMaterialConnectionPoint;
|
|
readonly output: NodeMaterialConnectionPoint;
|
|
prepareDefines(mesh: AbstractMesh, nodeMaterial: NodeMaterial, defines: NodeMaterialDefines): void;
|
|
prepareDefines(mesh: AbstractMesh, nodeMaterial: NodeMaterial, defines: NodeMaterialDefines): void;
|
|
|
|
+ bind(effect: Effect, nodeMaterial: NodeMaterial, mesh?: Mesh): void;
|
|
autoConfigure(material: NodeMaterial): void;
|
|
autoConfigure(material: NodeMaterial): void;
|
|
protected _buildBlock(state: NodeMaterialBuildState): this;
|
|
protected _buildBlock(state: NodeMaterialBuildState): this;
|
|
|
|
+ protected _dumpPropertiesCode(): string;
|
|
|
|
+ serialize(): any;
|
|
|
|
+ _deserialize(serializationObject: any, scene: Scene, rootUrl: string): void;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
declare module "babylonjs/Materials/Node/Blocks/Fragment/index" {
|
|
declare module "babylonjs/Materials/Node/Blocks/Fragment/index" {
|
|
@@ -117796,6 +117810,8 @@ declare module BABYLON {
|
|
SAMPLER3DGREENDEPTH: boolean;
|
|
SAMPLER3DGREENDEPTH: boolean;
|
|
SAMPLER3DBGRMAP: boolean;
|
|
SAMPLER3DBGRMAP: boolean;
|
|
IMAGEPROCESSINGPOSTPROCESS: boolean;
|
|
IMAGEPROCESSINGPOSTPROCESS: boolean;
|
|
|
|
+ /** MISC. */
|
|
|
|
+ BUMPDIRECTUV: number;
|
|
constructor();
|
|
constructor();
|
|
setValue(name: string, value: boolean): void;
|
|
setValue(name: string, value: boolean): void;
|
|
}
|
|
}
|
|
@@ -119066,6 +119082,11 @@ declare module BABYLON {
|
|
* Block used to pertub normals based on a normal map
|
|
* Block used to pertub normals based on a normal map
|
|
*/
|
|
*/
|
|
export class PerturbNormalBlock extends NodeMaterialBlock {
|
|
export class PerturbNormalBlock extends NodeMaterialBlock {
|
|
|
|
+ private _tangentSpaceParameterName;
|
|
|
|
+ /** Gets or sets a boolean indicating that normal should be inverted on X axis */
|
|
|
|
+ invertX: boolean;
|
|
|
|
+ /** Gets or sets a boolean indicating that normal should be inverted on Y axis */
|
|
|
|
+ invertY: boolean;
|
|
/**
|
|
/**
|
|
* Create a new PerturbNormalBlock
|
|
* Create a new PerturbNormalBlock
|
|
* @param name defines the block name
|
|
* @param name defines the block name
|
|
@@ -119101,8 +119122,12 @@ declare module BABYLON {
|
|
*/
|
|
*/
|
|
readonly output: NodeMaterialConnectionPoint;
|
|
readonly output: NodeMaterialConnectionPoint;
|
|
prepareDefines(mesh: AbstractMesh, nodeMaterial: NodeMaterial, defines: NodeMaterialDefines): void;
|
|
prepareDefines(mesh: AbstractMesh, nodeMaterial: NodeMaterial, defines: NodeMaterialDefines): void;
|
|
|
|
+ bind(effect: Effect, nodeMaterial: NodeMaterial, mesh?: Mesh): void;
|
|
autoConfigure(material: NodeMaterial): void;
|
|
autoConfigure(material: NodeMaterial): void;
|
|
protected _buildBlock(state: NodeMaterialBuildState): this;
|
|
protected _buildBlock(state: NodeMaterialBuildState): this;
|
|
|
|
+ protected _dumpPropertiesCode(): string;
|
|
|
|
+ serialize(): any;
|
|
|
|
+ _deserialize(serializationObject: any, scene: Scene, rootUrl: string): void;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
declare module BABYLON {
|
|
declare module BABYLON {
|