Browse Source

HD CreateScreenshotWithRenderTexture

Support Axeon 7 years ago
parent
commit
d36452b9c8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Tools/babylon.tools.ts

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

@@ -948,7 +948,7 @@
             texture.renderList = null;
             texture.renderList = null;
             texture.samples = samples;
             texture.samples = samples;
             if(antialiasing) {
             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(() => {
             texture.onAfterRenderObservable.add(() => {
                 Tools.DumpFramebuffer(width, height, engine, successCallback, mimeType, fileName);
                 Tools.DumpFramebuffer(width, height, engine, successCallback, mimeType, fileName);