Lighting on cubes

Good morning,

As a lighting test, I’ve created a tunnel made from cubes which have been exported from Blender. I’ve applied two spotlights in my program to light each end of the tunnel. The problem is, that it lights the cube faces in an odd way. I’ve attached a picture to this post to show what it looks like.

I (foolishly) expected that when lighting was applied, the transition would be smooth. Any ideas how I can make this happen?

The cube was just a standard cube within blender, with no modifications except to the size.




Have you clicked Set Smooth? Try clicking Set Solid.