|
7 anni fa | |
---|---|---|
.. | ||
babylon.asciiArtPostProcess.d.ts | 7 anni fa | |
babylon.asciiArtPostProcess.js | 7 anni fa | |
babylon.asciiArtPostProcess.min.js | 7 anni fa | |
babylon.digitalRainPostProcess.d.ts | 7 anni fa | |
babylon.digitalRainPostProcess.js | 7 anni fa | |
babylon.digitalRainPostProcess.min.js | 7 anni fa | |
babylonjs.postProcess.d.ts | 7 anni fa | |
babylonjs.postProcess.js | 7 anni fa | |
babylonjs.postProcess.min.js | 7 anni fa | |
babylonjs.postProcess.module.d.ts | 7 anni fa | |
package.json | 7 anni fa | |
readme.md | 7 anni fa |
For usage documentation please visit http://doc.babylonjs.com/extensions and choose "post process library".
Compiled js files (minified and source) are offered on our public CDN here:
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.