Browse Source

HD CreateScreenshotWithRenderTexture

Support Axeon 7 năm trước cách đây
mục cha
commit
d36452b9c8
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/Tools/babylon.tools.ts

+ 1 - 1
src/Tools/babylon.tools.ts

@@ -948,7 +948,7 @@
             texture.renderList = null;
             texture.samples = samples;
             if(antialiasing) {
-                texture.addPostProcess(new BABYLON.FxaaPostProcess('antialising', 1.0, scene.activeCamera));
+                texture.addPostProcess(new BABYLON.FxaaPostProcess('antialiasing', 1.0, scene.activeCamera));
             }
             texture.onAfterRenderObservable.add(() => {
                 Tools.DumpFramebuffer(width, height, engine, successCallback, mimeType, fileName);