Hi all,
I've struck a bit of a lighting puzzle which I've "kind of" worked
around.. but not properly.. I'm sure there is a much better way of
doing this but I'm at a dead end and run out of ideas.. If anybody
could tell me the "right" way of solving this I would be much
appreciated.
Scenario:
I have a ball which will need to be lit from around 20 different light
sources onto conentrated "spots" on the ball. These 20 lights will all
be moving.
Now OpenGL only has a limited number of lights so I'm reusing the same
light but repositioning it every time. Of course to get the light
effect on the ball I also have to redraw the ball.
This creates 2 problems.
1) It seems very ineffecient as spheres are complex things to draw.
2) My ball was fairly transparent.. however if I draw it over and over
again then it becomes more and more solid.
So... how do I light my transparent ball from lots of different
directions without making it appear solid or really hitting the draw
speed?
Many Thanks
Mark