Jump to content
  • Advertisement
Sign in to follow this  
kslam

Point, Infinite light question

This topic is 5421 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi, I got some questions as followes : 1) Intensity of Infinite light : I(d) = I0 * cl i)What is I0 and cl ? ii)After get the I(d), then I(d) * Material_Diffuse = Final color or I(d) * Material_Specular = Final color, is it ? iii) How to get the Final color, I mean start from Material_light go through ambient, diffuse, specular, emission and to Infinite, point, spot Light ? iii)Then, where should we put in the Diffuse_light and Specular_light to the equation ? iv) How the (Infinite, point, spot) light link with (ambient, diffuse, specular, emission) light, such as in equation form? 2) Intensity of point light : I(d) = I0 * cl / Kc + Kl * d + Kq * d2 i)What is Kc, Kl and Kq ? And what is the different of them ? ii) What is the value range of them(is it 0.1 - 1.0)? iii) If I, put value 1 to Kc, the Kl and Kq should put 0, is it ? Or Kc, Kl, Kq can put in a value such as 1, at the same time (kc=1, kl = 1, kq=1) ?

Share this post


Link to post
Share on other sites
Advertisement
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!