Explorar o código

HD CreateScreenshotWithRenderTexture

Support Axeon %!s(int64=7) %!d(string=hai) anos
pai
achega
d36452b9c8
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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);