Sign in to follow this  
Followers 0
aravind

Usage of Lights in directx .?

2 posts in this topic

can anyone just explain What is the usage of Specular, Ambient, and Diffuse properties of light.. if u can please give some examples..

0

Share this post


Link to post
Share on other sites

Diffuse - specifies how much/how model will be lit when the model receives light. (how much light should it reflect and absorb)

Ambient - specifies how much/how model will be lit when the model does not receive light. (Indirect light, the model would be lit by a uniform colour all over.)

Specular - when light strikes a smooth surface, they generally reflect in a sharp direction. This forms a specular highlight and it is viewport dependent. I think it is harder for me to explain you this because i suck at explanation. I think you should refer to a book, I'd suggest Frank D. Luna's DX11 book.

Edited by newtechnology
0

Share this post


Link to post
Share on other sites

I googled "directx 9 lighting" and got 290,000 hits. You might try that. smile.png

 

Among those 290,000 references, this link provides a nice description of lighting.

0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0