itch.io is community of indie game creators and players

Devlogs

Lighting Implimented

3D Projection Demo (Love2D)
A downloadable game for Windows

Added simple lighting by calculating the dot product between the camera's forward vector and the tris of the given model. The dot product result gets used on the color function to determine how light or dark a triangle should be.

The Utah teapot is being used to bench mark the 3d engines performance. There is currently an average around of 30 fps with lighting, back face culling, and z- buffer sorting. 

Download 3D Projection Demo (Love2D)
Leave a comment