Jump to content
  • Advertisement

Archived

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

Monder

OpenGL Lighting in OpenGL Games

This topic is 5658 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 know how opengl does it''s lighting. But I don''t see any games using this because it only supports 8 lights or something. So how do OGL games do their lighting? The Quake engine uses lightmapping but what about dynamic lights and the Doom 3 engine has some kind of lighting model that does everything(i.e. shadows reflections etc) all dynamically or so I''ve heard. So how do these engines perform their lighting stuff?

Share this post


Link to post
Share on other sites
Advertisement
2 things to remember.

1) Lighting and Shadowing are 2 diffrent things.

2) Doom 3 uses TONS of shaders and stencil shadows. All of which require lots of code and implementation. So it''s best not to use that as a standard to judge your engine by.

Share this post


Link to post
Share on other sites
Yeah I know lighting and shadows are different thing. I''m also defintely not going to judge my first 3d engine against doom 3 I was just wondering how they did their lighting.

Thanks for the help guys

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!