David Catuhe c65b352fca Nightly 6 éve
..
babylon.brickProceduralTexture.js c65b352fca Nightly 6 éve
babylon.brickProceduralTexture.js.map c65b352fca Nightly 6 éve
babylon.brickProceduralTexture.min.js 9db553eb1c nightly (with the new modules!!!) 6 éve
babylon.cloudProceduralTexture.js c65b352fca Nightly 6 éve
babylon.cloudProceduralTexture.js.map c65b352fca Nightly 6 éve
babylon.cloudProceduralTexture.min.js 9db553eb1c nightly (with the new modules!!!) 6 éve
babylon.fireProceduralTexture.js c65b352fca Nightly 6 éve
babylon.fireProceduralTexture.js.map c65b352fca Nightly 6 éve
babylon.fireProceduralTexture.min.js 9db553eb1c nightly (with the new modules!!!) 6 éve
babylon.grassProceduralTexture.js c65b352fca Nightly 6 éve
babylon.grassProceduralTexture.js.map c65b352fca Nightly 6 éve
babylon.grassProceduralTexture.min.js 9db553eb1c nightly (with the new modules!!!) 6 éve
babylon.marbleProceduralTexture.js c65b352fca Nightly 6 éve
babylon.marbleProceduralTexture.js.map c65b352fca Nightly 6 éve
babylon.marbleProceduralTexture.min.js 9db553eb1c nightly (with the new modules!!!) 6 éve
babylon.normalMapProceduralTexture.js c65b352fca Nightly 6 éve
babylon.normalMapProceduralTexture.js.map c65b352fca Nightly 6 éve
babylon.normalMapProceduralTexture.min.js 9db553eb1c nightly (with the new modules!!!) 6 éve
babylon.perlinNoiseProceduralTexture.js c65b352fca Nightly 6 éve
babylon.perlinNoiseProceduralTexture.js.map c65b352fca Nightly 6 éve
babylon.perlinNoiseProceduralTexture.min.js 9db553eb1c nightly (with the new modules!!!) 6 éve
babylon.roadProceduralTexture.js c65b352fca Nightly 6 éve
babylon.roadProceduralTexture.js.map c65b352fca Nightly 6 éve
babylon.roadProceduralTexture.min.js 9db553eb1c nightly (with the new modules!!!) 6 éve
babylon.starfieldProceduralTexture.js c65b352fca Nightly 6 éve
babylon.starfieldProceduralTexture.js.map c65b352fca Nightly 6 éve
babylon.starfieldProceduralTexture.min.js 9db553eb1c nightly (with the new modules!!!) 6 éve
babylon.woodProceduralTexture.js c65b352fca Nightly 6 éve
babylon.woodProceduralTexture.js.map c65b352fca Nightly 6 éve
babylon.woodProceduralTexture.min.js 9db553eb1c nightly (with the new modules!!!) 6 éve
babylonjs.proceduralTextures.d.ts 9db553eb1c nightly (with the new modules!!!) 6 éve
babylonjs.proceduralTextures.js c65b352fca Nightly 6 éve
babylonjs.proceduralTextures.js.map c65b352fca Nightly 6 éve
babylonjs.proceduralTextures.min.js 9db553eb1c nightly (with the new modules!!!) 6 éve
babylonjs.proceduralTextures.module.d.ts 9db553eb1c nightly (with the new modules!!!) 6 éve
package.json bbec21c129 4.0.0-alpha.28 6 éve
readme-es6.md 2e710a8ebe dedicated es6 readme 6 éve
readme.md 2561068aad Small error in the readme files of the submodules. 7 éve

readme-es6.md

Babylon.js Procedural Textures Library

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

Installation instructions

To install using npm :

npm install --save @babylonjs/core @babylonjs/procedural-textures

How to use

Afterwards it can be imported to the your project using:

import { StandardMaterial } from '@babylonjs/core/Materials/standardMaterial';
import { FireProceduralTexture } from '@babylonjs/procedural-textures/fireProceduralTexture';

And used as usual:

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

For more information you can have a look at our our ES6 dedicated documentation.