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 www.polarisoft.n3.net
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement