Scene.createMaterial

Write the first paragraph of your page here.

scene.createMaterial
creates a material with the specified attributes and returns a unique ID. Parameters:

loon.scene.createMaterial(table ambient, table diffuse, table specular, table emission, double shiny, shader id, texture id)

Ambient, Diffuse, Specular and Emission are tables of the format {double r, double g, double b, double a} with values ranging from 0..1 Shader ID and texture ID should either be 0 (default shader/no texture) or a unique ID returned from the shader and texture loading functions.

Section heading
Write the second section of your page here.