Reputation: 3417
Is it fair to say that the only difference between directional lights and point lights is that directional lights have no attenuation factor? Also, do most games use deferred shading? Should I implement deferred shading in my application if I use say less than 10 lights overall?
Upvotes: 0
Views: 257
Reputation: 2455
Is it fair to say that the only difference between directional lights and point lights is that directional lights have no attenuation factor?
If you model directional lights as point lights which are indefinitely far away, the attenuation is indeed the only difference.
Also, do most games use deferred shading?
Yes, most games do use deferred shading.
Should I implement deferred shading in my application if I use say less than 10 lights overall?
My personal suggestion is to use deferred shading if you have 2 or more light sources.
Upvotes: 2