(SOLVED) spotlight on some models failure

This my code and models:
ubuntuone.com/0bEYRyeh6SDO8TFzQoZUmz
2.4M

The spotlight can shine lamp, but not shine to the ground.

Press the key 1,2,3,4 when it running.

########################################################################
spotlight = Spotlight("spotlight")
spotlight.setColor(Vec4(1,1,0,1))
#spotlight.getLens().setNearFar(0.1,30)
#spotlight.getLens().setFov(80)
self.slnp = render.attachNewNode(spotlight)
self.slnp.reparentTo(self.lightModel)
self.slnp.setPos(0,-0.5,2.5)
self.slnp.setHpr(0,-90,0)
render.setLight(self.slnp)
########################################################################

By default, Panda uses per-vertex lighting. If the floor has few vertices (eg. one at each corner), this could cause the light not to appear correctly in some cases. You could use setShaderAuto() on the floor to enable per-pixel lighting.

That’s only a guess, though. The other possibility is that the material of the floor does not have a proper diffuse colour set.

Thank you!

Ah … but it unlike my imagination.