Archived

This topic is now archived and is closed to further replies.

RELOAD

Exciting game needs more then 8 lights.

Recommended Posts

I am more or less creating a Jedi game that is going to use high specular lighting to simulate a glowing saber but also had the idea of placing a moving light inside the hilt of the saber using attenuation to simulate the glow. How would i do this if opengl only allows for 8 lights in a scene. Maybe just use 1 light per room with high specular attributes? Please reply thank you. WHO DID YOU EXPECT...? MAYBE SATIN!!!

Share this post


Link to post
Share on other sites
quote:
Original post by RELOAD
How would i do this if opengl only allows for 8 lights in a scene. Maybe just use 1 light per room with high specular attributes?

OpenGL allows more, it''s just that your hardware isn''t required to support more. My advise is you use either:
  • A custom lighting system.
  • Only use the 8 (or less) lights closest to each object when rendering it, you''ll probably not even see the difference.

    [Resist Windows XP''s Invasive Production Activation Technology!]

    Share this post


    Link to post
    Share on other sites
    quote:
    Original post by djdynamic
    Use lightmaps!!!


    Lightmaps isn''t great when you need dynamic lightning... it''s good for fixed lights.

    RELOAD: Maybe you should build your own light system. The system should check for distance ( if the light is too far don''t render it ), collision ( if the light is behind a wall, again don''t render ) etc... You might find it easy to link this system with an BSP system...

    Just giving my 2 cents...
    Have a good day

    _____________________
    Yoshy - From The Bobs

    Share this post


    Link to post
    Share on other sites