Vertex cube lighting

Blitz3D Forums/Blitz3D Programming/Vertex cube lighting


The cube is 1 mesh, 6 surfaces and 24 vertex's. No brush as yet.


Your cube has only 12 vertices. It really does need 24 for the sides to look flat.

Each vertex has only one normal.
Each corner of the cube belongs to three sides, and thus needs three different normals.

As a result, each corner really needs to be three vertices at a single location.