David Catuhe 5b74b13f8f Fix loader bug 7 anos atrás
..
babylon.brickProceduralTexture.d.ts e8ca73d095 Nightly 8 anos atrás
babylon.brickProceduralTexture.js 5b74b13f8f Fix loader bug 7 anos atrás
babylon.brickProceduralTexture.min.js 613af5b1b9 Fix playground bug when dist=true 8 anos atrás
babylon.cloudProceduralTexture.d.ts e8ca73d095 Nightly 8 anos atrás
babylon.cloudProceduralTexture.js 5b74b13f8f Fix loader bug 7 anos atrás
babylon.cloudProceduralTexture.min.js 613af5b1b9 Fix playground bug when dist=true 8 anos atrás
babylon.fireProceduralTexture.d.ts e8ca73d095 Nightly 8 anos atrás
babylon.fireProceduralTexture.js 5b74b13f8f Fix loader bug 7 anos atrás
babylon.fireProceduralTexture.min.js 97c5d80016 fixed #2982!!!!!!! 7 anos atrás
babylon.grassProceduralTexture.d.ts 08783affe9 NoImplicitThis 7 anos atrás
babylon.grassProceduralTexture.js 5b74b13f8f Fix loader bug 7 anos atrás
babylon.grassProceduralTexture.min.js 08783affe9 NoImplicitThis 7 anos atrás
babylon.marbleProceduralTexture.d.ts e8ca73d095 Nightly 8 anos atrás
babylon.marbleProceduralTexture.js 5b74b13f8f Fix loader bug 7 anos atrás
babylon.marbleProceduralTexture.min.js 613af5b1b9 Fix playground bug when dist=true 8 anos atrás
babylon.normalMapProceduralTexture.d.ts e8ca73d095 Nightly 8 anos atrás
babylon.normalMapProceduralTexture.js 5b74b13f8f Fix loader bug 7 anos atrás
babylon.normalMapProceduralTexture.min.js 613af5b1b9 Fix playground bug when dist=true 8 anos atrás
babylon.perlinNoiseProceduralTexture.d.ts 8979e87e36 NIghtly 8 anos atrás
babylon.perlinNoiseProceduralTexture.js 5b74b13f8f Fix loader bug 7 anos atrás
babylon.perlinNoiseProceduralTexture.min.js 97c5d80016 fixed #2982!!!!!!! 7 anos atrás
babylon.roadProceduralTexture.d.ts e8ca73d095 Nightly 8 anos atrás
babylon.roadProceduralTexture.js 5b74b13f8f Fix loader bug 7 anos atrás
babylon.roadProceduralTexture.min.js 613af5b1b9 Fix playground bug when dist=true 8 anos atrás
babylon.starfieldProceduralTexture.d.ts e8ca73d095 Nightly 8 anos atrás
babylon.starfieldProceduralTexture.js 5b74b13f8f Fix loader bug 7 anos atrás
babylon.starfieldProceduralTexture.min.js 613af5b1b9 Fix playground bug when dist=true 8 anos atrás
babylon.waterProceduralTexture.d.ts e8725fc827 Adding Normal Map Procedural Texture 8 anos atrás
babylon.waterProceduralTexture.js e8725fc827 Adding Normal Map Procedural Texture 8 anos atrás
babylon.waterProceduralTexture.min.js e8725fc827 Adding Normal Map Procedural Texture 8 anos atrás
babylon.woodProceduralTexture.d.ts e8ca73d095 Nightly 8 anos atrás
babylon.woodProceduralTexture.js 5b74b13f8f Fix loader bug 7 anos atrás
babylon.woodProceduralTexture.min.js 613af5b1b9 Fix playground bug when dist=true 8 anos atrás
babylonjs.proceduralTextures.js 5b74b13f8f Fix loader bug 7 anos atrás
babylonjs.proceduralTextures.min.js 97c5d80016 fixed #2982!!!!!!! 7 anos atrás
babylonjs.proceduralTextures.module.d.ts 08783affe9 NoImplicitThis 7 anos atrás
package.json 73396a3b50 NPM Version bump 7 anos atrás
readme.md 2561068aad Small error in the readme files of the submodules. 7 anos atrás

readme.md

Babylon.js Procedural Textures Library

For usage documentation please visit http://doc.babylonjs.com/extensions and choose "procedural textures 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-procedural-textures

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

    ....
    "types": [
        "babylonjs",
        "babylonjs-procedural-textures",
        "oneMoreDependencyThatIReallyNeed"
    ],
    ....

Afterwards it can be imported to the project using:

import * as BABYLON from 'babylonjs';
import 'babylonjs-procedural-textures';

This will extend Babylon's namespace with the procedural textures available:

// Some awesome code
var fireMaterial = new BABYLON.StandardMaterial("fontainSculptur2", scene);
var fireTexture = new BABYLON.FireProceduralTexture("fire", 256, scene);
fireMaterial.diffuseTexture = fireTexture;
fireMaterial.opacityTexture = fireTexture;
// Some more awesome code

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