Hey Guys,
I have a question about lighting. When I am using D3DXCreateTeapot function and light it using ambient and directional lighting, everything is fine. But when it comes to lighting the objects which are in my vertex buffer, it doesn't work. For example I had a cube in my vertex buffer and it appears always totally black when I use the same methods as I did with the teapot. Do I have to do something else or is there no way to light objects in the vertex buffer?
Thanks