perselletje
09-16-2005, 06:01 AM
I have a problem with the lights in my virtual room. I managed to create a light, but it shines upward, and I can't find a way to turn it around so it shines downward.
This is what I did:
mylight = lightNode.add(viz.LIGHT)
mylight.position(0,2,5)
mylight.direction(0,1,0)
Can anyone tell me how to turn the light so it shines on the floor instead of the ceiling?
Many thanks!!
This is what I did:
mylight = lightNode.add(viz.LIGHT)
mylight.position(0,2,5)
mylight.direction(0,1,0)
Can anyone tell me how to turn the light so it shines on the floor instead of the ceiling?
Many thanks!!