Skip to main content
gamedev.net
🔒 Locked

glLight issues

Started by Galileo430 Jan 12, 2003 at 11:43 AM 1 replies 500+ views
Original Post
Galileo430
Galileo430
I''ve read NEHE''s explanation of glLights. I just have some questions about them which I can''t seem to get answered.. If I set a lights position to (x, y, z, 0) no matter where the light is I get the same lighting.. If I set a lights position to (x, y, z, 1) all I get is a black model. I don''t get it.. What confuses me more is if I disable lighting.. disable the light and reset it''s position and reenable the light and lighting. it doesn''t appear to effect the light either. I''m stumped. Thanks in advance, Steven
------------------------------------------------------------I wrote the best video game ever, then I woke up...
Galileo430
Galileo430
Yeah,

I have a cel shading object that uses the same sets of normals. It works.
------------------------------------------------------------I wrote the best video game ever, then I woke up...

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.