Material Basics
Materials get applied to Meshes. By default materials are of a specific color (white) but this can be customized in a variety of ways.
The result is our unlit cube.
As you can see the results are not terribly impressive. Things start to look better once we start working with lights. Continuing from the same code as above.
Our cube is looking a lot better.
Using the geometry from our previous example lets take a look at how to use textures.
Here you can see our cube with the loaded texture applied
Blend Modes
Materials can have blend modes applied to them to blend with the objects behind them. These are comparable to Photoshop blend modes.
Changing blend modes on a material is straightforward. You simply access the .blendMode property of the material you want to change.