Browse Source

Reintegrate PBR preview mere

sebastien 7 years ago
parent
commit
8397152e93

File diff suppressed because it is too large
+ 3077 - 3077
Playground/babylon.d.txt


File diff suppressed because it is too large
+ 2929 - 2929
dist/preview release/babylon.d.ts


File diff suppressed because it is too large
+ 1 - 1
dist/preview release/babylon.js


+ 1 - 1
dist/preview release/babylon.max.js

@@ -45548,7 +45548,7 @@ var BABYLON;
                 BABYLON.MaterialHelper.BindLogDepth(defines, this._activeEffect, scene);
             }
             this._uniformBuffer.update();
-            this._afterBind(mesh);
+            this._afterBind(mesh, this._activeEffect);
         };
         /**
          * Returns the animatable textures.

+ 1 - 1
dist/preview release/babylon.no-module.max.js

@@ -45515,7 +45515,7 @@ var BABYLON;
                 BABYLON.MaterialHelper.BindLogDepth(defines, this._activeEffect, scene);
             }
             this._uniformBuffer.update();
-            this._afterBind(mesh);
+            this._afterBind(mesh, this._activeEffect);
         };
         /**
          * Returns the animatable textures.

File diff suppressed because it is too large
+ 1 - 1
dist/preview release/babylon.worker.js


+ 1 - 1
dist/preview release/es6.js

@@ -45515,7 +45515,7 @@ var BABYLON;
                 BABYLON.MaterialHelper.BindLogDepth(defines, this._activeEffect, scene);
             }
             this._uniformBuffer.update();
-            this._afterBind(mesh);
+            this._afterBind(mesh, this._activeEffect);
         };
         /**
          * Returns the animatable textures.

File diff suppressed because it is too large
+ 1 - 1
dist/preview release/viewer/babylon.viewer.js


+ 2 - 2
dist/preview release/viewer/babylon.viewer.max.js

@@ -45636,7 +45636,7 @@ var BABYLON;
                 BABYLON.MaterialHelper.BindLogDepth(defines, this._activeEffect, scene);
             }
             this._uniformBuffer.update();
-            this._afterBind(mesh);
+            this._afterBind(mesh, this._activeEffect);
         };
         /**
          * Returns the animatable textures.
@@ -106317,7 +106317,7 @@ var BABYLON;
         (function (Extensions) {
             var NAME = "KHR_materials_unlit";
             /**
-             * [Specification](https://github.com/donmccurdy/glTF/tree/feat-khr-materials-cmnConstant/extensions/2.0/Khronos/KHR_materials_unlit) (Experimental)
+             * [Specification](https://github.com/KhronosGroup/glTF/tree/master/extensions/2.0/Khronos/KHR_materials_unlit)
              */
             var KHR_materials_unlit = /** @class */ (function (_super) {
                 __extends(KHR_materials_unlit, _super);

+ 1 - 1
src/Materials/PBR/babylon.pbrBaseMaterial.ts

@@ -1611,7 +1611,7 @@
 
             this._uniformBuffer.update();
 
-            this._afterBind(mesh);
+            this._afterBind(mesh, this._activeEffect);
         }
 
         /**