EraZer
03-16-2004, 01:01 PM
Hi there, it's me again.
As always, I've got problems. Today my problem is lighting.
Why are polygons getting dark when I am closing light-source to them? I think it is caused by method of calculating color, but how to make it works correctly?
I've got another problem too. But maybe it is the same as above. Distant objects are not lighted, even if I don't use attenuation and light-source is placed correctly.
Thanks for all answers. Maybe you know some interesting pages about lighting (other than NeHe Page).
As always, I've got problems. Today my problem is lighting.
Why are polygons getting dark when I am closing light-source to them? I think it is caused by method of calculating color, but how to make it works correctly?
I've got another problem too. But maybe it is the same as above. Distant objects are not lighted, even if I don't use attenuation and light-source is placed correctly.
Thanks for all answers. Maybe you know some interesting pages about lighting (other than NeHe Page).