Friday, April 29, 2011

Happy Buddha


Lighting is now fixed and speculars are finally moving according to camera and light position. In the end bug was simple but hard to notice, I forgot to normalize camera vector in the shader which made it *very* big compared to light vector in the lighting equation so light movement did not cause any changes and only camera did. Also pick feature got fixed on the way while porting recent changes to win32 build. Now it is time for new features and optimize the mesh loader, it takes ages to load buddha model :)

No comments: