Lighting in OpenGL

Started by
2 comments, last by B4 23 years, 3 months ago
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
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
My HomepageSome shoot to kill, others shoot to mame. I say clear the chamber and let the lord decide. - Reno 911
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
you bet.

HHSDrum@yahoo.com www.polarisoft.n3.net
My HomepageSome shoot to kill, others shoot to mame. I say clear the chamber and let the lord decide. - Reno 911

This topic is closed to new replies.

Advertisement