sebastien 231b92bad4 Yet another Build: Same dist 7 anos atrás
..
babylon.asciiArtPostProcess.js.map 231b92bad4 Yet another Build: Same dist 7 anos atrás
babylon.asciiArtpostProcess.js 231b92bad4 Yet another Build: Same dist 7 anos atrás
babylon.asciiArtpostProcess.min.js 231b92bad4 Yet another Build: Same dist 7 anos atrás
babylon.asciiArtpostProcess.min.js.map 231b92bad4 Yet another Build: Same dist 7 anos atrás
babylon.digitalRainPostProcess.js b5f6962e58 Move Lib to AwesomeTypeScript 7 anos atrás
babylon.digitalRainPostProcess.js.map b5f6962e58 Move Lib to AwesomeTypeScript 7 anos atrás
babylon.digitalRainPostProcess.min.js b5f6962e58 Move Lib to AwesomeTypeScript 7 anos atrás
babylon.digitalRainPostProcess.min.js.map b5f6962e58 Move Lib to AwesomeTypeScript 7 anos atrás
babylonjs.postProcess.d.ts b5f6962e58 Move Lib to AwesomeTypeScript 7 anos atrás
babylonjs.postProcess.js b5f6962e58 Move Lib to AwesomeTypeScript 7 anos atrás
babylonjs.postProcess.js.map b5f6962e58 Move Lib to AwesomeTypeScript 7 anos atrás
babylonjs.postProcess.min.js b5f6962e58 Move Lib to AwesomeTypeScript 7 anos atrás
babylonjs.postProcess.min.js.map b5f6962e58 Move Lib to AwesomeTypeScript 7 anos atrás
babylonjs.postProcess.module.d.ts b5f6962e58 Move Lib to AwesomeTypeScript 7 anos atrás
package.json 5f70e84a60 Initial commit with postprocess lib 7 anos atrás
readme.md 2561068aad Small error in the readme files of the submodules. 7 anos atrás

readme.md

Babylon.js Post Processes Library

For usage documentation please visit http://doc.babylonjs.com/extensions and choose "post process library".

Installation instructions

CDN

Compiled js files (minified and source) are offered on our public CDN here:

NPM

To install using npm :

npm install --save babylonjs babylonjs-post-process

If using TypeScript, the typing needs to be added to tsconfig.json:

    ....
    "types": [
        "babylonjs",
        "babylonjs-post-process",
        "oneMoreDependencyThatIReallyNeed"
    ],
    ....

Afterwards it can be imported to the project using:

import * as BABYLON from 'babylonjs';
import 'babylonjs-post-process';

This will extend Babylon's namespace with the post processes available:

// Some awesome code
// Creates the post process
let postProcess = new BABYLON.AsciiArtPostProcess("AsciiArt", camera);
// Some more awesome code

Using webpack to package your project will use the minified js file.