babylon.anaglyphPostProcess.js 394 B

123456789101112
  1. "use strict";
  2. var BABYLON = BABYLON || {};
  3. (function () {
  4. BABYLON.AnaglyphPostProcess = function (name, ratio, camera, samplingMode, engine, reusable) {
  5. BABYLON.PostProcess.call(this, name, "anaglyph", null, ["leftSampler"], ratio, camera, samplingMode, engine, reusable);
  6. };
  7. BABYLON.AnaglyphPostProcess.prototype = Object.create(BABYLON.PostProcess.prototype);
  8. })();