• Advertisement

Archived

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

Lighting in OpenGL

This topic is 6246 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 was wondering if anyone could post some sample code that demonstrated a texture mapped triangle with lighting enabled. I have read many tutorials online but for some reason I can''t do it correctly. Thanks. -B4

Share this post


Link to post
Share on other sites
Advertisement
I think I may have what you''re looking for. it''s a spotlight demo though, but most things apply. be sure you have normals and materials set and all of those types of things. I''ll just e-mail it to you since my server is fucked.

HHSDrum@yahoo.com www.polarisoft.n3.net

Share this post


Link to post
Share on other sites
Sorry, I haven''t used that email account in a long time and it was deactivated. Could you please send it to alexey@nycap.rr.com ? Thanks.

-B4

Share this post


Link to post
Share on other sites

  • Advertisement