Lighting in OpenGL
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
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
HHSDrum@yahoo.com
![](http://www.geocities.com/him_voxdei/image/angryfire.gif)
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
-B4
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
Popular Topics
Advertisement
Recommended Tutorials
Advertisement