Browse Source

Delete readme.md

David Catuhe 9 years ago
parent
commit
13751c2fb2
1 changed files with 0 additions and 32 deletions
  1. 0 32
      materialsLibrary/materials/lava/readme.md

+ 0 - 32
materialsLibrary/materials/lava/readme.md

@@ -1,32 +0,0 @@
-# Lava material
-
-## No playground example for now
-
-## Using the lava material
-
-The lava material needs at least a noise texture and a diffuse texture to render properly.
-Just create a new reference of the material and assign it two textures:
-
-```
-var ground = BABYLON.Mesh.CreateGround("ground", 512, 512, 32, scene);
-
-var lavaMaterial = new BABYLON.LavaMaterial("lava", scene);
-lavaMaterial.noiseTexture = new BABYLON.Texture("cloud.png", scene); // Set the bump texture
-lavaMaterial.diffuseTexture = new BABYLON.Texture("lavatile.jpg", scene); // Set the diffuse texture
-
-ground.material = lavaMaterial;
-```
-
-The diffuse texture will be the color of your lava, the noise texture will represent the lava deformation.
-Notice that this material will update each vertex position of your object. If there are not enough vertices, 
-some artefacts may appears.
-
-## Customize the lava material
-
-You can customize two properties of the material:
-
-```
-lavaMaterial.speed = 2.0; // Default 1. Represents speed of perturbations of the lava
-lavaMaterial.fogColor = new BABYLON.Color3(1, 0, 0); // Default to (0,0,0) black. Represents the color of the fog displayed on the lava ground.
-```
-