Jump to content
  • Advertisement

Archived

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

RELOAD

Exciting game needs more then 8 lights.

This topic is 6180 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

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
Advertisement
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
    yeah man. just switch off lights in the scene that wont affect the model. More than 8 lights affecting the same model looks so messy that it''s not funny

    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
    Check my reply to this post:
    http://www.gamedev.net/community/forums/topic.asp?topic_id=67332

    And next time please search the forums before posting.

    Share this post


    Link to post
    Share on other sites

    • Advertisement
    ×

    Important Information

    By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

    We are the game development community.

    Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

    Sign me up!