For a school project, I am trying to make my own way to light a mesh. I know that this is way easy to get this effect, but I am trying to understand how blitz works and make my own function. I have tried, and got it to sort of work, but it still has issues that are confusing me a lot. Here is what I have so far. Please help me figure out how to get this working!
http://www.freewebs.com/blitznerd/lighting/lighting.zip
My lighting attempt
http://www.freewebs.com/blitznerd/lighting/lighting.zip
My lighting attempt