docstring_tokens stringlengths 0 76.5k | code_tokens stringlengths 75 1.81M | label_window listlengths 4 2.12k | html_url stringlengths 74 116 | file_name stringlengths 3 311 |
|---|---|---|---|---|
transform: scale(1);
| <mask> position: absolute;
<mask> right: 0px;
<mask> top:0px;
<mask> bottom: 0px;
<mask> }
<mask>
<mask> #__resizable_base__ {
<mask> display: none;
</s> Fix inspector css
Former-commit-id: bef6cba1322e25a57f23164834c6eec6b39f8887 | [
"keep",
"keep",
"keep",
"add",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/f2ffe166fc5b3ecc93c80729c623f1339cf8420f | inspector/src/components/actionTabs/actionTabs.scss |
transform: scale(1);
z-index: 10;
| <mask> right: 0px;
<mask> top:0px;
<mask> bottom: 0px;
<mask> }
<mask>
<mask> #__resizable_base__ {
<mask> display: none;
</s> Fix inspector css
Former-commit-id: bef6cba1322e25a57f23164834c6eec6b39f8887 | [
"keep",
"keep",
"add",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/f2ffe166fc5b3ecc93c80729c623f1339cf8420f | inspector/src/components/embedHost/embedHost.scss |
transform: scale(1);
| <mask> left: 0px;
<mask> top:0px;
<mask> bottom: 0px;
<mask>
<mask> &:focus {
<mask> outline: none;
<mask> }
<mask> }
<mask>
</s> Fix inspector css
Former-commit-id: bef6cba1322e25a57f23164834c6eec6b39f8887 | [
"keep",
"keep",
"add",
"keep",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/f2ffe166fc5b3ecc93c80729c623f1339cf8420f | inspector/src/components/sceneExplorer/sceneExplorer.scss |
<mask> return FollowCamera;
<mask> })(BABYLON.TargetCamera);
<mask> BABYLON.FollowCamera = FollowCamera;
<mask> })(BABYLON || (BABYLON = {}));
<mask> //# sourceMappingURL=babylon.followCamera.js.map </s> Angles should be specified in radians
Former-commit-id: c9bfab7b85b08a648b71b70af6db129f47417... | [
"keep",
"keep",
"keep",
"keep",
"replace"
] | https://github.com/BabylonJS/Babylon.js/commit/f31d5f96584d4e15a856e854b4d24e85cf4501f1 | src/Cameras/babylon.followCamera.js | |
<mask> }
<mask>
<mask> export class ArcFollowCamera extends TargetCamera {
<mask>
<mask> private _radPerDeg:number = Math.PI / 180;
<mask> private _cartesianCoordinates:Vector3 = Vector3.Zero();
<mask>
<mask> constructor(name:string, public alpha:number, public beta:number, pu... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/f31d5f96584d4e15a856e854b4d24e85cf4501f1 | src/Cameras/babylon.followCamera.ts | |
<mask> super(name, Vector3.Zero(), scene);
<mask> this.follow();
<mask> }
<mask>
<mask> private _degToRad(deg) {
<mask> return deg * this._radPerDeg;
<mask> }
<mask>
<mask> private follow():void {
<mask> this._cartesianCoordinat... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/f31d5f96584d4e15a856e854b4d24e85cf4501f1 | src/Cameras/babylon.followCamera.ts | |
this._cartesianCoordinates.x = this.radius * Math.cos(this.alpha) * Math.cos(this.beta);
this._cartesianCoordinates.y = this.radius * Math.sin(this.beta);
this._cartesianCoordinates.z = this.radius * Math.sin(this.alpha) * Math.cos(this.beta); | <mask> return deg * this._radPerDeg;
<mask> }
<mask>
<mask> private follow():void {
<mask> this._cartesianCoordinates.x = this.radius * Math.cos(this._degToRad(this.alpha)) * Math.cos(this._degToRad(this.beta));
<mask> this._cartesianCoordinates.y = this.radius... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/f31d5f96584d4e15a856e854b4d24e85cf4501f1 | src/Cameras/babylon.followCamera.ts |
"debug", "textureTools", "hdr",
"loader" | <mask> "shadows", "pointLight", "directionalLight", "spotLight",
<mask> "multiMaterial", "pbrMaterial",
<mask> "meshBuilder", "layer",
<mask> "additionalPostProcess_blur", "additionalPostProcess_fxaa", "additionalPostProcess_highlights", "additionalPos... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/f4b3f860b0ff0c111ea13cd3960c2c72ea597882 | Tools/Gulp/config.json |
"../../materialsLibrary/src/legacyPBR/legacyPbrVertexDeclaration.fx",
"../../materialsLibrary/src/legacyPBR/legacyColorCurves.fx",
"../../materialsLibrary/src/legacyPBR/legacyColorCurvesDefinition.fx",
"../../materialsLibrary/src/legacyPBR/... | <mask> "../../materialsLibrary/src/legacyPBR/legacyPbrFunctions.fx",
<mask> "../../materialsLibrary/src/legacyPBR/legacyPbrLightFunctions.fx",
<mask> "../../materialsLibrary/src/legacyPBR/legacyPbrLightFunctionsCall.fx",
<mask> "../../m... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/f4b3f860b0ff0c111ea13cd3960c2c72ea597882 | Tools/Gulp/config.json |
#include<legacyColorGradingDefinition>
| <mask>
<mask> #endif
<mask>
<mask> #ifdef CAMERACOLORGRADING
<mask> #include<colorGradingDefinition>
<mask> #endif
<mask>
<mask> #ifdef CAMERACOLORCURVES
<mask> #include<colorCurvesDefinition>
<mask> #endif
</s> image processing to material integration
Former-commit-id: 6f831aa9b68d14576abec6488e88ca5... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/f4b3f860b0ff0c111ea13cd3960c2c72ea597882 | materialsLibrary/src/legacyPBR/legacyPbr.fragment.fx |
#include<legacyColorCurvesDefinition>
| <mask> #include<colorGradingDefinition>
<mask> #endif
<mask>
<mask> #ifdef CAMERACOLORCURVES
<mask> #include<colorCurvesDefinition>
<mask> #endif
<mask>
<mask> // PBR
<mask> #include<shadowsFragmentFunctions>
<mask> #include<legacyPbrFunctions>
</s> image processing to material integration
Former-commi... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/f4b3f860b0ff0c111ea13cd3960c2c72ea597882 | materialsLibrary/src/legacyPBR/legacyPbr.fragment.fx |
#include<legacyColorGrading>
| <mask> #include<shadowsFragmentFunctions>
<mask> #include<legacyPbrFunctions>
<mask>
<mask> #ifdef CAMERACOLORGRADING
<mask> #include<colorGrading>
<mask> #endif
<mask>
<mask> #ifdef CAMERACOLORCURVES
<mask> #include<colorCurves>
<mask> #endif
</s> image processing to material integration
Former-commit... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/f4b3f860b0ff0c111ea13cd3960c2c72ea597882 | materialsLibrary/src/legacyPBR/legacyPbr.fragment.fx |
#include<legacyColorCurves>
| <mask> #include<colorGrading>
<mask> #endif
<mask>
<mask> #ifdef CAMERACOLORCURVES
<mask> #include<colorCurves>
<mask> #endif
<mask>
<mask> #include<harmonicsFunctions>
<mask> #include<legacyPbrLightFunctions>
<mask>
</s> image processing to material integration
Former-commit-id: 6f831aa9b68d14576abec... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/f4b3f860b0ff0c111ea13cd3960c2c72ea597882 | materialsLibrary/src/legacyPBR/legacyPbr.fragment.fx |
mat3 transposeMat3(mat3 inMatrix) {
vec3 i0 = inMatrix[0];
vec3 i1 = inMatrix[1];
vec3 i2 = inMatrix[2];
mat3 outMatrix = mat3(
vec3(i0.x, i1.x, i2.x),
vec3(i0.y, i1.y, i2.y),
vec3(i0.z, i1.z, i2.z)
);
return outMatrix;
}
| <mask>
<mask> #include<harmonicsFunctions>
<mask> #include<legacyPbrLightFunctions>
<mask>
<mask> #include<helperFunctions>
<mask> #include<bumpFragmentFunctions>
<mask> #include<clipPlaneFragmentDeclaration>
<mask> #include<logDepthDeclaration>
<mask>
<mask> // Fog
</s> image processing to material integ... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/f4b3f860b0ff0c111ea13cd3960c2c72ea597882 | materialsLibrary/src/legacyPBR/legacyPbr.fragment.fx |
<mask> public ALPHAFROMALBEDO = false;
<mask> public POINTSIZE = false;
<mask> public FOG = false;
<mask> public SPECULARTERM = false;
<mask> public OPACITYFRESNEL = false;
<mask> public EMISSIVEFRESNEL = false;
<mask> public FRESNEL = false;
<mask> ... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/f4b3f860b0ff0c111ea13cd3960c2c72ea597882 | src/Materials/PBR/babylon.pbrBaseMaterial.ts | |
<mask> public BonesPerMesh = 0;
<mask> public INSTANCES = false;
<mask> public MICROSURFACEFROMREFLECTIVITYMAP = false;
<mask> public MICROSURFACEAUTOMATIC = false;
<mask> public EMISSIVEASILLUMINATION = false;
<mask> public LIGHTMAP = false;
<mask> public ... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/f4b3f860b0ff0c111ea13cd3960c2c72ea597882 | src/Materials/PBR/babylon.pbrBaseMaterial.ts | |
<mask> public REFLECTIONMAP_EQUIRECTANGULAR_FIXED = false;
<mask> public REFLECTIONMAP_MIRROREDEQUIRECTANGULAR_FIXED = false;
<mask> public INVERTCUBICMAP = false;
<mask> public LOGARITHMICDEPTH = false;
<mask> public CAMERATONEMAP = false;
<mask> public CAMERACONTR... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/f4b3f860b0ff0c111ea13cd3960c2c72ea597882 | src/Materials/PBR/babylon.pbrBaseMaterial.ts | |
public PREMULTIPLYALPHA = false;
public ALPHAFRESNEL = false;
public IMAGEPROCESSING = false;
public VIGNETTE = false;
public VIGNETTEBLENDMODEMULTIPLY = false;
public VIGNETTEBLENDMODEOPAQUE = false;
public TONEMAPPING = false;
public CONTRAST = ... | <mask> public MORPHTARGETS_TANGENT = false;
<mask> public NUM_MORPH_INFLUENCERS = 0;
<mask>
<mask> public ALPHATESTVALUE = 0.5;
<mask> public LDROUTPUT = true;
<mask>
<mask> constructor() {
<mask> super();
<mask> this.rebuild();
<mask> ... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/f4b3f860b0ff0c111ea13cd3960c2c72ea597882 | src/Materials/PBR/babylon.pbrBaseMaterial.ts |
<mask> * Debug Control allowing disabling the bump map on this material.
<mask> */
<mask> protected _disableBumpMap: boolean = false;
<mask>
<mask> /**
<mask> * The camera exposure used on this material.
<mask> * This property is here and not in the camera to ... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"re... | https://github.com/BabylonJS/Babylon.js/commit/f4b3f860b0ff0c111ea13cd3960c2c72ea597882 | src/Materials/PBR/babylon.pbrBaseMaterial.ts | |
private _microsurfaceTextureLods: Vector2 = new Vector2(0.0, 0.0);
| <mask> protected _reflectionTexture: BaseTexture;
<mask>
<mask> protected _emissiveTexture: BaseTexture;
<mask>
<mask> /**
<mask> * AKA Specular texture in other nomenclature.
<mask> */
</s> image processing to material integration
Former-commit-id: 6f831aa9... | [
"keep",
"add",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/f4b3f860b0ff0c111ea13cd3960c2c72ea597882 | src/Materials/PBR/babylon.pbrBaseMaterial.ts |
<mask> * Controls if refraction needs to be inverted on Y. This could be usefull for procedural texture.
<mask> */
<mask> protected _invertRefractionY = false;
<mask>
<mask> protected _opacityFresnelParameters: FresnelParameters;
<mask>
<mask> protected _emissiveFresne... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/f4b3f860b0ff0c111ea13cd3960c2c72ea597882 | src/Materials/PBR/babylon.pbrBaseMaterial.ts | |
<mask> protected _linkRefractionWithTransparency = false;
<mask>
<mask> protected _useLightmapAsShadowmap = false;
<mask>
<mask> /**
<mask> * In this mode, the emissive informtaion will always be added to the lighting once.
<mask> * A light for instance can be ... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/f4b3f860b0ff0c111ea13cd3960c2c72ea597882 | src/Materials/PBR/babylon.pbrBaseMaterial.ts | |
<mask> * The material will try to infer what glossiness each pixel should be.
<mask> */
<mask> protected _useAutoMicroSurfaceFromReflectivityMap = false;
<mask>
<mask> /**
<mask> * Allows to work with scalar in linear mode. This is definitely a matter of prefere... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/f4b3f860b0ff0c111ea13cd3960c2c72ea597882 | src/Materials/PBR/babylon.pbrBaseMaterial.ts | |
* Secifies that the alpha is premultiplied before output (this enables alpha premultiplied blending).
* in your scene composition.
*/
protected _premultiplyAlpha = false;
/**
* A fresnel is applied to the alpha of the model to ensure grazing angles edges are no... | <mask> */
<mask> protected _forceAlphaTest = false;
<mask>
<mask> /**
<mask> * If false, it allows the output of the shader to be in hdr space (e.g. more than one) which is useful
<mask> * in combination of post process in float or half float mode.
<mask> */
... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/f4b3f860b0ff0c111ea13cd3960c2c72ea597882 | src/Materials/PBR/babylon.pbrBaseMaterial.ts |
protected _useAlphaFresnel = false;
@serialize()
protected _hdrLinearOutput = false;
/**
* Default configuration related to image processing available in the PBR Material.
*/
@serializeAsImageProcessing()
protected _imageProcessingConfiguratio... | <mask> /**
<mask> * If false, it allows the output of the shader to be in hdr space (e.g. more than one) which is useful
<mask> * in combination of post process in float or half float mode.
<mask> */
<mask> protected _ldrOutput = true;
<mask>
<mask> private _re... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/f4b3f860b0ff0c111ea13cd3960c2c72ea597882 | src/Materials/PBR/babylon.pbrBaseMaterial.ts |
// Setup the default processing configuration to the scene.
this._attachImageProcessingConfiguration(null);
| <mask> super(name, scene);
<mask>
<mask> this.getRenderTargetTextures = (): SmartArray<RenderTargetTexture> => {
<mask> this._renderTargets.reset();
<mask>
<mask> if (StandardMaterial.ReflectionTextureEnabled && this._reflectionTexture && this._reflectionT... | [
"keep",
"add",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/f4b3f860b0ff0c111ea13cd3960c2c72ea597882 | src/Materials/PBR/babylon.pbrBaseMaterial.ts |
return (this.alpha < 1.0) || (this._opacityTexture != null) || this._shouldUseAlphaFromAlbedoTexture();
| <mask> public needAlphaBlending(): boolean {
<mask> if (this._linkRefractionWithTransparency) {
<mask> return false;
<mask> }
<mask> return (this.alpha < 1.0) || (this._opacityTexture != null) || this._shouldUseAlphaFromAlbedoTexture() || this._opacityFre... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/f4b3f860b0ff0c111ea13cd3960c2c72ea597882 | src/Materials/PBR/babylon.pbrBaseMaterial.ts |
<mask> public getAlphaTestTexture(): BaseTexture {
<mask> return this._albedoTexture;
<mask> }
<mask>
<mask> private convertColorToLinearSpaceToRef(color: Color3, ref: Color3): void {
<mask> PBRMaterial.convertColorToLinearSpaceToRef(color, ref, this._useScalarInLi... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/f4b3f860b0ff0c111ea13cd3960c2c72ea597882 | src/Materials/PBR/babylon.pbrBaseMaterial.ts | |
<mask> }
<mask>
<mask> private static _scaledAlbedo = new Color3();
<mask> private static _scaledReflectivity = new Color3();
<mask> private static _scaledEmissive = new Color3();
<mask> private static _scaledReflection = new Color3();
<mask>
<mask> public stati... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"re... | https://github.com/BabylonJS/Babylon.js/commit/f4b3f860b0ff0c111ea13cd3960c2c72ea597882 | src/Materials/PBR/babylon.pbrBaseMaterial.ts | |
<mask> if (scene.getEngine().getCaps().textureLOD) {
<mask> defines.LODBASEDMICROSFURACE = true;
<mask> }
<mask>
<mask> defines.LDROUTPUT = this._ldrOutput;
<mask>
<mask> if (this._albedoTexture && StandardM... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/f4b3f860b0ff0c111ea13cd3960c2c72ea597882 | src/Materials/PBR/babylon.pbrBaseMaterial.ts | |
<mask> defines.USEPMREMREFRACTION = true;
<mask> }
<mask> }
<mask> }
<mask>
<mask> if (this._cameraColorGradingTexture && StandardMaterial.ColorGradingTextureEnabled) {
<ma... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/f4b3f860b0ff0c111ea13cd3960c2c72ea597882 | src/Materials/PBR/babylon.pbrBaseMaterial.ts | |
}
| <mask> if (this._shouldUseAlphaFromAlbedoTexture()) {
<mask> defines.ALPHAFROMALBEDO = true;
<mask> }
<mask>
<mask> if (this._useEmissiveAsIllumination) {
<mask> defines.EMISSIVEASILLUMINATION = true;
<ma... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"re... | https://github.com/BabylonJS/Babylon.js/commit/f4b3f860b0ff0c111ea13cd3960c2c72ea597882 | src/Materials/PBR/babylon.pbrBaseMaterial.ts |
if (this._useSpecularOverAlpha) {
defines.SPECULAROVERALPHA = true;
}
| <mask> if (this._usePhysicalLightFalloff) {
<mask> defines.USEPHYSICALLIGHTFALLOFF = true;
<mask> }
<mask>
<mask> if (this._useRadianceOverAlpha) {
<mask> defines.RADIANCEOVERALPHA = true;
<mask> ... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/f4b3f860b0ff0c111ea13cd3960c2c72ea597882 | src/Materials/PBR/babylon.pbrBaseMaterial.ts |
if (this._usePhysicalLightFalloff) {
defines.USEPHYSICALLIGHTFALLOFF = true;
}
| <mask> if (this._useRadianceOverAlpha) {
<mask> defines.RADIANCEOVERALPHA = true;
<mask> }
<mask>
<mask> if ((this._metallic !== undefined && this._metallic !== null) || (this._roughness !== undefined && this._roughness !== null))... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/f4b3f860b0ff0c111ea13cd3960c2c72ea597882 | src/Materials/PBR/babylon.pbrBaseMaterial.ts |
if (this._useRadianceOverAlpha) {
defines.RADIANCEOVERALPHA = true;
| <mask> if ((this._metallic !== undefined && this._metallic !== null) || (this._roughness !== undefined && this._roughness !== null)) {
<mask> defines.METALLICWORKFLOW = true;
<mask> }
<mask>
<mask> defines.ALPHATESTVALUE = this... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/f4b3f860b0ff0c111ea13cd3960c2c72ea597882 | src/Materials/PBR/babylon.pbrBaseMaterial.ts |
<mask>
<mask> defines.ALPHATESTVALUE = this._alphaCutOff;
<mask> defines.ALPHABLEND = this.needAlphaBlending();
<mask> }
<mask> }
<mask>
<mask> if (defines._areFresnelDirty) {
<mask> if (StandardMaterial.FresnelEna... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/f4b3f860b0ff0c111ea13cd3960c2c72ea597882 | src/Materials/PBR/babylon.pbrBaseMaterial.ts | |
if ((this._metallic !== undefined && this._metallic !== null) || (this._roughness !== undefined && this._roughness !== null)) {
defines.METALLICWORKFLOW = true;
}
| <mask> defines.ALPHABLEND = this.needAlphaBlending();
<mask> }
<mask> }
<mask>
<mask> if (defines._areFresnelDirty) {
<mask> if (StandardMaterial.FresnelEnabled) {
<mask> // Fresnel
<mask> if (th... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/f4b3f860b0ff0c111ea13cd3960c2c72ea597882 | src/Materials/PBR/babylon.pbrBaseMaterial.ts |
if (!this.backFaceCulling && this._twoSidedLighting) {
defines.TWOSIDEDLIGHTING = true;
}
| <mask> // Fresnel
<mask> if (this._opacityFresnelParameters && this._opacityFresnelParameters.isEnabled ||
<mask> this._emissiveFresnelParameters && this._emissiveFresnelParameters.isEnabled) {
<mask>
<mask> if (this._opacityF... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/f4b3f860b0ff0c111ea13cd3960c2c72ea597882 | src/Materials/PBR/babylon.pbrBaseMaterial.ts |
defines.ALPHATESTVALUE = this._alphaCutOff;
defines.HDRLINEAROUTPUT = this._hdrLinearOutput;
defines.PREMULTIPLYALPHA = this._premultiplyAlpha;
defines.ALPHABLEND = this.needAlphaBlending();
defines.ALPHAFRESNEL = this._useAlphaFresnel;... | <mask> if (this._opacityFresnelParameters && this._opacityFresnelParameters.isEnabled) {
<mask> defines.OPACITYFRESNEL = true;
<mask> }
<mask>
<mask> if (this._emissiveFresnelParameters && this._emissiveFresnelPara... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/f4b3f860b0ff0c111ea13cd3960c2c72ea597882 | src/Materials/PBR/babylon.pbrBaseMaterial.ts |
if (!this._imageProcessingConfiguration.isReady()) {
return false;
| <mask> if (this._emissiveFresnelParameters && this._emissiveFresnelParameters.isEnabled) {
<mask> defines.EMISSIVEFRESNEL = true;
<mask> }
<mask>
<mask> defines.FRESNEL = true;
<mask> }
<mask>... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/f4b3f860b0ff0c111ea13cd3960c2c72ea597882 | src/Materials/PBR/babylon.pbrBaseMaterial.ts |
this._imageProcessingConfiguration.prepareDefines(defines);
}
| <mask>
<mask> defines.FRESNEL = true;
<mask> }
<mask> }
<mask> }
<mask>
<mask> // Misc.
<mask> MaterialHelper.PrepareDefinesForMisc(mesh, scene, this._useLogarithmicDepth, this.pointsCloud, this.fogEnab... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/f4b3f860b0ff0c111ea13cd3960c2c72ea597882 | src/Materials/PBR/babylon.pbrBaseMaterial.ts |
<mask> if (defines.SPECULARTERM) {
<mask> fallbacks.addFallback(0, "SPECULARTERM");
<mask> }
<mask>
<mask> if (defines.OPACITYFRESNEL) {
<mask> fallbacks.addFallback(1, "OPACITYFRESNEL");
<mask> }
<mask>
<... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/f4b3f860b0ff0c111ea13cd3960c2c72ea597882 | src/Materials/PBR/babylon.pbrBaseMaterial.ts | |
<mask> "vFogInfos", "vFogColor", "pointSize",
<mask> "vAlbedoInfos", "vAmbientInfos", "vOpacityInfos", "vReflectionInfos", "vEmissiveInfos", "vReflectivityInfos", "vMicroSurfaceSamplerInfos", "vBumpInfos", "vLightmapInfos", "vRefractionInfos",
<mask> ... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/f4b3f860b0ff0c111ea13cd3960c2c72ea597882 | src/Materials/PBR/babylon.pbrBaseMaterial.ts | |
"vMicrosurfaceTextureLods"
| <mask> "logarithmicDepthConstant",
<mask> "vSphericalX", "vSphericalY", "vSphericalZ",
<mask> "vSphericalXX", "vSphericalYY", "vSphericalZZ",
<mask> "vSphericalXY", "vSphericalYZ", "vSphericalZX",
<mask> ... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/f4b3f860b0ff0c111ea13cd3960c2c72ea597882 | src/Materials/PBR/babylon.pbrBaseMaterial.ts |
ImageProcessing.PrepareUniforms(uniforms, defines);
ImageProcessing.PrepareSamplers(samplers, defines);
| <mask>
<mask> var samplers = ["albedoSampler", "ambientSampler", "opacitySampler", "reflectionCubeSampler", "reflection2DSampler", "emissiveSampler", "reflectivitySampler", "microSurfaceSampler", "bumpSampler", "lightmapSampler", "refractionCubeSampler", "refraction2DSampler"];
<mask> ... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/f4b3f860b0ff0c111ea13cd3960c2c72ea597882 | src/Materials/PBR/babylon.pbrBaseMaterial.ts |
<mask>
<mask> this._uniformBuffer.addUniform("vMicrosurfaceTextureLods", 2);
<mask> this._uniformBuffer.addUniform("vReflectivityColor", 4);
<mask> this._uniformBuffer.addUniform("vEmissiveColor", 3);
<mask> this._uniformBuffer.addUniform("opacityParts", 4);
<mask>... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/f4b3f860b0ff0c111ea13cd3960c2c72ea597882 | src/Materials/PBR/babylon.pbrBaseMaterial.ts | |
<mask> this.bindViewProjection(effect);
<mask>
<mask> if (!this._uniformBuffer.useUbo || !this.isFrozen || !this._uniformBuffer.isSync) {
<mask>
<mask> // Fresnel
<mask> if (StandardMaterial.FresnelEnabled) {
<mask> ... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/f4b3f860b0ff0c111ea13cd3960c2c72ea597882 | src/Materials/PBR/babylon.pbrBaseMaterial.ts | |
this._uniformBuffer.updateColor4("vReflectivityColor", this._reflectivityColor, this._microSurface);
| <mask> PBRMaterial._scaledReflectivity.g = (this._roughness === undefined || this._roughness === null) ? 1 : this._roughness;
<mask> this._uniformBuffer.updateColor4("vReflectivityColor", PBRMaterial._scaledReflectivity, 0);
<mask> }
<mask> ... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/f4b3f860b0ff0c111ea13cd3960c2c72ea597882 | src/Materials/PBR/babylon.pbrBaseMaterial.ts |
this._uniformBuffer.updateColor3("vEmissiveColor", this._emissiveColor);
this._uniformBuffer.updateColor3("vReflectionColor", this._reflectionColor);
this._uniformBuffer.updateColor4("vAlbedoColor", this._albedoColor, this.alpha * mesh.visibility);
| <mask> this.convertColorToLinearSpaceToRef(this._reflectivityColor, PBRMaterial._scaledReflectivity);
<mask> this._uniformBuffer.updateColor4("vReflectivityColor", PBRMaterial._scaledReflectivity, this._microSurface);
<mask> }
<mask>
<mask> ... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/f4b3f860b0ff0c111ea13cd3960c2c72ea597882 | src/Materials/PBR/babylon.pbrBaseMaterial.ts |
<mask> } else {
<mask> this._uniformBuffer.setTexture("refraction2DSampler", this._refractionTexture);
<mask> }
<mask> }
<mask>
<mask> if (this._cameraColorGradingTexture && StandardMaterial.ColorG... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/f4b3f860b0ff0c111ea13cd3960c2c72ea597882 | src/Materials/PBR/babylon.pbrBaseMaterial.ts | |
MaterialHelper.BindLights(scene, mesh, this._activeEffect, defines, this._maxSimultaneousLights, this._usePhysicalLightFalloff);
| <mask>
<mask> if (this._mustRebind(scene, effect) || !this.isFrozen) {
<mask> // Lights
<mask> if (scene.lightsEnabled && !this._disableLighting) {
<mask> PBRMaterial.BindLights(scene, mesh, this._activeEffect, defines, this._useScalarInLinearSpace, ... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/f4b3f860b0ff0c111ea13cd3960c2c72ea597882 | src/Materials/PBR/babylon.pbrBaseMaterial.ts |
// image processing
if (this._imageProcessingConfiguration) {
this._imageProcessingConfiguration.bind(this._activeEffect);
| <mask> if (defines.NUM_MORPH_INFLUENCERS) {
<mask> MaterialHelper.BindMorphTargetParameters(mesh, this._activeEffect);
<mask> }
<mask>
<mask> this._cameraInfos.x = this._cameraExposure;
<mask> this._cameraInfos.y = this._cameraCo... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/f4b3f860b0ff0c111ea13cd3960c2c72ea597882 | src/Materials/PBR/babylon.pbrBaseMaterial.ts |
<mask>
<mask> if (this._refractionTexture && this._refractionTexture.animations && this._refractionTexture.animations.length > 0) {
<mask> results.push(this._refractionTexture);
<mask> }
<mask>
<mask> if (this._cameraColorGradingTexture && this._ca... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/f4b3f860b0ff0c111ea13cd3960c2c72ea597882 | src/Materials/PBR/babylon.pbrBaseMaterial.ts | |
<mask>
<mask> if (this._refractionTexture) {
<mask> this._refractionTexture.dispose();
<mask> }
<mask>
<mask> if (this._cameraColorGradingTexture) {
<mask> this._cameraColorGradingTexture.dispose();
<mask> ... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/f4b3f860b0ff0c111ea13cd3960c2c72ea597882 | src/Materials/PBR/babylon.pbrBaseMaterial.ts | |
if (this._imageProcessingConfiguration && this._imageProcessingObserver) {
this._imageProcessingConfiguration.onUpdateParameters.remove(this._imageProcessingObserver);
}
| <mask> this._renderTargets.dispose();
<mask>
<mask> super.dispose(forceDisposeEffect, forceDisposeTextures);
<mask> }
<mask> }
<mask> } </s> image processing to material integration
Former-commit-id: 6f831aa9b68d14576abec6488e88ca588f2468b3 </s> remove
... | [
"keep",
"add",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/f4b3f860b0ff0c111ea13cd3960c2c72ea597882 | src/Materials/PBR/babylon.pbrBaseMaterial.ts |
<mask> */
<mask> constructor(name: string, scene: Scene) {
<mask> super(name, scene);
<mask>
<mask> this._useEmissiveAsIllumination = true;
<mask> this._useAmbientInGrayScale = true;
<mask> this._useScalarInLinearSpace = true;
<mask> }
<... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/f4b3f860b0ff0c111ea13cd3960c2c72ea597882 | src/Materials/PBR/babylon.pbrBaseSimpleMaterial.ts | |
<mask> super(name, scene);
<mask>
<mask> this._useEmissiveAsIllumination = true;
<mask> this._useAmbientInGrayScale = true;
<mask> this._useScalarInLinearSpace = true;
<mask> }
<mask> }
<mask> } </s> image processing to material integration
Former-c... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/f4b3f860b0ff0c111ea13cd3960c2c72ea597882 | src/Materials/PBR/babylon.pbrBaseSimpleMaterial.ts | |
<mask> @serialize()
<mask> @expandToProperty("_markAllSubMeshesAsTexturesDirty")
<mask> public disableBumpMap: boolean = false;
<mask>
<mask> /**
<mask> * The camera exposure used on this material.
<mask> * This property is here and not in the camera to allow co... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"re... | https://github.com/BabylonJS/Babylon.js/commit/f4b3f860b0ff0c111ea13cd3960c2c72ea597882 | src/Materials/PBR/babylon.pbrMaterial.ts | |
<mask> @serialize()
<mask> @expandToProperty("_markAllSubMeshesAsTexturesDirty")
<mask> public invertRefractionY = false;
<mask>
<mask> @serializeAsFresnelParameters()
<mask> @expandToProperty("_markAllSubMeshesAsTexturesDirty")
<mask> public opacityFresnelParamet... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/f4b3f860b0ff0c111ea13cd3960c2c72ea597882 | src/Materials/PBR/babylon.pbrMaterial.ts | |
<mask> @serialize()
<mask> @expandToProperty("_markAllSubMeshesAsTexturesDirty")
<mask> public useLightmapAsShadowmap = false;
<mask>
<mask> /**
<mask> * In this mode, the emissive informtaion will always be added to the lighting once.
<mask> * A light f... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/f4b3f860b0ff0c111ea13cd3960c2c72ea597882 | src/Materials/PBR/babylon.pbrMaterial.ts | |
<mask> @serialize()
<mask> @expandToProperty("_markAllSubMeshesAsTexturesDirty")
<mask> public useAutoMicroSurfaceFromReflectivityMap = false;
<mask>
<mask> /**
<mask> * Allows to work with scalar in linear mode. This is definitely a matter of preferences and tool... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/f4b3f860b0ff0c111ea13cd3960c2c72ea597882 | src/Materials/PBR/babylon.pbrMaterial.ts | |
<mask> this.loadTexture();
<mask> }
<mask> }
<mask>
<mask> /**
<mask> * Binds the color grading to the shader.
<mask> * @param colorGrading The texture to bind
<mask> * @param effect The effect to bind to
<mask> */
<mask> ... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"re... | https://github.com/BabylonJS/Babylon.js/commit/f4b3f860b0ff0c111ea13cd3960c2c72ea597882 | src/Materials/Textures/babylon.colorGradingTexture.ts | |
public getEngine(): Engine {
return this._engine;
}
| <mask> return this._isReady;
<mask> }
<mask>
<mask> public getProgram(): WebGLProgram {
<mask> return this._program;
<mask> }
<mask>
</s> image processing to material integration
Former-commit-id: 6f831aa9b68d14576abec6488e88ca588f2468b3 </s> remove pu... | [
"keep",
"keep",
"add",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/f4b3f860b0ff0c111ea13cd3960c2c72ea597882 | src/Materials/babylon.effect.ts |
public static BindLights(scene: Scene, mesh: AbstractMesh, effect: Effect, defines: MaterialDefines, maxSimultaneousLights = 4, , usePhysicalLightFalloff = false) {
| <mask> public static BindLightProperties(light: Light, effect: Effect, lightIndex: number): void {
<mask> light.transferToEffect(effect, lightIndex + "");
<mask> }
<mask>
<mask> public static BindLights(scene: Scene, mesh: AbstractMesh, effect: Effect, defines: MaterialDefines,... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/f4b3f860b0ff0c111ea13cd3960c2c72ea597882 | src/Materials/babylon.materialHelper.ts |
let scaledIntensity = light.getScaledIntensity();
| <mask>
<mask> public static BindLights(scene: Scene, mesh: AbstractMesh, effect: Effect, defines: MaterialDefines, maxSimultaneousLights = 4, , usePhysicalLightFalloff = false) {
<mask> var lightIndex = 0;
<mask> for (var light of mesh._lightSources) {
<mask> light.... | [
"keep",
"keep",
"keep",
"add",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/f4b3f860b0ff0c111ea13cd3960c2c72ea597882 | src/Materials/babylon.materialHelper.ts |
light.diffuse.scaleToRef(scaledIntensity, Tmp.Color3[0]);
light._uniformBuffer.updateColor4("vLightDiffuse", Tmp.Color3[0], usePhysicalLightFalloff ? light.radius : light.range, lightIndex + "");
| <mask> light._uniformBuffer.bindToEffect(effect, "Light" + lightIndex);
<mask>
<mask> MaterialHelper.BindLightProperties(light, effect, lightIndex);
<mask>
<mask> light.diffuse.scaleToRef(light.intensity, Tmp.Color3[0]);
<mask> light._uniformBuffer... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/f4b3f860b0ff0c111ea13cd3960c2c72ea597882 | src/Materials/babylon.materialHelper.ts |
light.specular.scaleToRef(scaledIntensity, Tmp.Color3[1]);
| <mask>
<mask> light.diffuse.scaleToRef(light.intensity, Tmp.Color3[0]);
<mask> light._uniformBuffer.updateColor4("vLightDiffuse", Tmp.Color3[0], light.range, lightIndex + "");
<mask> if (defines["SPECULARTERM"]) {
<mask> light.specular.scaleToRef... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/f4b3f860b0ff0c111ea13cd3960c2c72ea597882 | src/Materials/babylon.materialHelper.ts |
export class StandardMaterialDefines extends MaterialDefines implements IImageProcessingDefines {
| <mask> module BABYLON {
<mask> export class StandardMaterialDefines extends MaterialDefines {
<mask> public DIFFUSE = false;
<mask> public AMBIENT = false;
<mask> public OPACITY = false;
<mask> public OPACITYRGB = false;
<mask> public REFLECTION = false;
</s> image pro... | [
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/f4b3f860b0ff0c111ea13cd3960c2c72ea597882 | src/Materials/babylon.standardMaterial.ts |
<mask> public INVERTNORMALMAPX = false;
<mask> public INVERTNORMALMAPY = false;
<mask> public TWOSIDEDLIGHTING = false;
<mask> public SHADOWFLOAT = false;
<mask> public CAMERACOLORGRADING = false;
<mask> public CAMERACOLORCURVES = false;
<mask> public MORPH... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/f4b3f860b0ff0c111ea13cd3960c2c72ea597882 | src/Materials/babylon.standardMaterial.ts | |
public IMAGEPROCESSING = false;
public VIGNETTE = false;
public VIGNETTEBLENDMODEMULTIPLY = false;
public VIGNETTEBLENDMODEOPAQUE = false;
public TONEMAPPING = false;
public CONTRAST = false;
public COLORCURVES = false;
public COLORGRADING = false;
... | <mask> public NUM_MORPH_INFLUENCERS = 0;
<mask> public USERIGHTHANDEDSYSTEM = false;
<mask>
<mask> constructor() {
<mask> super();
<mask> this.rebuild();
<mask> }
<mask>
<mask> public setReflectionMode(modeToEnable: string) {
</s> image process... | [
"keep",
"keep",
"add",
"keep",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/f4b3f860b0ff0c111ea13cd3960c2c72ea597882 | src/Materials/babylon.standardMaterial.ts |
* Default configuration related to image processing available in the standard Material.
| <mask> @expandToProperty("_markAllSubMeshesAsTexturesDirty")
<mask> public twoSidedLighting: boolean;
<mask>
<mask> /**
<mask> * Color Grading 2D Lookup Texture.
<mask> * This allows special effects like sepia, black and white to sixties rendering style.
<mask> ... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/f4b3f860b0ff0c111ea13cd3960c2c72ea597882 | src/Materials/babylon.standardMaterial.ts |
protected _imageProcessingConfiguration: ImageProcessing;
/**
* Gets the image processing configuration used either in this material.
*/
public get imageProcessingConfiguration(): ImageProcessing {
return this._imageProcessingConfiguration;
}
... | <mask> /**
<mask> * Color Grading 2D Lookup Texture.
<mask> * This allows special effects like sepia, black and white to sixties rendering style.
<mask> */
<mask> @serializeAsTexture("cameraColorGradingTexture")
<mask> private _cameraColorGradingTexture: BaseTex... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/f4b3f860b0ff0c111ea13cd3960c2c72ea597882 | src/Materials/babylon.standardMaterial.ts |
public get cameraColorCurves(): ColorCurves {
return this._imageProcessingConfiguration.colorCurves;
}
/**
* The color grading curves provide additional color adjustmnent that is applied after any color grading transform (3D LUT).
* They allow basic adjustment... | <mask> * They allow basic adjustment of saturation and small exposure adjustments, along with color filter tinting to provide white balance adjustment or more stylistic effects.
<mask> * These are similar to controls found in many professional imaging or colorist software. The global controls are ap... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/f4b3f860b0ff0c111ea13cd3960c2c72ea597882 | src/Materials/babylon.standardMaterial.ts |
// Setup the default processing configuration to the scene.
this._attachImageProcessingConfiguration(null);
| <mask> constructor(name: string, scene: Scene) {
<mask> super(name, scene);
<mask>
<mask> this.getRenderTargetTextures = (): SmartArray<RenderTargetTexture> => {
<mask> this._renderTargets.reset();
<mask>
<mask> if (StandardMaterial.ReflectionText... | [
"keep",
"keep",
"add",
"keep",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/f4b3f860b0ff0c111ea13cd3960c2c72ea597882 | src/Materials/babylon.standardMaterial.ts |
<mask> } else {
<mask> defines.REFRACTION = false;
<mask> }
<mask>
<mask> if (this._cameraColorGradingTexture && StandardMaterial.ColorGradingTextureEnabled) {
<mask> // Camera Color Grading can not be non... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/f4b3f860b0ff0c111ea13cd3960c2c72ea597882 | src/Materials/babylon.standardMaterial.ts | |
<mask> defines.EMISSIVE = false;
<mask> defines.LIGHTMAP = false;
<mask> defines.BUMP = false;
<mask> defines.REFRACTION = false;
<mask> defines.CAMERACOLORGRADING = false;
<mask> }
<mask>
<mask>... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/f4b3f860b0ff0c111ea13cd3960c2c72ea597882 | src/Materials/babylon.standardMaterial.ts | |
if (!this.imageProcessingConfiguration.isReady()) {
return false;
}
this.imageProcessingConfiguration.prepareDefines(defines);
| <mask> defines.REFRACTION = false;
<mask> defines.CAMERACOLORGRADING = false;
<mask> }
<mask>
<mask> defines.CAMERACOLORCURVES = (this._cameraColorCurves !== undefined && this._cameraColorCurves !== null);
<mask>
<mask> def... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/f4b3f860b0ff0c111ea13cd3960c2c72ea597882 | src/Materials/babylon.standardMaterial.ts |
ImageProcessing.PrepareUniforms(uniforms, defines);
ImageProcessing.PrepareSamplers(samplers, defines);
| <mask> var samplers = ["diffuseSampler", "ambientSampler", "opacitySampler", "reflectionCubeSampler", "reflection2DSampler", "emissiveSampler", "specularSampler", "bumpSampler", "lightmapSampler", "refractionCubeSampler", "refraction2DSampler"]
<mask>
<mask> var uniformBuffers = ["Ma... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/f4b3f860b0ff0c111ea13cd3960c2c72ea597882 | src/Materials/babylon.standardMaterial.ts |
<mask> } else {
<mask> effect.setTexture("refraction2DSampler", this._refractionTexture);
<mask> }
<mask> }
<mask>
<mask> if (this._cameraColorGradingTexture && StandardMaterial... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/f4b3f860b0ff0c111ea13cd3960c2c72ea597882 | src/Materials/babylon.standardMaterial.ts | |
// image processing
if (this.imageProcessingConfiguration) {
this.imageProcessingConfiguration.bind(this._activeEffect);
| <mask>
<mask> // Log. depth
<mask> MaterialHelper.BindLogDepth(defines, effect, scene);
<mask>
<mask> // Color Curves
<mask> if (this._cameraColorCurves) {
<mask> ColorCurves.Bind(this._cameraColorCurves, effect);
<mask> ... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/f4b3f860b0ff0c111ea13cd3960c2c72ea597882 | src/Materials/babylon.standardMaterial.ts |
<mask>
<mask> if (this._refractionTexture && this._refractionTexture.animations && this._refractionTexture.animations.length > 0) {
<mask> results.push(this._refractionTexture);
<mask> }
<mask>
<mask> if (this._cameraColorGradingTexture && this._ca... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/f4b3f860b0ff0c111ea13cd3960c2c72ea597882 | src/Materials/babylon.standardMaterial.ts | |
}
if (this._imageProcessingConfiguration && this._imageProcessingObserver) {
this._imageProcessingConfiguration.onUpdateParameters.remove(this._imageProcessingObserver);
| <mask>
<mask> if (this._refractionTexture) {
<mask> this._refractionTexture.dispose();
<mask> }
<mask>
<mask> if (this._cameraColorGradingTexture) {
<mask> this._cameraColorGradingTexture.dispose();
<mask> ... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/f4b3f860b0ff0c111ea13cd3960c2c72ea597882 | src/Materials/babylon.standardMaterial.ts |
/**
* Default configuration related to image processing available in the PBR Material.
*/
protected _imageProcessingConfiguration: ImageProcessing;
| <mask> public colorGradingWeight: number = 1.0;
<mask> public colorCurves = new ColorCurves();
<mask> private _colorCurvesEnabled = true;
<mask>
<mask> public cameraFov = 0.5;
<mask>
<mask> public vignetteStretch = 0;
<mask> public vignetteCentreX = 0;
<mask> public vignetteCentreY ... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/f4b3f860b0ff0c111ea13cd3960c2c72ea597882 | src/PostProcess/babylon.imageProcessingPostProcess.ts |
/**
* Gets the image processing configuration used either in this material.
*/
public get imageProcessingConfiguration(): ImageProcessing {
return this._imageProcessingConfiguration;
}
| <mask> private _colorCurvesEnabled = true;
<mask>
<mask> public cameraFov = 0.5;
<mask>
<mask> public vignetteStretch = 0;
<mask> public vignetteCentreX = 0;
<mask> public vignetteCentreY = 0;
<mask> public vignetteWeight = 1.5;
<mask> public vignetteColor: BABYLON.Color4 = new BABY... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/f4b3f860b0ff0c111ea13cd3960c2c72ea597882 | src/PostProcess/babylon.imageProcessingPostProcess.ts |
/**
* Sets the Default image processing configuration used either in the this material.
*
* If sets to null, the scene one is in use.
*/
public set imageProcessingConfiguration(value: ImageProcessing) {
this._attachImageProcessingConfiguration(value... | <mask> private _cameraToneMappingEnabled = true;
<mask>
<mask> private _fromLinearSpace = false;
<mask>
<mask> public get colorGradingTexture(): BaseTexture {
<mask> return this._colorGradingTexture;
<mask> }
<mask>
<mask> public set colorGradingTexture(value: B... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/f4b3f860b0ff0c111ea13cd3960c2c72ea597882 | src/PostProcess/babylon.imageProcessingPostProcess.ts |
/**
* Keep track of the image processing observer to allow dispose and replace.
*/
private _imageProcessingObserver: Observer<ImageProcessing>;
/**
* Attaches a new image processing configuration to the PBR Material.
* @param configuration
*... | <mask> public get colorGradingTexture(): BaseTexture {
<mask> return this._colorGradingTexture;
<mask> }
<mask>
<mask> public set colorGradingTexture(value: BaseTexture) {
<mask> if (this._colorGradingTexture === value) {
<mask> return;
<mask> ... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/f4b3f860b0ff0c111ea13cd3960c2c72ea597882 | src/PostProcess/babylon.imageProcessingPostProcess.ts |
// Detaches observer.
if (this._imageProcessingConfiguration && this._imageProcessingObserver) {
this._imageProcessingConfiguration.onUpdateParameters.remove(this._imageProcessingObserver);
}
// Pick the scene configuration if needed.
if... | <mask> if (this._colorGradingTexture === value) {
<mask> return;
<mask> }
<mask>
<mask> this._colorGradingTexture = value;
<mask> this._updateParameters();
<mask> }
<mask>
<mask> public get vignetteBlendMode(): number {
<mask> ... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/f4b3f860b0ff0c111ea13cd3960c2c72ea597882 | src/PostProcess/babylon.imageProcessingPostProcess.ts |
/**
* Gets Color curves setup used in the effect if colorCurvesEnabled is set to true .
*/
public get colorCurves(): ColorCurves {
return this.imageProcessingConfiguration.colorCurves;
}
/**
* Sets Color curves setup used in the effect if col... | <mask> this._colorGradingTexture = value;
<mask> this._updateParameters();
<mask> }
<mask>
<mask> public get vignetteBlendMode(): number {
<mask> return this._vignetteBlendMode;
<mask> }
<mask>
<mask> public set vignetteBlendMode(value: numb... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/f4b3f860b0ff0c111ea13cd3960c2c72ea597882 | src/PostProcess/babylon.imageProcessingPostProcess.ts |
/**
* Gets wether the color curves effect is enabled.
*/
public get colorCurvesEnabled(): boolean {
return this.imageProcessingConfiguration.colorCurvesEnabled;
}
/**
* Sets wether the color curves effect is enabled.
*/
pub... | <mask> public get vignetteBlendMode(): number {
<mask> return this._vignetteBlendMode;
<mask> }
<mask>
<mask> public set vignetteBlendMode(value: number) {
<mask> if (this._vignetteBlendMode === value) {
<mask> return;
<mask> }
<mask>... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/f4b3f860b0ff0c111ea13cd3960c2c72ea597882 | src/PostProcess/babylon.imageProcessingPostProcess.ts |
/**
* Gets Color grading LUT texture used in the effect if colorGradingEnabled is set to true.
*/
public get colorGradingTexture(): BaseTexture {
return this.imageProcessingConfiguration.colorGradingTexture;
}
/**
* Sets Color grading LUT tex... | <mask> if (this._vignetteBlendMode === value) {
<mask> return;
<mask> }
<mask>
<mask> this._vignetteBlendMode = value;
<mask> this._updateParameters();
<mask> }
<mask>
<mask> public get colorCurvesEnabled(): boolean {
<mask> ... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/f4b3f860b0ff0c111ea13cd3960c2c72ea597882 | src/PostProcess/babylon.imageProcessingPostProcess.ts |
/**
* Gets wether the color grading effect is enabled.
*/
public get colorGradingEnabled(): boolean {
return this.imageProcessingConfiguration.colorGradingEnabled;
}
/**
* Gets wether the color grading effect is enabled.
*/
... | <mask> this._vignetteBlendMode = value;
<mask> this._updateParameters();
<mask> }
<mask>
<mask> public get colorCurvesEnabled(): boolean {
<mask> return this._colorCurvesEnabled;
<mask> }
<mask>
<mask> public set colorCurvesEnabled(value: ... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/f4b3f860b0ff0c111ea13cd3960c2c72ea597882 | src/PostProcess/babylon.imageProcessingPostProcess.ts |
/**
* Gets Camera exposure used in the effect.
*/
public get cameraExposure(): number {
return this.imageProcessingConfiguration.cameraExposure;
}
/**
* Sets Camera exposure used in the effect.
*/
public set cameraExposure(... | <mask> public get colorCurvesEnabled(): boolean {
<mask> return this._colorCurvesEnabled;
<mask> }
<mask>
<mask> public set colorCurvesEnabled(value: boolean) {
<mask> if (this._colorCurvesEnabled === value) {
<mask> return;
<mask> }
... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/f4b3f860b0ff0c111ea13cd3960c2c72ea597882 | src/PostProcess/babylon.imageProcessingPostProcess.ts |
/**
* Gets Camera contrast used in the effect.
*/
public get cameraContrast(): number {
return this.imageProcessingConfiguration.cameraContrast;
}
/**
* Sets Camera contrast used in the effect.
*/
public set cameraContrast(... | <mask> if (this._colorCurvesEnabled === value) {
<mask> return;
<mask> }
<mask>
<mask> this._colorCurvesEnabled = value;
<mask> this._updateParameters();
<mask> }
<mask>
<mask> public get vignetteEnabled(): boolean {
... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/f4b3f860b0ff0c111ea13cd3960c2c72ea597882 | src/PostProcess/babylon.imageProcessingPostProcess.ts |
/**
* Gets Vignette stretch size.
*/
public get vignetteStretch(): number {
return this.imageProcessingConfiguration.vignetteStretch;
}
/**
* Sets Vignette stretch size.
*/
public set vignetteStretch(value: number) {
... | <mask> this._colorCurvesEnabled = value;
<mask> this._updateParameters();
<mask> }
<mask>
<mask> public get vignetteEnabled(): boolean {
<mask> return this._vignetteEnabled;
<mask> }
<mask>
<mask> public set vignetteEnabled(value:... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/f4b3f860b0ff0c111ea13cd3960c2c72ea597882 | src/PostProcess/babylon.imageProcessingPostProcess.ts |
/**
* Gets Vignette centre X Offset.
*/
public get vignetteCentreX(): number {
return this.imageProcessingConfiguration.vignetteCentreX;
}
/**
* Sets Vignette centre X Offset.
*/
public set vignetteCentreX(value: number) {
... | <mask> public get vignetteEnabled(): boolean {
<mask> return this._vignetteEnabled;
<mask> }
<mask>
<mask> public set vignetteEnabled(value: boolean) {
<mask> if (this._vignetteEnabled === value) {
<mask> return;
<mask> }
<mask>
<ma... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/f4b3f860b0ff0c111ea13cd3960c2c72ea597882 | src/PostProcess/babylon.imageProcessingPostProcess.ts |
/**
* Gets Vignette centre Y Offset.
*/
public get vignetteCentreY(): number {
return this.imageProcessingConfiguration.vignetteCentreY;
}
/**
* Sets Vignette centre Y Offset.
*/
public set vignetteCentreY(value: number) {
... | <mask> if (this._vignetteEnabled === value) {
<mask> return;
<mask> }
<mask>
<mask> this._vignetteEnabled = value;
<mask> this._updateParameters();
<mask> }
<mask>
<mask> public get fromLinearSpace(): boolean {
<mask> ... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/f4b3f860b0ff0c111ea13cd3960c2c72ea597882 | src/PostProcess/babylon.imageProcessingPostProcess.ts |
/**
* Sets wether the input of the processing is in Gamma or Linear Space.
*/
| <mask>
<mask> public get fromLinearSpace(): boolean {
<mask> return this._fromLinearSpace;
<mask> }
<mask>
<mask> public set fromLinearSpace(value: boolean) {
<mask> if (this._fromLinearSpace === value) {
<mask> return;
<mask> }
<ma... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/f4b3f860b0ff0c111ea13cd3960c2c72ea597882 | src/PostProcess/babylon.imageProcessingPostProcess.ts |
<mask> }
<mask>
<mask> this._fromLinearSpace = value;
<mask> this._updateParameters();
<mask> }
<mask>
<mask> public get cameraToneMappingEnabled(): boolean {
<mask> return this._cameraToneMappingEnabled;
<mask> }
<mask>
... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/f4b3f860b0ff0c111ea13cd3960c2c72ea597882 | src/PostProcess/babylon.imageProcessingPostProcess.ts | |
/**
* Defines cache preventing GC.
*/
private _defines: IImageProcessingDefines & { FROMLINEARSPACE: boolean } = {
VIGNETTE: false,
VIGNETTEBLENDMODEMULTIPLY: false,
VIGNETTEBLENDMODEOPAQUE: false,
TONEMAPPING: false,
... | <mask> public get cameraToneMappingEnabled(): boolean {
<mask> return this._cameraToneMappingEnabled;
<mask> }
<mask>
<mask> public set cameraToneMappingEnabled(value: boolean) {
<mask> if (this._cameraToneMappingEnabled === value) {
<mask> return;... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/f4b3f860b0ff0c111ea13cd3960c2c72ea597882 | src/PostProcess/babylon.imageProcessingPostProcess.ts |
super(name, "imageProcessing", [], [], options, camera, samplingMode, engine, reusable,
| <mask> this._updateParameters();
<mask> }
<mask>
<mask> constructor(name: string, options: number | PostProcessOptions, camera?: Camera, samplingMode?: number, engine?: Engine, reusable?: boolean, textureType: number = Engine.TEXTURETYPE_UNSIGNED_INT) {
<mask> ... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/f4b3f860b0ff0c111ea13cd3960c2c72ea597882 | src/PostProcess/babylon.imageProcessingPostProcess.ts |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.