I have no idea how to light 3D models. Are there any tutorials for lua out there? I've tried slapping this into my code but nothing changes (I got the code from a thread whose poster had problems with lighting which were never solved):
Code:
Gu.light(Gu.LIGHT0, Gu.POINTLIGHT, Gu.AMBIENT_AND_DIFFUSE,-100,-100,-100)
Gu.lightColor(Gu.LIGHT0, Gu.AMBIENT, blue)
Gu.lightColor(Gu.LIGHT0, Gu.DIFFUSE, white)
I guess C/C++ tutorials for this it might help also but I'd probably get confused.