Lights again

Started by
40 comments, last by Dtag 21 years, 2 months ago
I don''t know really about games like counter-strike. Maybe they compute normals again every frame. If their math engine is very well optimized, it''s still something affordable (even though I''d still rather do anything to use interpolation on pre-computed frames if possible).

About quadratic_attenuation and linear_attenuation, I think it has to do with the distance, obviously ! I mean, the light seems very "far" from the models, and because quadratic- and linear-attenuation are distance-dependant, you should try setting very low attenuation coefficients. Something like 0.00001 or whatever small value.
Advertisement
Hmmm you are right really low values seem to work. I need to play around some more to see if it works properly now

This topic is closed to new replies.

Advertisement